/// <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>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)); }