C# Класс BEPUphysics.NarrowPhaseSystems.NarrowPhasePairFactory

Superclass of the generic typed NarrowPhasePairFactory. Offers interaction with the factory on a INarrowPhasePair level.
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
allowOnDemandConstruction bool

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

Метод Описание
CapCount ( int maximumCount ) : void

Ensures that the factory has at most the given number of elements ready to take.

Clear ( ) : void

Removes all elements from the factory.

EnsureCount ( int minimumCount ) : void

Ensures that the factory has at least the given number of elements ready to take.

GetNarrowPhasePair ( ) : BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair

Manufactures and returns a narrow phase pair for the given overlap.

GiveBack ( BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair pair ) : void

Returns a pair to the factory for re-use.

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

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

Ensures that the factory has at most the given number of elements ready to take.
public CapCount ( int maximumCount ) : void
maximumCount int Maximum number of elements to allow in the factory.
Результат void

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

Removes all elements from the factory.
public abstract Clear ( ) : void
Результат void

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

Ensures that the factory has at least the given number of elements ready to take.
public EnsureCount ( int minimumCount ) : void
minimumCount int Minimum number of elements to ensure in the factory.
Результат void

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

Manufactures and returns a narrow phase pair for the given overlap.
public abstract GetNarrowPhasePair ( ) : BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair
Результат BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair

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

Returns a pair to the factory for re-use.
public abstract GiveBack ( BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair pair ) : void
pair BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair Pair to return.
Результат void

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

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

protected bool allowOnDemandConstruction
Результат bool