Ejemplo n.º 1
0
        public virtual PxClothFabric createClothFabric(PxClothFabricDesc desc)
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxPhysics_createClothFabric__SWIG_1(swigCPtr, PxClothFabricDesc.getCPtr(desc));
            PxClothFabric         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PxClothFabric(cPtr, false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PxClothFabricDesc obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }