BEPUphysics.NarrowPhaseSystems.NarrowPhasePairFactory.CapCount C# (CSharp) Метод

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
        public void CapCount(int maximumCount)
        {
            if (Count > maximumCount)
                Count = maximumCount;
        }