The Frustum struct in the Sandbox
namespace represents a geometric frustum, which is a portion of a 3D space defined by six planes. This is commonly used in graphics programming to represent the visible area of a camera.
The Frustum struct in the Sandbox
namespace represents a geometric frustum, which is a portion of a 3D space defined by six planes. This is commonly used in graphics programming to represent the visible area of a camera.
Member Name | Summary |
---|---|
FromCorners | Creates a frustum from four corner rays and near and far distances. |
Member Name | Summary |
---|---|
GetCorner | Gets the corner point of the frustum at the specified index. |
GetBBox | Returns the axis-aligned bounding box (AABB) of this frustum. |
IsInside(Vector3&) | Checks if a point is inside the frustum. |
IsInside(BBox&, bool) | Checks if a bounding box is inside the frustum, with an option to check for partial inclusion. |
RightPlane | Right plane of the frustum, pointing inwards. |
LeftPlane | Left plane of the frustum, pointing inwards. |
TopPlane | Top plane of the frustum, pointing inwards. |
BottomPlane | Bottom plane of the frustum, pointing inwards. |
NearPlane | Near plane of the frustum, pointing inwards. |
FarPlane | Far plane of the frustum, pointing inwards. |