Class CollidableGizmoScript
- Namespace
- Stride.CommunityToolkit.Bepu
- Assembly
- Stride.CommunityToolkit.Bepu.dll
Toggles visualization gizmos for all CollidableComponent instances in the current scene when a specified key is pressed.
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()
Called before the script enters it's update loop.
public override void Start()
Update()
Called every frame.
public override void Update()