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