Exemple #1
0
 public PxTriangleMeshGeometry(SWIGTYPE_p_physx__PxTriangleMesh mesh, SWIGTYPE_p_PxMeshScale scaling, SWIGTYPE_p_physx__PxFlagsT_physx__PxMeshGeometryFlag__Enum_uint8_t_t flags) : this(physxPINVOKE.new_PxTriangleMeshGeometry__SWIG_1(SWIGTYPE_p_physx__PxTriangleMesh.getCPtr(mesh), SWIGTYPE_p_PxMeshScale.getCPtr(scaling), SWIGTYPE_p_physx__PxFlagsT_physx__PxMeshGeometryFlag__Enum_uint8_t_t.getCPtr(flags)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public PxTriangleMeshGeometry(SWIGTYPE_p_physx__PxTriangleMesh mesh, SWIGTYPE_p_PxMeshScale scaling) : this(physxPINVOKE.new_PxTriangleMeshGeometry__SWIG_2(SWIGTYPE_p_physx__PxTriangleMesh.getCPtr(mesh), SWIGTYPE_p_PxMeshScale.getCPtr(scaling)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #3
0
        public virtual SWIGTYPE_p_physx__PxTriangleMesh createTriangleMesh(SWIGTYPE_p_physx__PxInputStream stream)
        {
            global::System.IntPtr            cPtr = physxPINVOKE.PxPhysics_createTriangleMesh(swigCPtr, SWIGTYPE_p_physx__PxInputStream.getCPtr(stream));
            SWIGTYPE_p_physx__PxTriangleMesh ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_physx__PxTriangleMesh(cPtr, false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemple #4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_physx__PxTriangleMesh obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Exemple #5
0
 public PxTriangleMeshGeometry(SWIGTYPE_p_physx__PxTriangleMesh mesh) : this(physxPINVOKE.new_PxTriangleMeshGeometry__SWIG_3(SWIGTYPE_p_physx__PxTriangleMesh.getCPtr(mesh)), true)
 {
 }