Class ConstraintProcessor
- Namespace
- Stride.BepuPhysics.Systems
- Assembly
- Stride.BepuPhysics.dll
public class ConstraintProcessor : EntityProcessor<ConstraintComponentBase>
- Inheritance
-
ConstraintProcessor
- Inherited Members
Constructors
ConstraintProcessor()
public ConstraintProcessor()
Methods
OnEntityComponentAdding(Entity, ConstraintComponentBase, ConstraintComponentBase)
Run when a matching entity is added to this entity processor.
protected override void OnEntityComponentAdding(Entity entity, ConstraintComponentBase component, ConstraintComponentBase data)
Parameters
entity
EntityThe entity.
component
ConstraintComponentBasedata
ConstraintComponentBaseThe associated data.
OnEntityComponentRemoved(Entity, ConstraintComponentBase, ConstraintComponentBase)
Run when a matching entity is removed from this entity processor.
protected override void OnEntityComponentRemoved(Entity entity, ConstraintComponentBase component, ConstraintComponentBase data)
Parameters
entity
EntityThe entity.
component
ConstraintComponentBasedata
ConstraintComponentBaseThe associated data.
OnSystemAdd()
Run when this EntityProcessor is added to an EntityManager.
protected override void OnSystemAdd()