C# Класс BEPUphysics.Constraints.Collision.ContactManifoldConstraint

Superclass of collision constraints that include multiple contact subconstraints.
Наследование: BEPUphysics.Constraints.SolverGroups.SolverGroup
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
entityA Entity
entityB Entity
pair BEPUphysics.NarrowPhaseSystems.Pairs.CollidablePairHandler

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
CleanUpReferences ( ) : void
CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void
OnInvolvedEntitiesChanged ( ) : void

Описание методов

AddContact() публичный абстрактный Метод

Adds a contact to be managed by the constraint.
public abstract AddContact ( Contact contact ) : void
contact BEPUphysics.CollisionTests.Contact Contact to add.
Результат void

CleanUp() публичный абстрактный Метод

Cleans up the constraint.
public abstract CleanUp ( ) : void
Результат void

CleanUpReferences() защищенный Метод

protected CleanUpReferences ( ) : void
Результат void

CollectInvolvedEntities() защищенный Метод

protected CollectInvolvedEntities ( RawList outputInvolvedEntities ) : void
outputInvolvedEntities RawList
Результат void

Initialize() публичный Метод

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.
Результат void

OnInvolvedEntitiesChanged() защищенный Метод

protected OnInvolvedEntitiesChanged ( ) : void
Результат void

OnRemovalFromSolver() публичный Метод

Called when the updateable is removed from its solver.
public OnRemovalFromSolver ( Solver oldSolver ) : void
oldSolver Solver Solver from which the updateable was removed.
Результат void

RemoveContact() публичный абстрактный Метод

Removes a contact from the constraint.
public abstract RemoveContact ( Contact contact ) : void
contact BEPUphysics.CollisionTests.Contact Contact to remove.
Результат void

UpdateMaterialProperties() публичный Метод

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.
Результат void

UpdateSolverActivity() публичный Метод

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
Результат void

Описание свойств

entityA защищенное свойство

protected Entity entityA
Результат Entity

entityB защищенное свойство

protected Entity entityB
Результат Entity

pair защищенное свойство

protected CollidablePairHandler,BEPUphysics.NarrowPhaseSystems.Pairs pair
Результат BEPUphysics.NarrowPhaseSystems.Pairs.CollidablePairHandler