/// <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)); }
/// <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)))); }
private void releaseSoftBodyMesh_virtual(IntPtr softBodyMesh) { releaseSoftBodyMesh(NxSoftBodyMesh.GetClass(softBodyMesh)); }