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

36 lines
1.0 KiB
C#
Raw Normal View History

namespace DotRecast.Recast.DemoTool
{
2023-06-12 18:36:17 +03:00
public class SampleSettings
{
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 float agentMaxAcceleration = 8.0f;
public float agentMaxSpeed = 3.5f;
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;
}
}