class SceneCullingBox

in global :: Sandbox

A box which can be used to explicitly control scene visibility. There are two modes: 1. Cull inside, hide any objects fully inside the box (excluder) 2. Cull outside, hide any objects not intersecting any cull boxes marked cull outside (includer)


public bool IsValid { get; }

Is this culling box valid, exists inside a scene world.

public SceneWorld World { get; }

The scene world this culling box belongs to.

public Transform Transform { get; set; }

Position and rotation of this box, scale will scale the box size

public Vector3 Size { get; set; }

Size of this box, transform scale will scale this size

public SceneCullingBox.CullMode Mode { get; set; }

Cull mode, either inside or outside

public SceneCullingBox( SceneWorld world, Transform transform, Vector3 size, SceneCullingBox.CullMode mode )

Create a scene culling box. Each scene world can have a list of boxes which can be used to explicitly cull objects inside or outside the boxes.

public void Delete( )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.