C# Class BEPUphysics.NarrowPhaseSystems.NarrowPhasePairFactory

Superclass of the generic typed NarrowPhasePairFactory. Offers interaction with the factory on a INarrowPhasePair level.
ファイルを表示 Open project: Indiefreaks/igf Class Usage Examples

Protected Properties

Property Type Description
allowOnDemandConstruction bool

Public Methods

Method Description
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.

Method Details

CapCount() public method

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.
return void

Clear() public abstract method

Removes all elements from the factory.
public abstract Clear ( ) : void
return void

EnsureCount() public method

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.
return void

GetNarrowPhasePair() public abstract method

Manufactures and returns a narrow phase pair for the given overlap.
public abstract GetNarrowPhasePair ( ) : BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair
return BEPUphysics.NarrowPhaseSystems.Pairs.NarrowPhasePair

GiveBack() public abstract method

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.
return void

Property Details

allowOnDemandConstruction protected_oe property

protected bool allowOnDemandConstruction
return bool