struct SceneVolume
in global :: Sandbox . Volumes
A generic way to represent volumes in a scene. If we all end up using this instead of defining our own version in everything, we can improve this and improve everything at the same time.
public void DrawGizmos( bool withControls )
Draws an editable sphere/box gizmo, for adjusting the volume
public bool Test( ref Transform volumeTransform, ref Vector3 position )
Is this point within the volume
public bool Test( ref Transform volumeTransform, ref BBox worldSphere )
Is this point within the volume
public bool Test( ref Transform volumeTransform, ref Sphere worldSphere )
Is this point within the volume
public bool Test( ref Vector3 position )
Is this point within the (local space) volume
public float GetVolume( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public SceneVolume( )
😔 No documentation found.
public SceneVolume.VolumeTypes Type
😔 No documentation found.
public Sphere Sphere
😔 No documentation found.
public BBox Box
😔 No documentation found.