ZeroVR/ZeroPacientVR/Assets/CodeRespawn/DungeonArchitect/ThirdParty/SharpNav/Crowds/UpdateFlags.cs

40 lines
889 B
C#

// Copyright (c) 2014 Robert Rouhani <robert.rouhani@gmail.com> and other contributors (see CONTRIBUTORS file).
// Licensed under the MIT License - https://raw.github.com/Robmaister/SharpNav/master/LICENSE
using System;
namespace SharpNav.Crowds
{
/// <summary>
/// The UpdateFlag affects the way the agent moves acorss its path.
/// </summary>
[Flags]
public enum UpdateFlags
{
/// <summary>
/// The agent will be making turns in its path
/// </summary>
AnticipateTurns = 1,
/// <summary>
/// Avoid obstacles on the path
/// </summary>
ObstacleAvoidance = 2,
/// <summary>
/// Separate this agent from other agents
/// </summary>
Separation = 4,
/// <summary>
/// Optimize if the agent can see the next corner
/// </summary>
OptimizeVis = 8,
/// <summary>
/// Optimize the agent's path corridor
/// </summary>
OptimizeTopo = 16
}
}