# new Frustum()
- Source:
Members
# boundingBox :clay.BoundingBox
- Source:
Bounding box of frustum
Type:
# planes :Array.<clay.Plane>
- Source:
Eight planes to enclose the frustum
Type:
- Array.<clay.Plane>
# vertices :Array.<Float32Array>
- Source:
Eight vertices of frustum
Type:
- Array.<Float32Array>
Methods
# getTransformedBoundingBox() → {clay.BoundingBox}
- Source:
Apply a affine transform matrix and set to the given bounding box
Parameters:
Type | Description |
---|---|
clay.BoundingBox | |
clay.Matrix4 |
Returns:
- Type
- clay.BoundingBox
# setFromProjection(projectionMatrix)
- Source:
Set frustum from a projection matrix
Parameters:
Name | Type | Description |
---|---|---|
projectionMatrix |
clay.Matrix4 |