public void setToDefault(PxTolerancesScale scale) { physxPINVOKE.PxSceneDesc_setToDefault(swigCPtr, PxTolerancesScale.getCPtr(scale)); if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } }
public PxSceneDesc(PxTolerancesScale scale) : this(physxPINVOKE.new_PxSceneDesc(PxTolerancesScale.getCPtr(scale)), true) { if (physxPINVOKE.SWIGPendingException.Pending) { throw physxPINVOKE.SWIGPendingException.Retrieve(); } }
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); }