Default implementation of the IFrustum interface.
class
|
Frustum
|
implements
|
IFrustum
|
||
base of
|
ViewFrustum
|
The number of frustum planes.
public
property
|
PlaneCount
{
get
}
|
||
type
|
int32
|
||
value
|
|
The number of frustum planes. | |
implements
|
IFrustum.PlaneCount
|
Remarks:
If a frustum has a plane count of zero, it contains all space.
Creates a new frustum.
public
constructor
|
Frustum
(int32 planeCount)
|
||
params
|
planeCount
|
[0..31]
|
The number of frustum planes. |
Returns the index-th frustum plane.
public
method
|
PlaneAt
(int32 index)
|
||
type
|
Plane
|
||
params
|
index
|
[0..PlaneCount-1]
|
The frustum plane index. |
returns
|
The frustum plane. | ||
implements
|
IFrustum.PlaneAt
|
Sets the index-th frustum plane.
public
method
|
PlaneAt
(int32 index,
Plane plane)
|
||
params
|
index
|
[0..PlaneCount-1]
|
The frustum plane index. |
plane
|
The frustum plane. |
Transforms the planes of this frustum using Transform.
public
method
|
Transform
(Mat4D transform)
|
||
params
|
transform
|
The transformation matrix. |
Translates the planes of this frustum using Translate
public
method
|
Translate
(Vec3D offset)
|
||
params
|
offset
|
The translation offset. |