Skip to main content
API Reference NianticSpatial.NSDK.AR.NavigationMesh

ModelSettings

The ModelSettings struct provides a configuration for how NsdkNavMesh scans the real environment and creates a navigable space....

Declaration

public struct ModelSettings : ValueType

Summary

The ModelSettings struct provides a configuration for how NsdkNavMesh scans the real environment and creates a navigable space. An instance of ModelSettings is created by the NsdkNavMeshManager using the parameters specified by the user in the Inspector, and that instance is subsequently used to create a NsdkNavMesh that is configured this way.


Constructors

public ModelSettings(float tileSize, float kernelStdDevTol, float maxSlope, float stepHeight, LayerMask layerMask)

Properties

NameTypeSummary
static readonly DefaultModelSettings
-

Fields

NameTypeSummary
KernelSizeint
-
KernelStdDevTolfloat
-
LayerMaskLayerMask
-
MaxSlopefloat
-
MinElevationfloat
-
SpatialChunkSizefloat
-
StepHeightfloat
-
TileSizefloat
-