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

TryGetCompoundByPtr() public static method

public static TryGetCompoundByPtr ( BulletShape pShape, BSShapeCompound &outCompound ) : bool
pShape BulletShape
outCompound BSShapeCompound
return bool
        public static bool TryGetCompoundByPtr(BulletShape pShape, out BSShapeCompound outCompound)
        {
            lock (CompoundShapes)
            {
                string addr = pShape.AddrString;
                return CompoundShapes.TryGetValue(addr, out outCompound);
            }
        }