class DebugOverlaySystem

in global :: Sandbox

😔 No documentation found.


public void Box( Vector3 position, Vector3 size, Color color = null, float duration = 0, Transform transform = null, bool overlay = False )

Draw a box

public void Box( BBox box, Color color = null, float duration = 0, Transform transform = null, bool overlay = False )

Draw a box

public void GameObject( GameObject go, Color color = null, float duration = 0, Transform transform = null, bool overlay = False, bool castShadows = True, Material materialOveride = null )

Draw a GameObject in the world

public void Normal( Vector3 position, Vector3 direction, Color color = null, float duration = 0, Transform transform = null, bool overlay = False )

Draw a line

public void Line( Line line, Color color = null, float duration = 0, Transform transform = null, bool overlay = False )

Draw a line

public void Line( Vector3 from, Vector3 to, Color color = null, float duration = 0, Transform transform = null, bool overlay = False )

Draw a line

public void Model( Model model, Color color = null, float duration = 0, Transform transform = null, bool overlay = False, bool castShadows = True, Material materialOveride = null )

Draw model in the world

public void Sphere( Sphere sphere, Color color = null, float duration = 0, Transform transform = null, bool overlay = False )

Draw a sphere

public void Text( Vector3 position, string text, float size = 32, TextFlag flags = Center, Color color = null, float duration = 0, Transform transform = null, bool overlay = False )

Draw text in the world

public void Text( Vector3 position, TextRendering.Scope scope, TextFlag flags = Center, float duration = 0, Transform transform = null, bool overlay = False )

Draw text in the world

public void ScreenText( Vector2 pixelPosition, string text, float size = 14, TextFlag flags = Center, Color color = null, float duration = 0, Transform transform = null )

Draw text on the screen

public void ScreenText( Vector2 pixelPosition, TextRendering.Scope textBlock, TextFlag flags = Center, float duration = 0, Transform transform = null )

Draw text on the screen

public int GetHashCode( )

😔 No documentation found.

public Scene Scene { get; }

😔 No documentation found.

public void Dispose( )

😔 No documentation found.

public Guid Id { get; }

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public void Line( IEnumerable<Vector3> points, Color color = null, float duration = 0, Transform transform = null, bool overlay = False )

😔 No documentation found.

public DebugOverlaySystem( Scene scene )

😔 No documentation found.