Ejemplo n.º 1
0
 /// <summary>Cooks a convex mesh. The results are written to the stream. </summary>
 /// <param name="desc">The convex mesh descriptor to read the mesh from. </param>
 /// <param name="stream">User stream to output the cooked data. </param>
 public virtual bool NxCookConvexMesh(NxConvexMeshDesc desc, NxStream stream)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxCookingInterface_NxCookConvexMesh_INVOKE(ClassPointer, doSetFunctionPointers, (desc != null ? desc.ClassPointer : NullRef), (stream != null ? stream.ClassPointer : NullRef)));
 }
Ejemplo n.º 2
0
 /// <summary>Saves the mesh to a descriptor. </summary>
 /// <param name="desc">Descriptor to store the state of the convex mesh into.</param>
 public virtual bool saveToDesc(NxConvexMeshDesc desc)
 {
     if (doSetFunctionPointers)
     {
         throw new System.NotSupportedException("Cannot call abstract base member");
     }
     return(NxConvexMesh_saveToDesc_INVOKE(ClassPointer, doSetFunctionPointers, (desc != null ? desc.ClassPointer : NullRef)));
 }
Ejemplo n.º 3
0
 private bool NxCookConvexMesh_virtual(IntPtr desc, IntPtr stream)
 {
     return(NxCookConvexMesh(NxConvexMeshDesc.GetClass(desc), NxStream.GetClass(stream)));
 }
Ejemplo n.º 4
0
 private bool saveToDesc_virtual(IntPtr desc)
 {
     return(saveToDesc(NxConvexMeshDesc.GetClass(desc)));
 }