/// <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)); }
/// <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)))); }
private void releaseClothMesh_virtual(IntPtr cloth) { releaseClothMesh(NxClothMesh.GetClass(cloth)); }