Vixen
02b45cc4
csharp
public enum NavPolyFlags

What a polygon may be used for, as a bitmask a filter tests.

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

Remarks

Area and flags answer different questions and are deliberately separate. The area is what the ground is and drives cost; the flags are who may use it and drive inclusion. A door polygon has an area of its own so that walking through one can be made expensive, and a flag of its own so that an agent without a key never considers it at all.

Fields and properties (7)

  • None

    No capability. A polygon with no flags passes no filter that requires any.

  • Walk

    Ordinary ground.

  • Swim

    Water an agent can swim across.

  • Door

    A doorway.

  • Jump

    A drop or a leap, rather than a continuous surface.

  • Disabled

    Temporarily closed. Kept out of every default filter.

  • All

    Everything. The include set a filter starts with.

Used by (17)

  • CrossTileConnectionTestsVixen.Navigation.Tests
  • CrowdVixen.Navigation
  • CrowdRetargetTestsVixen.Navigation.Tests
  • NavMeshVixen.Navigation
  • NavMeshAssetTestsVixen.Navigation.Tests
  • NavMeshBuildSettingsVixen.Navigation
  • NavMeshDebugDrawVixen.Navigation
  • NavMeshPolyDataVixen.Navigation
  • NavMeshQueryVixen.Navigation
  • NavMeshQueryTestsVixen.Navigation.Tests
  • NavOffMeshConnectionDataVixen.Navigation
  • NavPolyVixen.Navigation
  • NavQueryFilterVixen.Navigation
  • OffMeshConnectionTestsVixen.Navigation.Tests
  • Vixen_Navigation_NavMeshPolyDataSerializerVixen.Navigation
  • Vixen_Navigation_NavOffMeshConnectionDataSerializerVixen.Navigation
  • NavMeshImporterVixen.Editor.Assets