Vixen
02b45cc4
csharp
public struct NavMeshPolyData

One polygon, as the bake wrote it.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Vertices are a range in PolyVertices rather than an array of their own: a tile holds thousands of polygons of three to six vertices each, and an array per polygon would be thousands of objects for a level that has one shape.

Fields and properties (4)

  • public int FirstVertex

    Where this polygon's vertex indices start in PolyVertices.

  • public byte VertexCount

    How many vertices it has.

  • public byte Area

    Its area id — see NavArea.

  • public NavPolyFlags Flags

    What it may be used for.

Used by (11)

  • DetailMeshTestsVixen.Navigation.Tests
  • NavMeshAssetTestsVixen.Navigation.Tests
  • NavMeshBakeTestsVixen.Navigation.Tests
  • NavMeshBakerVixen.Navigation
  • NavMeshDebugDrawTestsVixen.Navigation.Tests
  • NavMeshQueryTestsVixen.Navigation.Tests
  • NavMeshTileVixen.Navigation
  • NavMeshTileDataVixen.Navigation
  • RegionMergeTestsVixen.Navigation.Tests
  • Vixen_Navigation_NavMeshPolyDataSerializerVixen.Navigation
  • Vixen_Navigation_NavMeshTileDataSerializerVixen.Navigation