# Configuration Source: https://www.nianticspatial.com/docs/api/swift/NSDK.NSDKDeviceMappingSession.struct-Configuration/ Configuration --- ## Declaration struct Configuration ## Summary Configuration settings for the mapping process. This structure defines various parameters that control how the mapping algorithm behaves during map creation, including feature detection, tracking edges, and node splitting criteria. --- ## Constructors init() #### Summary Creates a new configuration with default values. All parameters are set to their default values, which provide a good starting point for most mapping scenarios. --- ## Properties | Name | Type | Summary | | --- | --- | --- | | var learnedFeaturesEnabled | Bool | Enables the use of learned features for mapping.When `true`, the mapping system uses neural network learned features for improvedmapping quality. When `false` (default), the legacy feature detection method is used.Learned features generally provide better results but require more processing power.- Attention: Maps created with different feature detection methods are not compatible. For example, a map created with learned features cannot be merged with a map created with legacy feature detection. | | var mapperFrameRate | UInt32 | Target frame rate for the mapping process.Specifies the desired FPS for map processing. The actual frame rate may be lowerdue to device performance limitations. A value of `0` (default) uses automaticframe rate selection based on device capabilities. | | var splitterMaxDistanceMeters | Float | Maximum distance before creating a new map node (in meters).When the device travels more than this distance from the current map node,a new node will be created. A value of `0` will use native default values. | | var splitterMaxDurationSeconds | Float | Maximum duration before creating a new map node (in seconds).When mapping continues for longer than this duration on a single node,a new node will be created. A value of `0` will use native default values. | | var trackingEdgesDisabled | Bool | Controls whether tracking edges between maps are disabled.When `false` (default), the system can form tracking edges between different map nodes,improving overall map consistency. Set to `true` to disable this feature if neededfor specific use cases. | ---