Vixen
02b45cc4
csharp
public readonly record struct NavMeshDrawStyle

How a navmesh is coloured when it is drawn.

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

Fields and properties (6)

  • public Color4 Interior

    Edges between two polygons of the same tile.

  • public Color4 Border

    Edges with nothing on the other side — the walls, as the mesh understands them.

  • public Color4 Portal

    Edges linked across a tile border.

  • public Color4 Disabled

    Polygons a default filter would refuse.

  • public float Lift

    How far above the surface to draw, so the lines are not inside the floor.

  • public static NavMeshDrawStyle Default

    Readable over most level geometry: dim interior, bright walls, blue portals.

Methods (1)

  • public NavMeshDrawStyle(Color4 Interior, Color4 Border, Color4 Portal, Color4 Disabled, float Lift = 0.05)

    How a navmesh is coloured when it is drawn.

Used by (2)

  • NavMeshDebugDrawVixen.Navigation
  • NavMeshDebugDrawTestsVixen.Navigation.Tests