示例#1
0
 /// <summary>Retrieves the convex mesh data associated with this instance. </summary>
 public virtual NxConvexMesh getConvexMesh()
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxConvexMesh.GetClass(NxConvexShape_getConvexMesh_INVOKE(ClassPointer, doSetFunctionPointers)));
 }
示例#2
0
 /// <summary>Destroys the instance passed. </summary>
 /// <param name="mesh">The convex mesh to release.</param>
 public virtual void releaseConvexMesh(NxConvexMesh mesh)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     NxPhysicsSDK_releaseConvexMesh_INVOKE(ClassPointer, doSetFunctionPointers, (mesh != null ? mesh.ClassPointer : NullRef));
 }
示例#3
0
 /// <summary>Creates a convex mesh object. </summary>
 /// <param name="mesh">The stream to load the convex mesh from. </param>
 public virtual NxConvexMesh createConvexMesh(NxStream mesh)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxConvexMesh.GetClass(NxPhysicsSDK_createConvexMesh_INVOKE(ClassPointer, doSetFunctionPointers, (mesh != null ? mesh.ClassPointer : NullRef))));
 }
示例#4
0
 private void releaseConvexMesh_virtual(IntPtr mesh)
 {
     releaseConvexMesh(NxConvexMesh.GetClass(mesh));
 }