コード例 #1
0
 public PxConvexMeshGeometry(SWIGTYPE_p_physx__PxConvexMesh mesh, SWIGTYPE_p_PxMeshScale scaling) : this(physxPINVOKE.new_PxConvexMeshGeometry__SWIG_3(SWIGTYPE_p_physx__PxConvexMesh.getCPtr(mesh), SWIGTYPE_p_PxMeshScale.getCPtr(scaling)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public PxConvexMeshGeometry(SWIGTYPE_p_physx__PxConvexMesh mesh, SWIGTYPE_p_PxMeshScale scaling, SWIGTYPE_p_physx__PxFlagsT_physx__PxConvexMeshGeometryFlag__Enum_uint8_t_t flags) : this(physxPINVOKE.new_PxConvexMeshGeometry__SWIG_2(SWIGTYPE_p_physx__PxConvexMesh.getCPtr(mesh), SWIGTYPE_p_PxMeshScale.getCPtr(scaling), SWIGTYPE_p_physx__PxFlagsT_physx__PxConvexMeshGeometryFlag__Enum_uint8_t_t.getCPtr(flags)), true)
 {
     if (physxPINVOKE.SWIGPendingException.Pending)
     {
         throw physxPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #3
0
        public virtual SWIGTYPE_p_physx__PxConvexMesh createConvexMesh(SWIGTYPE_p_physx__PxInputStream stream)
        {
            global::System.IntPtr          cPtr = physxPINVOKE.PxPhysics_createConvexMesh(swigCPtr, SWIGTYPE_p_physx__PxInputStream.getCPtr(stream));
            SWIGTYPE_p_physx__PxConvexMesh ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_physx__PxConvexMesh(cPtr, false);

            if (physxPINVOKE.SWIGPendingException.Pending)
            {
                throw physxPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #4
0
 public PxConvexMeshGeometry(SWIGTYPE_p_physx__PxConvexMesh mesh) : this(physxPINVOKE.new_PxConvexMeshGeometry__SWIG_4(SWIGTYPE_p_physx__PxConvexMesh.getCPtr(mesh)), true)
 {
 }
コード例 #5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_physx__PxConvexMesh obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }