Home > decentraland-ecs > Frustum
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Reprasents a camera frustum
Method | Access Modifier | Returns | Description |
---|---|---|---|
GetBottomPlaneToRef(transform, frustumPlane) |
void |
Gets the bottom frustum plane transformed by the transform matrix | |
GetFarPlaneToRef(transform, frustumPlane) |
void |
Gets the far frustum plane transformed by the transform matrix | |
GetLeftPlaneToRef(transform, frustumPlane) |
void |
Gets the left frustum plane transformed by the transform matrix | |
GetNearPlaneToRef(transform, frustumPlane) |
void |
Gets the near frustum plane transformed by the transform matrix | |
GetPlanes(transform) |
Plane[] |
Gets the planes representing the frustum | |
GetPlanesToRef(transform, frustumPlanes) |
void |
Sets the given array "frustumPlanes" with the 6 Frustum planes computed by the given transformation matrix. | |
GetRightPlaneToRef(transform, frustumPlane) |
void |
Gets the right frustum plane transformed by the transform matrix | |
GetTopPlaneToRef(transform, frustumPlane) |
void |
Gets the top frustum plane transformed by the transform matrix |