Universe.Physics.BulletSPlugin.BSAPIXNA.RemoveChildShapeFromCompoundShapeIndex C# (CSharp) Method

RemoveChildShapeFromCompoundShapeIndex() public method

public RemoveChildShapeFromCompoundShapeIndex ( BulletShape pCShape, int pii ) : BulletShape
pCShape BulletShape
pii int
return BulletShape
        public override BulletShape RemoveChildShapeFromCompoundShapeIndex(BulletShape pCShape, int pii)
        {
            CompoundShape compoundshape = (pCShape as BulletShapeXNA).shape as CompoundShape;
            CollisionShape ret = null;
            ret = compoundshape.GetChildShape(pii);
            compoundshape.RemoveChildShapeByIndex(pii);
            return new BulletShapeXNA(ret, BSShapeTypeFromBroadPhaseNativeType(ret.GetShapeType()));
        }
BSAPIXNA