public static RemoveChildFromCompound ( Entity |
||
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. |
return | 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;
}
CompoundHelper::RemoveChildFromCompound ( |
|
CompoundHelper::RemoveChildFromCompound ( Entity |