Class PhysicsConstraintProcessor
public class PhysicsConstraintProcessor : EntityProcessor<PhysicsConstraintComponent>- Inheritance
- 
      objectPhysicsConstraintProcessor
- Inherited Members
Constructors
PhysicsConstraintProcessor()
public PhysicsConstraintProcessor()Methods
OnEntityComponentAdding(Entity, PhysicsConstraintComponent, PhysicsConstraintComponent)
Run when a matching entity is added to this entity processor.
protected override void OnEntityComponentAdding(Entity entity, PhysicsConstraintComponent component, PhysicsConstraintComponent data)Parameters
- entityEntity
- The entity. 
- componentPhysicsConstraintComponent
- dataPhysicsConstraintComponent
- The associated data. 
OnEntityComponentRemoved(Entity, PhysicsConstraintComponent, PhysicsConstraintComponent)
Run when a matching entity is removed from this entity processor.
protected override void OnEntityComponentRemoved(Entity entity, PhysicsConstraintComponent component, PhysicsConstraintComponent data)Parameters
- entityEntity
- The entity. 
- componentPhysicsConstraintComponent
- dataPhysicsConstraintComponent
- The associated data. 
Recreate(PhysicsConstraintComponent, bool)
Recreate the constraint according to the description in the component.
public void Recreate(PhysicsConstraintComponent component, bool skipUninitializedComponents = false)Parameters
- componentPhysicsConstraintComponent
- Constraint component. 
- skipUninitializedComponentsbool
- If - trueand rigidbody internals have not been initialized no exception will be thrown.
Update(GameTime)
Performs work related to this processor.
public override void Update(GameTime time)Parameters
- timeGameTime