Universe.Physics.BulletSPlugin.BSShapeCompound.GetReference C# (CSharp) Method

GetReference() public static method

public static GetReference ( BSScene physicsScene ) : BSShape
physicsScene BSScene
return BSShape
        public static BSShape GetReference(BSScene physicsScene)
        {
            // Base compound shapes are not shared so this returns a raw shape.
            // A built compound shape can be reused in linksets.
            BSShapeCompound ret = new BSShapeCompound(CreatePhysicalCompoundShape(physicsScene));
            CompoundShapes.Add(ret.AddrString, ret);
            return ret;
        }

Same methods

BSShapeCompound::GetReference ( BSScene physicsScene, BSPhysObject prim ) : BSShape