struct Frustum

in global :: Sandbox

Represents a frustum.


public Plane RightPlane

Right plane of the frustum, pointing inwards.

public Plane LeftPlane

Left plane of the frustum, pointing inwards.

public Plane TopPlane

Top plane of the frustum, pointing inwards.

public Plane BottomPlane

Bottom plane of the frustum, pointing inwards.

public Plane NearPlane

Near plane of the frustum, pointing inwards.

public Plane FarPlane

Far plane of the frustum, pointing inwards.

public Nullable<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.

public bool IsInside( ref Vector3 point )

Returns whether the given point is inside this frustum.

public bool IsInside( ref BBox box, bool partially = False )

Returns whether given AABB is inside this frustum.

  • box The AABB to test.
  • partially Whether test for partial intersection, or complete encompassing of the AABB within this frustum.

public static Frustum FromCorners( ref Ray tl, ref Ray tr, ref Ray br, ref Ray bl, float near, float far )

Create a frustum from four corner rays. These rays commonly come from SceneCamera.GetRay.

public bool Equals( object obj )

😔 No documentation found.

public static bool op_Equality( Frustum left, Frustum right )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public BBox GetBBox( )

😔 No documentation found.

public static bool op_Inequality( Frustum left, Frustum right )

😔 No documentation found.

public bool Equals( Frustum o )

😔 No documentation found.