Class CollidableProcessor
- Namespace
- Stride.BepuPhysics.Systems
- Assembly
- Stride.BepuPhysics.dll
public class CollidableProcessor : EntityProcessor<CollidableComponent>
- Inheritance
-
CollidableProcessor
- Inherited Members
Constructors
CollidableProcessor()
public CollidableProcessor()
Fields
OnPostAdd
public Action<CollidableComponent>? OnPostAdd
Field Value
OnPreRemove
public Action<CollidableComponent>? OnPreRemove
Field Value
Properties
BepuConfiguration
public BepuConfiguration BepuConfiguration { get; }
Property Value
Methods
Draw(RenderContext)
Performs work related to this processor.
public override void Draw(RenderContext context)
Parameters
context
RenderContext
OnEntityComponentAdding(Entity, CollidableComponent, CollidableComponent)
Run when a matching entity is added to this entity processor.
protected override void OnEntityComponentAdding(Entity entity, CollidableComponent component, CollidableComponent data)
Parameters
entity
EntityThe entity.
component
CollidableComponentdata
CollidableComponentThe associated data.
OnEntityComponentRemoved(Entity, CollidableComponent, CollidableComponent)
Run when a matching entity is removed from this entity processor.
protected override void OnEntityComponentRemoved(Entity entity, CollidableComponent component, CollidableComponent data)
Parameters
entity
EntityThe entity.
component
CollidableComponentdata
CollidableComponentThe associated data.
OnSystemAdd()
Run when this EntityProcessor is added to an EntityManager.
protected override void OnSystemAdd()