C# 클래스 BEPUphysics.Constraints.Collision.ContactManifoldConstraint

Superclass of collision constraints that include multiple contact subconstraints.
상속: BEPUphysics.Constraints.SolverGroups.SolverGroup
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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