/// <summary>Creates a CCD Skeleton mesh object. </summary> /// <param name="memoryBuffer">the buffer to read from. </param> /// <param name="bufferSize">size of the buffer.</param> public virtual NxCCDSkeleton createCCDSkeleton(System.IntPtr memoryBuffer, uint bufferSize) { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } return(NxCCDSkeleton.GetClass(NxPhysicsSDK_createCCDSkeleton_1_INVOKE(ClassPointer, doSetFunctionPointers, memoryBuffer, bufferSize))); }
/// <summary>Destroys the instance passed. </summary> /// <param name="skel">The CCD Skeleton to release.</param> public virtual void releaseCCDSkeleton(NxCCDSkeleton skel) { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } NxPhysicsSDK_releaseCCDSkeleton_INVOKE(ClassPointer, doSetFunctionPointers, (skel != null ? skel.ClassPointer : NullRef)); }
/// <summary>Creates a CCD Skeleton mesh object. </summary> /// <param name="mesh">The triangle mesh from which to create the CCD skeleton. </param> public virtual NxCCDSkeleton createCCDSkeleton(NxSimpleTriangleMesh mesh) { if (doSetFunctionPointers) { throw new System.NotSupportedException("Cannot call abstract base member"); } return(NxCCDSkeleton.GetClass(NxPhysicsSDK_createCCDSkeleton_INVOKE(ClassPointer, doSetFunctionPointers, (mesh != null ? mesh.ClassPointer : NullRef)))); }
private void releaseCCDSkeleton_virtual(IntPtr skel) { releaseCCDSkeleton(NxCCDSkeleton.GetClass(skel)); }