DotRecastNetSim/src/DotRecast.Recast.DemoTool/RcSettings.cs

33 lines
958 B
C#
Raw Normal View History

namespace DotRecast.Recast.DemoTool
{
public class RcSettings
{
public float cellSize = 0.3f;
public float cellHeight = 0.2f;
public float agentHeight = 2.0f;
public float agentRadius = 0.6f;
public float agentMaxClimb = 0.9f;
public float agentMaxSlope = 45f;
public int minRegionSize = 8;
public int mergedRegionSize = 20;
public int partitioningIdx = 0;
public PartitionType partitioning = PartitionType.WATERSHED;
public bool filterLowHangingObstacles = true;
public bool filterLedgeSpans = true;
public bool filterWalkableLowHeightSpans = true;
public float edgeMaxLen = 12f;
public float edgeMaxError = 1.3f;
public int vertsPerPoly = 6;
public float detailSampleDist = 6f;
public float detailSampleMaxError = 1f;
public bool tiled = false;
public int tileSize = 32;
}
}