Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.8 KB

decentraland-ecs.frustum.md

File metadata and controls

21 lines (15 loc) · 1.8 KB

Home > decentraland-ecs > Frustum

Frustum class

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

Methods

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