Class Frustum
Methods
StaticGet Bottom Plane To Ref
-
Gets the bottom frustum plane transformed by the transform matrix
Parameters
- transform: DeepImmutable<Matrix>
transformation matrix to be applied to the resulting frustum plane
- frustumPlane: Plane
the resulting frustum plane
Returns void
- transform: DeepImmutable<Matrix>
StaticGet Far Plane To Ref
-
Gets the far frustum plane transformed by the transform matrix
Parameters
- transform: DeepImmutable<Matrix>
transformation matrix to be applied to the resulting frustum plane
- frustumPlane: Plane
the resulting frustum plane
Returns void
- transform: DeepImmutable<Matrix>
StaticGet Left Plane To Ref
-
Gets the left frustum plane transformed by the transform matrix
Parameters
- transform: DeepImmutable<Matrix>
transformation matrix to be applied to the resulting frustum plane
- frustumPlane: Plane
the resulting frustum plane
Returns void
- transform: DeepImmutable<Matrix>
StaticGet Near Plane To Ref
-
Gets the near frustum plane transformed by the transform matrix
Parameters
- transform: DeepImmutable<Matrix>
transformation matrix to be applied to the resulting frustum plane
- frustumPlane: Plane
the resulting frustum plane
Returns void
- transform: DeepImmutable<Matrix>
StaticGet Planes
-
Gets the planes representing the frustum
Parameters
- transform: DeepImmutable<Matrix>
matrix to be applied to the returned planes
Returns Plane[]
a new array of 6 Frustum planes computed by the given transformation matrix.
- transform: DeepImmutable<Matrix>
StaticGet Planes To Ref
-
Sets the given array "frustumPlanes" with the 6 Frustum planes computed by the given transformation matrix.
Parameters
- transform: DeepImmutable<Matrix>
transformation matrix to be applied to the resulting frustum planes
- frustumPlanes: Plane[]
the resulting frustum planes
Returns void
- transform: DeepImmutable<Matrix>
StaticGet Right Plane To Ref
-
Gets the right frustum plane transformed by the transform matrix
Parameters
- transform: DeepImmutable<Matrix>
transformation matrix to be applied to the resulting frustum plane
- frustumPlane: Plane
the resulting frustum plane
Returns void
- transform: DeepImmutable<Matrix>
StaticGet Top Plane To Ref
-
Gets the top frustum plane transformed by the transform matrix
Parameters
- transform: DeepImmutable<Matrix>
transformation matrix to be applied to the resulting frustum plane
- frustumPlane: Plane
the resulting frustum plane
Returns void
- transform: DeepImmutable<Matrix>
StaticIs Point In Frustum
-
Tests if a point is located between the frustum planes.
Parameters
- point: Vector3
defines the point to test
- frustumPlanes: DeepImmutableObject<Plane>[]
defines the frustum planes to test
Returns boolean
true if the point is located between the frustum planes
- point: Vector3
Represents a camera frustum