Esempio n. 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)));
 }
Esempio n. 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));
 }
Esempio n. 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))));
 }
Esempio n. 4
0
 private void releaseConvexMesh_virtual(IntPtr mesh)
 {
     releaseConvexMesh(NxConvexMesh.GetClass(mesh));
 }