Frustum
A frustum.
Constructor Summary
Public Constructor | ||
public |
Constructs a new frustum. |
Method Summary
Public Methods | ||
public |
Clones this frustum. |
|
public |
containsPoint(point: Vector3): Boolean Checks if this frustum contains the given point. |
|
public |
Copies a given frustum. |
|
public |
intersectsBox(box: Box3): Boolean Checks if this frustum intersects with the given sphere. |
|
public |
intersectsSphere(sphere: Sphere): Boolean Checks if this frustum intersects with the given sphere. |
|
public |
Sets the planes of this frustum. |
|
public |
setFromMatrix(m: Matrix4): Frustum this method was deprecated. Use setFromPerspectiveMatrix instead.
Sets this frustum based on a given projection matrix. |
|
public |
Sets this frustum based on a given projection matrix. |
Public Constructors
Public Methods
public containsPoint(point: Vector3): Boolean source
Checks if this frustum contains the given point.
Params:
Name | Type | Attribute | Description |
point | Vector3 | A point. |
public copy(frustum: Frustum): Frustum source
Copies a given frustum.
Params:
Name | Type | Attribute | Description |
frustum | Frustum | A frustum. |
public intersectsBox(box: Box3): Boolean source
Checks if this frustum intersects with the given sphere.
Params:
Name | Type | Attribute | Description |
box | Box3 | A box. |
public intersectsSphere(sphere: Sphere): Boolean source
Checks if this frustum intersects with the given sphere.
Params:
Name | Type | Attribute | Description |
sphere | Sphere | A sphere. |
public set(p0: Plane, p1: Plane, p2: Plane, p3: Plane, p4: Plane, p5: Plane): Frustum source
Sets the planes of this frustum.