C# Класс BEPUphysics.NarrowPhaseSystems.Pairs.CollidablePairHandler

Superclass of pairs between collidables that generate contact points.
Наследование: BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
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