Class CollidableProcessor
- Namespace
- Stride.BepuPhysics.Systems
- Assembly
- Stride.BepuPhysics.dll
public class CollidableProcessor : EntityProcessor<CollidableComponent>
- Inheritance
-
objectCollidableProcessor
- 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
contextRenderContext
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
entityEntityThe entity.
componentCollidableComponentdataCollidableComponentThe 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
entityEntityThe entity.
componentCollidableComponentdataCollidableComponentThe associated data.
OnSystemAdd()
Run when this EntityProcessor is added to an EntityManager.
protected override void OnSystemAdd()