Class NavMeshGenerationParams
Namespace: ValveResourceFormat.NavMesh
Assembly: ValveResourceFormat.dll
Navigation mesh generation parameters.
public class NavMeshGenerationParamsInheritance
object ← NavMeshGenerationParams
Properties
CellHeight
Gets or sets the cell height.
public float CellHeight { get; set; }Property Value
float
CellSize
Gets or sets the cell size.
public float CellSize { get; set; }Property Value
float
GravityFollowsRotation
Gets or sets whether gravity follows the rotation of movable nav meshes. Meaning unconfirmed.
public bool GravityFollowsRotation { get; set; }Property Value
bool
Remarks
The per movable mesh setting is NavMeshFile.MovableMeshGravityFollowsRotation.
HullCount
Gets or sets the hull count.
public int HullCount { get; set; }Property Value
int
HullDefinitionsFile
Gets or sets the hull definitions file path.
public string? HullDefinitionsFile { get; set; }Property Value
string?
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
string?
MaxEdgeError
Gets or sets the maximum edge error.
public float MaxEdgeError { get; set; }Property Value
float
MaxEdgeLength
Gets or sets the maximum edge length.
public int MaxEdgeLength { get; set; }Property Value
int
MaxSampleError
Gets or sets the maximum sample error.
public float MaxSampleError { get; set; }Property Value
float
MergedRegionSize
Gets or sets the merged region size.
public int MergedRegionSize { get; set; }Property Value
int
MeshSampleDistance
Gets or sets the mesh sample distance.
public float MeshSampleDistance { get; set; }Property Value
float
MinRegionSize
Gets or sets the minimum region size.
public int MinRegionSize { get; set; }Property Value
int
NavGenVersion
Gets or sets the navigation generation version.
public int NavGenVersion { get; set; }Property Value
int
SmallAreaOnEdgeRemoval
Gets or sets the small area on edge removal threshold.
public float SmallAreaOnEdgeRemoval { get; set; }Property Value
float
TileSize
Gets or sets the tile size.
public float TileSize { get; set; }Property Value
float
UseProjectDefaults
Gets or sets whether to use project defaults.
public bool UseProjectDefaults { get; set; }Property Value
bool
VertsPerPoly
Gets or sets the vertices per polygon.
public int VertsPerPoly { get; set; }Property Value
int
Methods
Read(BinaryReader, NavMeshFile)
Reads generation parameters from a binary reader.
public void Read(BinaryReader binaryReader, NavMeshFile navMeshFile)Parameters
binaryReader BinaryReader
navMeshFile NavMeshFile

