Class NavMeshGenerationParams
- Namespace
- ValveResourceFormat.NavMesh
- Assembly
- ValveResourceFormat.dll
Navigation mesh generation parameters.
public class NavMeshGenerationParams
Inheritance
Inherited Members
Properties
CellHeight
Gets or sets the cell height.
public float CellHeight { get; set; }
Property Value
CellSize
Gets or sets the cell size.
public float CellSize { get; set; }
Property Value
HullCount
Gets or sets the hull count.
public int HullCount { get; set; }
Property Value
HullDefinitionsFile
Gets or sets the hull definitions file path.
public string HullDefinitionsFile { get; set; }
Property Value
HullParams
Gets or sets the hull parameters.
public NavMeshGenerationHullParams[] HullParams { get; set; }
Property Value
HullPresetName
Gets or sets the hull preset name.
public string HullPresetName { get; set; }
Property Value
MaxEdgeError
Gets or sets the maximum edge error.
public float MaxEdgeError { get; set; }
Property Value
MaxEdgeLength
Gets or sets the maximum edge length.
public int MaxEdgeLength { get; set; }
Property Value
MaxSampleError
Gets or sets the maximum sample error.
public float MaxSampleError { get; set; }
Property Value
MergedRegionSize
Gets or sets the merged region size.
public int MergedRegionSize { get; set; }
Property Value
MeshSampleDistance
Gets or sets the mesh sample distance.
public float MeshSampleDistance { get; set; }
Property Value
MinRegionSize
Gets or sets the minimum region size.
public int MinRegionSize { get; set; }
Property Value
NavGenVersion
Gets or sets the navigation generation version.
public int NavGenVersion { get; set; }
Property Value
SmallAreaOnEdgeRemoval
Gets or sets the small area on edge removal threshold.
public float SmallAreaOnEdgeRemoval { get; set; }
Property Value
TileSize
Gets or sets the tile size.
public float TileSize { get; set; }
Property Value
UseProjectDefaults
Gets or sets whether to use project defaults.
public bool UseProjectDefaults { get; set; }
Property Value
VertsPerPoly
Gets or sets the vertices per polygon.
public int VertsPerPoly { get; set; }
Property Value
Methods
Read(BinaryReader, NavMeshFile)
Reads generation parameters from a binary reader.
public void Read(BinaryReader binaryReader, NavMeshFile navMeshFile)
Parameters
binaryReader
BinaryReadernavMeshFile
NavMeshFile