Class NavMeshGenerationHullParams
Namespace: ValveResourceFormat.NavMesh
Assembly: ValveResourceFormat.dll
Per-hull navigation agent generation parameters. Corresponds to CNavHullVData.
public class NavMeshGenerationHullParamsInheritance
object ← NavMeshGenerationHullParams
Properties
BorderErosion
Gets or sets the border erosion in voxel units. A value of -1 uses the default value based on the agent radius.
public int BorderErosion { get; set; }Property Value
Enabled
Gets or sets whether this agent is enabled for generation. When disabled, zero nav areas will be produced for this agent.
public bool Enabled { get; set; }Property Value
Height
Gets or sets the height of the navigating agent capsule.
public float Height { get; set; }Property Value
MaxClimb
Gets or sets the maximum vertical offset that the agent simply ignores and walks over.
public float MaxClimb { get; set; }Property Value
MaxJumpDownDist
Gets or sets the maximum vertical offset at which to create a jump connection (possibly one-way).
public float MaxJumpDownDist { get; set; }Property Value
MaxJumpHorizDistBase
Gets or sets the maximum horizontal offset over which to create a jump connection. This is a parameter into the true threshold function rather than a direct distance.
public float MaxJumpHorizDistBase { get; set; }Property Value
MaxJumpUpDist
Gets or sets the maximum vertical offset at which to make a jump connection two-way.
public float MaxJumpUpDist { get; set; }Property Value
MaxSlope
Gets or sets the maximum ground slope (in degrees) that is considered walkable.
public int MaxSlope { get; set; }Property Value
Radius
Gets or sets the radius of the navigating agent capsule.
public float Radius { get; set; }Property Value
ShortHeight
Gets or sets the crouch height of the navigating agent capsule when is true.
public float ShortHeight { get; set; }Property Value
ShortHeightEnabled
Gets or sets whether shorter (crouch) navigating agent capsules are enabled in addition to regular height capsules.
public bool ShortHeightEnabled { get; set; }Property Value
Methods
Read(BinaryReader, NavMeshGenerationParams)
Reads hull parameters from a binary reader.
public void Read(BinaryReader binaryReader, NavMeshGenerationParams generationParams)Parameters
binaryReader BinaryReader
generationParams NavMeshGenerationParams

