DefaultFrustum

Description

class Tinman.Terrain.Meshing.DefaultFrustum

Derived from

Frustum abstract

Extended by

ViewFrustum sealed

Default implementation of the Frustum class that allow the frustum planes to be specified directly.

Public / Constructors

Default​Frustum


public constructor DefaultFrustum → (1)

planeCount in : int32

[0..31]
The number of frustum planes.

Creates a new frustum.

Public / Methods

Plane​At


public method PlaneAt → (2)

index in : int32

[0..Frustum.PlaneCount-1]
The frustum plane index.

plane in : Plane

The frustum plane.

Sets the index in-th frustum plane.

Transform


public method Transform → (1)

transform in : Mat4D

The transformation matrix.

Transforms the planes of this frustum using Plane.Transform.

Translate


public method Translate → (1)

offset in : Vec3D

The translation offset.

Translates the planes of this frustum using Plane.Translate