# Sandbox.Frustum

Represents a frustum.

- Kind: struct
- Namespace: `Sandbox`
- Assembly: `Sandbox.System`
- Modifiers: sealed

## Constructors

- [`Frustum`](/api/Sandbox.Frustum/.ctor): Creates a frustum from 6 planes.

## Fields

- [`BottomPlane`](/api/Sandbox.Frustum/BottomPlane): Bottom plane of the frustum, pointing inwards.
- [`FarPlane`](/api/Sandbox.Frustum/FarPlane): Far plane of the frustum, pointing inwards.
- [`LeftPlane`](/api/Sandbox.Frustum/LeftPlane): Left plane of the frustum, pointing inwards.
- [`NearPlane`](/api/Sandbox.Frustum/NearPlane): Near plane of the frustum, pointing inwards.
- [`RightPlane`](/api/Sandbox.Frustum/RightPlane): Right plane of the frustum, pointing inwards.
- [`TopPlane`](/api/Sandbox.Frustum/TopPlane): Top plane of the frustum, pointing inwards.

## Methods

- [`FromCorners`](/api/Sandbox.Frustum/FromCorners): Create a frustum from four corner rays. These rays commonly come from SceneCamera.GetRay.
- [`GetBBox`](/api/Sandbox.Frustum/GetBBox): Returns the AABB of this frustum.
- [`GetCorner`](/api/Sandbox.Frustum/GetCorner): Returns the corner point of one of the 8 corners. This may return null if i is > 7 or the frustum is invalid.
- [`IsInside`](/api/Sandbox.Frustum/IsInside): Returns whether the given point is inside this frustum.
- [`Scaled`](/api/Sandbox.Frustum/Scaled): Returns a frustum scaled around its view center.
