Class CollidableGizmo
- Namespace
- Stride.BepuPhysics.Systems
- Assembly
- Stride.BepuPhysics.dll
[GizmoComponent(typeof(CollidableComponent), false)]
public sealed class CollidableGizmo : IEntityGizmo, IGizmo, IDisposable
- Inheritance
-
CollidableGizmo
- Implements
- Extension Methods
Constructors
CollidableGizmo(CollidableComponent)
public CollidableGizmo(CollidableComponent component)
Parameters
component
CollidableComponent
Properties
IsEnabled
Gets or sets the enabled state of the gizmo.
public bool IsEnabled { get; set; }
Property Value
IsSelected
Gets or sets the selected state of the gizmo.
public bool IsSelected { get; set; }
Property Value
SizeFactor
Gets or sets the size scale factor of the gizmo.
public float SizeFactor { get; set; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
HandlesComponentId(OpaqueComponentId, out Entity?)
Used for picking gizmos on mouse down, returns true when that component was created by this gizmo
public bool HandlesComponentId(OpaqueComponentId pickedComponentId, out Entity? selection)
Parameters
pickedComponentId
OpaqueComponentIdselection
Entity
Returns
Initialize(IServiceRegistry, Scene)
Initialize the gizmo.
public void Initialize(IServiceRegistry services, Scene editorScene)
Parameters
services
IServiceRegistryeditorScene
Scene
Update()
Updates the gizmo state.
public void Update()