C# 클래스 BEPUphysics.NarrowPhaseSystems.Pairs.GroupPairHandler

Superclass of pairs which manage multiple sub-collidable pairs.
상속: CollidablePairHandler, IPairHandlerParent
파일 보기 프로젝트 열기: Indiefreaks/igf

공개 메소드들

메소드 설명
CleanUp ( ) : void

Cleans up the pair handler.

ClearContacts ( ) : void

Clears the pair's contacts.

Initialize ( BroadPhaseEntry entryA, BroadPhaseEntry entryB ) : void

Initializes the pair handler.

UpdateCollision ( float dt ) : void

Updates the pair handler.

UpdateMaterialProperties ( InteractionProperties properties ) : void

Updates the material interaction properties of the pair handler's constraint.

UpdateMaterialProperties ( BEPUphysics.Materials.Material a, BEPUphysics.Materials.Material b ) : void

Forces an update of the pair's material properties.

UpdateTimeOfImpact ( Collidable requester, float dt ) : void

Updates the time of impact for the pair.

보호된 메소드들

메소드 설명
GetContactInformation ( int index, ContactInformation &info ) : void
GroupPairHandler ( ) : System

Constructs a new compound-convex pair handler.

TryToAdd ( Collidable a, Collidable b ) : void
TryToAdd ( Collidable a, Collidable b, BEPUphysics.Materials.Material materialA ) : void
TryToAdd ( Collidable a, Collidable b, BEPUphysics.Materials.Material materialA, BEPUphysics.Materials.Material materialB ) : void
UpdateContacts ( float dt ) : void

Updates the pair handler's contacts.

UpdateContainedPairs ( ) : void

비공개 메소드들

메소드 설명
IPairHandlerParent ( Contact contact ) : void
IPairHandlerParent ( EntitySolverUpdateable addedItem ) : void

메소드 상세

CleanUp() 공개 메소드

Cleans up the pair handler.
public CleanUp ( ) : void
리턴 void

ClearContacts() 공개 메소드

Clears the pair's contacts.
public ClearContacts ( ) : void
리턴 void

GetContactInformation() 보호된 메소드

protected GetContactInformation ( int index, ContactInformation &info ) : void
index int
info ContactInformation
리턴 void

GroupPairHandler() 보호된 메소드

Constructs a new compound-convex pair handler.
protected GroupPairHandler ( ) : System
리턴 System

Initialize() 공개 메소드

Initializes the pair handler.
public Initialize ( BroadPhaseEntry entryA, BroadPhaseEntry entryB ) : void
entryA BEPUphysics.BroadPhaseEntries.BroadPhaseEntry First entry in the pair.
entryB BEPUphysics.BroadPhaseEntries.BroadPhaseEntry Second entry in the pair.
리턴 void

TryToAdd() 보호된 메소드

protected TryToAdd ( Collidable a, Collidable b ) : void
a BEPUphysics.BroadPhaseEntries.Collidable
b BEPUphysics.BroadPhaseEntries.Collidable
리턴 void

TryToAdd() 보호된 메소드

protected TryToAdd ( Collidable a, Collidable b, BEPUphysics.Materials.Material materialA ) : void
a BEPUphysics.BroadPhaseEntries.Collidable
b BEPUphysics.BroadPhaseEntries.Collidable
materialA BEPUphysics.Materials.Material
리턴 void

TryToAdd() 보호된 메소드

protected TryToAdd ( Collidable a, Collidable b, BEPUphysics.Materials.Material materialA, BEPUphysics.Materials.Material materialB ) : void
a BEPUphysics.BroadPhaseEntries.Collidable
b BEPUphysics.BroadPhaseEntries.Collidable
materialA BEPUphysics.Materials.Material
materialB BEPUphysics.Materials.Material
리턴 void

UpdateCollision() 공개 메소드

Updates the pair handler.
public UpdateCollision ( float dt ) : void
dt float Timestep duration.
리턴 void

UpdateContacts() 보호된 메소드

Updates the pair handler's contacts.
protected UpdateContacts ( float dt ) : void
dt float Timestep duration.
리턴 void

UpdateContainedPairs() 보호된 추상적인 메소드

protected abstract UpdateContainedPairs ( ) : void
리턴 void

UpdateMaterialProperties() 공개 메소드

Updates the material interaction properties of the pair handler's constraint.
public UpdateMaterialProperties ( InteractionProperties properties ) : void
properties BEPUphysics.Materials.InteractionProperties Properties to use.
리턴 void

UpdateMaterialProperties() 공개 메소드

Forces an update of the pair's material properties.
public UpdateMaterialProperties ( BEPUphysics.Materials.Material a, BEPUphysics.Materials.Material b ) : void
a BEPUphysics.Materials.Material Material of the first member of the pair.
b BEPUphysics.Materials.Material Material of the second member of the pair.
리턴 void

UpdateTimeOfImpact() 공개 메소드

Updates the time of impact for the pair.
public UpdateTimeOfImpact ( Collidable requester, float dt ) : void
requester BEPUphysics.BroadPhaseEntries.Collidable Collidable requesting the update.
dt float Timestep duration.
리턴 void