예제 #1
0
 /// <summary>Retrieves the triangle mesh data associated with this instance. </summary>
 public virtual NxTriangleMesh getTriangleMesh()
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxTriangleMesh.GetClass(NxTriangleMeshShape_getTriangleMesh_INVOKE(ClassPointer, doSetFunctionPointers)));
 }
예제 #2
0
 /// <summary>Creates a triangle mesh object. </summary>
 /// <param name="stream">The triangle mesh stream. </param>
 public virtual NxTriangleMesh createTriangleMesh(NxStream stream)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxTriangleMesh.GetClass(NxPhysicsSDK_createTriangleMesh_INVOKE(ClassPointer, doSetFunctionPointers, (stream != null ? stream.ClassPointer : NullRef))));
 }
예제 #3
0
 private bool NxCreatePMap_virtual(IntPtr pmap, IntPtr mesh, uint density)
 {
     return(NxCreatePMap(NxPMap.GetClass(pmap), NxTriangleMesh.GetClass(mesh), density));
 }
예제 #4
0
 private bool NxCreatePMap_virtual(IntPtr pmap, IntPtr mesh, uint density, IntPtr outputStream)
 {
     return(NxCreatePMap(NxPMap.GetClass(pmap), NxTriangleMesh.GetClass(mesh), density, NxUserOutputStream.GetClass(outputStream)));
 }
예제 #5
0
 private void releaseTriangleMesh_virtual(IntPtr mesh)
 {
     releaseTriangleMesh(NxTriangleMesh.GetClass(mesh));
 }