Esempio n. 1
0
 public void setToDefault(PxTolerancesScale scale)
 {
     physxPINVOKE.PxSceneDesc_setToDefault(swigCPtr, PxTolerancesScale.getCPtr(scale));
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public PxSceneDesc(PxTolerancesScale scale) : this(physxPINVOKE.new_PxSceneDesc(PxTolerancesScale.getCPtr(scale)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 3
0
        public static PxPhysics PxCreatePhysics(SWIGTYPE_p_uint32_t version, SWIGTYPE_p_physx__PxFoundation foundation, PxTolerancesScale scale)
        {
            global::System.IntPtr cPtr = physxPINVOKE.PxCreatePhysics__SWIG_2(SWIGTYPE_p_uint32_t.getCPtr(version), SWIGTYPE_p_physx__PxFoundation.getCPtr(foundation), PxTolerancesScale.getCPtr(scale));
            PxPhysics             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PxPhysics(cPtr, false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }