struct Frustum

robot_2Generated
code_blocksInput

Description

The Frustum struct in the Sandbox namespace represents a geometric frustum, which is a portion of a solid (normally a cone or pyramid) that lies between two parallel planes cutting it. This struct is used in 3D graphics to define the visible area of a scene.

Members

Static Members

Member NameSummary
FromCornersCreates a frustum from the specified corner rays and near/far distances.

Instance Members

Member NameSummary
GetCornerGets the corner point of the frustum at the specified index.
GetBBoxReturns the axis-aligned bounding box (AABB) of this frustum.
IsInside(Vector3&)Determines if a point is inside the frustum.
IsInside(BBox&, bool)Determines if a bounding box is inside the frustum, with an option to check for partial inclusion.
RightPlaneRight plane of the frustum, pointing inwards.
LeftPlaneLeft plane of the frustum, pointing inwards.
TopPlaneTop plane of the frustum, pointing inwards.
BottomPlaneBottom plane of the frustum, pointing inwards.
NearPlaneNear plane of the frustum, pointing inwards.
FarPlaneFar plane of the frustum, pointing inwards.