API ReferenceSandbox
public sealed struct Sandbox.Frustum
Represents a frustum.
Related Guides
Broader workflow and conceptual references connected to this API.
Light
If you want to access lighting information directly you can use this.
Network Visibility
Network Visibility controls whether a networked object should be visible for a specific player (Connection). Visibility determines whether the object receives ongoing network updates — such as Sync Vars and Transform updates — for that client.
Constructors
Showing 1 constructors
No results match this filter.
Methods
Showing 7 methods
public static Sandbox.Frustum FromCorners(Ray tl, Ray tr, Ray br, Ray bl, float near, float far)
Create a frustum from four corner rays. These rays commonly come from SceneCamera.GetRay.
public BBox GetBBox()
Returns the AABB of this frustum.
public System.Nullable`1<Vector3> GetCorner(int i)
Returns the corner point of one of the 8 corners. This may return null if i is > 7 or the frustum is invalid.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.Frustum |