Frustum
Frustums are used to determine what is inside the camera's field of view. They help speed up the rendering process. Objects which lie outside a camera's frustum can safely be excluded from rendering.
This class is mainly intended for use internally by a renderer.
Frustums are mutable and not thread-safe. Use each instance from one thread only.
The constructor stores the given Plane instances by reference.
There is no intersectsObject or intersectsSprite. Test the object's bounding sphere or box with intersectsSphere or intersectsBox instead.
Parameters
The first plane that encloses the frustum.
The second plane that encloses the frustum.
The third plane that encloses the frustum.
The fourth plane that encloses the frustum.
The fifth plane that encloses the frustum.
The sixth plane that encloses the frustum.
Constructors
Properties
Functions
Returns true if the given point lies within the frustum.
Returns true if the given bounding box is intersecting this frustum.
Returns true if the given bounding sphere is intersecting this frustum.
Sets the frustum planes from the given projection matrix.