C# 클래스 BEPUphysics.NarrowPhaseSystems.NarrowPhasePairFactory

Superclass of the generic typed NarrowPhasePairFactory. Offers interaction with the factory on a INarrowPhasePair level.
파일 보기 프로젝트 열기: Indiefreaks/igf 1 사용 예제들

보호된 프로퍼티들

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