Пример #1
0
 /// <summary>Deletes the specified cloth mesh. The cloth mesh must be in this scene. </summary>
 /// <param name="cloth">Cloth to release. </param>
 public virtual void releaseClothMesh(NxClothMesh cloth)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     NxPhysicsSDK_releaseClothMesh_INVOKE(ClassPointer, doSetFunctionPointers, (cloth != null ? cloth.ClassPointer : NullRef));
 }
Пример #2
0
 /// <summary>Creates a cloth mesh from a cooked cloth mesh stored in a stream. </summary>
 public virtual NxClothMesh createClothMesh(NxStream stream)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxClothMesh.GetClass(NxPhysicsSDK_createClothMesh_INVOKE(ClassPointer, doSetFunctionPointers, (stream != null ? stream.ClassPointer : NullRef))));
 }
Пример #3
0
 private void releaseClothMesh_virtual(IntPtr cloth)
 {
     releaseClothMesh(NxClothMesh.GetClass(cloth));
 }