BEPUphysics.BroadPhaseEntries.MobileCollidables.CompoundHelper.RemoveChildFromCompound C# (CSharp) Метод

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

Removes a child from a compound body.
public static RemoveChildFromCompound ( Entity compound, bool>.Func removalPredicate, IList childContributions ) : bool
compound Entity Original compound to have a child removed.
removalPredicate bool>.Func Delegate which determines if a child in the original compound should be moved to the new compound.
childContributions IList List of distribution information associated with each child shape of the whole compound shape used by the compound being split.
Результат bool
        public static bool RemoveChildFromCompound(Entity<CompoundCollidable> compound, Func<CompoundChild, bool> removalPredicate, IList<ShapeDistributionInformation> childContributions)
        {
            ShapeDistributionInformation distributionInfo;
            if (RemoveChildFromCompound(compound, removalPredicate, childContributions, out distributionInfo))
            {
                return true;
            }
            else
                return false;
        }

Same methods

CompoundHelper::RemoveChildFromCompound ( CompoundCollidable compound, bool>.Func removalPredicate, IList childContributions, ShapeDistributionInformation &distributionInfo, float &weight, float &removedWeight, System.Vector3 &removedCenter ) : bool
CompoundHelper::RemoveChildFromCompound ( Entity compound, bool>.Func removalPredicate, IList childContributions, ShapeDistributionInformation &distributionInfo ) : bool