예제 #1
0
 /// <summary>Deletes the specified soft body mesh. The soft body mesh must be in this scene. </summary>
 /// <param name="softBodyMesh">Soft body mesh to release. </param>
 public virtual void releaseSoftBodyMesh(NxSoftBodyMesh softBodyMesh)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     NxPhysicsSDK_releaseSoftBodyMesh_INVOKE(ClassPointer, doSetFunctionPointers, (softBodyMesh != null ? softBodyMesh.ClassPointer : NullRef));
 }
예제 #2
0
 /// <summary>Creates a soft body mesh from a cooked soft body mesh stored in a stream. </summary>
 public virtual NxSoftBodyMesh createSoftBodyMesh(NxStream stream)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxSoftBodyMesh.GetClass(NxPhysicsSDK_createSoftBodyMesh_INVOKE(ClassPointer, doSetFunctionPointers, (stream != null ? stream.ClassPointer : NullRef))));
 }
예제 #3
0
 private void releaseSoftBodyMesh_virtual(IntPtr softBodyMesh)
 {
     releaseSoftBodyMesh(NxSoftBodyMesh.GetClass(softBodyMesh));
 }