Class PolyMeshDetail

java.lang.Object
org.recast4j.recast.PolyMeshDetail

public class PolyMeshDetail
extends java.lang.Object
Contains triangle meshes that represent detailed height data associated with the polygons in its associated polygon mesh object.
  • Field Summary

    Fields
    Modifier and Type Field Description
    int[] meshes
    The sub-mesh data.
    int nmeshes
    The number of sub-meshes defined by #meshes.
    int ntris
    The number of triangles in #tris.
    int nverts
    The number of vertices in #verts.
    int[] tris
    The mesh triangles.
    float[] verts
    The mesh vertices.
  • Constructor Summary

    Constructors
    Constructor Description
    PolyMeshDetail()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • meshes

      public int[] meshes
      The sub-mesh data. [Size: 4*#nmeshes]
    • verts

      public float[] verts
      The mesh vertices. [Size: 3*#nverts]
    • tris

      public int[] tris
      The mesh triangles. [Size: 4*#ntris]
    • nmeshes

      public int nmeshes
      The number of sub-meshes defined by #meshes.
    • nverts

      public int nverts
      The number of vertices in #verts.
    • ntris

      public int ntris
      The number of triangles in #tris.
  • Constructor Details

    • PolyMeshDetail

      public PolyMeshDetail()