C# Class BEPUphysics.NarrowPhaseSystems.NarrowPhasePairFactory

Superclass of the generic typed NarrowPhasePairFactory. Offers interaction with the factory on a INarrowPhasePair level.
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Protected Properties

Свойство Type Description
allowOnDemandConstruction bool

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

Clear() public abstract méthode

Removes all elements from the factory.
public abstract Clear ( ) : void
Résultat void

EnsureCount() public méthode

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.
Résultat void

GetNarrowPhasePair() public abstract méthode

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

GiveBack() public abstract méthode

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.
Résultat void

Property Details

allowOnDemandConstruction protected_oe property

protected bool allowOnDemandConstruction
Résultat bool