Class CollidableGizmoScript
Toggles visualization gizmos for all CollidableComponent instances in the current scene when a specified key is pressed.
[Display("Collidable Gizmo (Bepu)", null)]
[ComponentCategory("Physics")]
public class CollidableGizmoScript : SyncScript, IIdentifiable, ICollectorHolder
- Inheritance
-
CollidableGizmoScript
- Implements
- Inherited Members
- Extension Methods
Properties
Color
Gets or sets an optional emissive color applied to created gizmos. When null, the default material color is used.
public Color4? Color { get; set; }
Property Value
Key
Gets or sets the key used to toggle collidable gizmos on and off. Default: P.
public Keys Key { get; set; }
Property Value
SizeFactor
Gets or sets the size multiplier applied to created gizmos. Defaults to 1.0.
public float SizeFactor { get; set; }
Property Value
Visible
Gets a value indicating whether gizmos are currently active in the scene.
public bool Visible { get; set; }
Property Value
Methods
Start()
public override void Start()
Update()
public override void Update()