C# Class BEPUphysics.Constraints.Collision.ContactManifoldConstraint

Superclass of collision constraints that include multiple contact subconstraints.
Inheritance: BEPUphysics.Constraints.SolverGroups.SolverGroup
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Protected Properties

Свойство Type Description
entityA Entity
entityB Entity
pair BEPUphysics.NarrowPhaseSystems.Pairs.CollidablePairHandler

Méthodes publiques

Méthode Description
AddContact ( Contact contact ) : void

Adds a contact to be managed by the constraint.

CleanUp ( ) : void

Cleans up the constraint.

Initialize ( Entity a, Entity b, CollidablePairHandler newPair ) : void

Initializes the constraint.

OnRemovalFromSolver ( Solver oldSolver ) : void

Called when the updateable is removed from its solver.

RemoveContact ( Contact contact ) : void

Removes a contact from the constraint.

UpdateMaterialProperties ( BEPUphysics.Materials.Material materialA, BEPUphysics.Materials.Material materialB ) : void

Updates the material properties associated with the constraint.

UpdateSolverActivity ( ) : void

Sets the activity state of the constraint based on the activity state of its connections. Called automatically by the space owning a constaint. If a constraint is a sub-constraint that hasn't been directly added to the space, this may need to be called alongside the preStep from within the parent constraint.

Méthodes protégées

Méthode Description
CleanUpReferences ( ) : void
CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void
OnInvolvedEntitiesChanged ( ) : void

Method Details

AddContact() public abstract méthode

Adds a contact to be managed by the constraint.
public abstract AddContact ( Contact contact ) : void
contact BEPUphysics.CollisionTests.Contact Contact to add.
Résultat void

CleanUp() public abstract méthode

Cleans up the constraint.
public abstract CleanUp ( ) : void
Résultat void

CleanUpReferences() protected méthode

protected CleanUpReferences ( ) : void
Résultat void

CollectInvolvedEntities() protected méthode

protected CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void
outputInvolvedEntities RawList
Résultat void

Initialize() public méthode

Initializes the constraint.
public Initialize ( Entity a, Entity b, CollidablePairHandler newPair ) : void
a Entity First entity of the pair.
b Entity Second entity of the pair.
newPair BEPUphysics.NarrowPhaseSystems.Pairs.CollidablePairHandler Pair owning this constraint.
Résultat void

OnInvolvedEntitiesChanged() protected méthode

protected OnInvolvedEntitiesChanged ( ) : void
Résultat void

OnRemovalFromSolver() public méthode

Called when the updateable is removed from its solver.
public OnRemovalFromSolver ( Solver oldSolver ) : void
oldSolver Solver Solver from which the updateable was removed.
Résultat void

RemoveContact() public abstract méthode

Removes a contact from the constraint.
public abstract RemoveContact ( Contact contact ) : void
contact BEPUphysics.CollisionTests.Contact Contact to remove.
Résultat void

UpdateMaterialProperties() public méthode

Updates the material properties associated with the constraint.
public UpdateMaterialProperties ( BEPUphysics.Materials.Material materialA, BEPUphysics.Materials.Material materialB ) : void
materialA BEPUphysics.Materials.Material Material associated with the first entity of the pair.
materialB BEPUphysics.Materials.Material Material associated with the second entity of the pair.
Résultat void

UpdateSolverActivity() public méthode

Sets the activity state of the constraint based on the activity state of its connections. Called automatically by the space owning a constaint. If a constraint is a sub-constraint that hasn't been directly added to the space, this may need to be called alongside the preStep from within the parent constraint.
public UpdateSolverActivity ( ) : void
Résultat void

Property Details

entityA protected_oe property

protected Entity entityA
Résultat Entity

entityB protected_oe property

protected Entity entityB
Résultat Entity

pair protected_oe property

protected CollidablePairHandler,BEPUphysics.NarrowPhaseSystems.Pairs pair
Résultat BEPUphysics.NarrowPhaseSystems.Pairs.CollidablePairHandler