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