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

Superclass of pairs between collidables that generate contact points.
상속: BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
previousContactCount int
suppressEvents bool
timeOfImpact float

공개 메소드들

메소드 설명
CleanUp ( ) : void

Cleans up the pair handler.

ClearContacts ( ) : void

Forces the pair handler to clean out its contacts.

Initialize ( BroadPhaseEntry entryA, BroadPhaseEntry entryB ) : void

Initializes the pair handler.

UpdateMaterialProperties ( ) : void

Forces an update of the pair's material properties. Uses default choices (such as the owning entities' materials).

UpdateMaterialProperties ( InteractionProperties properties ) : void

Forces an update of the pair's material properties.

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

Forces an update of the pair's material properties.

UpdateTimeOfImpact ( Collidable requester, float dt ) : void

Updates the time of impact for the pair.

보호된 메소드들

메소드 설명
CollidablePairHandler ( ) : BEPUphysics.BroadPhaseEntries
GetContactInformation ( int index, ContactInformation &info ) : void
OnAddedToNarrowPhase ( ) : void

Called when the pair handler is added to the narrow phase.

OnContactAdded ( Contact contact ) : void
OnContactRemoved ( Contact contact ) : void

메소드 상세

CleanUp() 공개 메소드

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

ClearContacts() 공개 메소드

Forces the pair handler to clean out its contacts.
public ClearContacts ( ) : void
리턴 void

CollidablePairHandler() 보호된 메소드

protected CollidablePairHandler ( ) : BEPUphysics.BroadPhaseEntries
리턴 BEPUphysics.BroadPhaseEntries

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

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

Initialize() 공개 메소드

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

OnAddedToNarrowPhase() 보호된 메소드

Called when the pair handler is added to the narrow phase.
protected OnAddedToNarrowPhase ( ) : void
리턴 void

OnContactAdded() 보호된 메소드

protected OnContactAdded ( Contact contact ) : void
contact BEPUphysics.CollisionTests.Contact
리턴 void

OnContactRemoved() 보호된 메소드

protected OnContactRemoved ( Contact contact ) : void
contact BEPUphysics.CollisionTests.Contact
리턴 void

UpdateMaterialProperties() 공개 메소드

Forces an update of the pair's material properties. Uses default choices (such as the owning entities' materials).
public UpdateMaterialProperties ( ) : void
리턴 void

UpdateMaterialProperties() 공개 추상적인 메소드

Forces an update of the pair's material properties.
public abstract UpdateMaterialProperties ( InteractionProperties properties ) : void
properties BEPUphysics.Materials.InteractionProperties Properties to use in the collision.
리턴 void

UpdateMaterialProperties() 공개 추상적인 메소드

Forces an update of the pair's material properties.
public abstract UpdateMaterialProperties ( BEPUphysics.Materials.Material materialA, BEPUphysics.Materials.Material materialB ) : void
materialA BEPUphysics.Materials.Material First material to use.
materialB BEPUphysics.Materials.Material Second material to use.
리턴 void

UpdateTimeOfImpact() 공개 추상적인 메소드

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

프로퍼티 상세

previousContactCount 보호되어 있는 프로퍼티

protected int previousContactCount
리턴 int

suppressEvents 보호되어 있는 프로퍼티

protected bool suppressEvents
리턴 bool

timeOfImpact 보호되어 있는 프로퍼티

protected float timeOfImpact
리턴 float