ARDeviceMappingManager
↳ extends UnityEngine.XR.ARFoundation.SubsystemLifecycleManager
ARDeviceMappingManager can be used to create and manage maps on the local device.
Declaration
public class ARDeviceMappingManager : SubsystemLifecycleManager<XRDeviceMappingSubsystem, XRDeviceMappingSubsystemDescriptor, Provider>Properties
| Name | Type | Summary |
|---|---|---|
| readonly IsMappingInProgress | bool | - |
| MappingSplitterMaxDistanceMeters | float | - |
| MappingSplitterMaxDurationSeconds | float | - |
| MappingTargetFrameRate | uint | - |
| readonly RootAnchorPayload | string | - |
Methods
| Name | Type | Summary |
|---|---|---|
| ClearMap | void | - |
| ExtractMapMetadataFromRootAnchor | bool | - |
| StartMapping | void | - |
| StopMapping | void | - |
| TryGetMapData | bool | - |
Events
| Name | Type | Summary |
|---|---|---|
| MapFinalized | Action<byte[]> | - |
| MapUpdated | Action<byte[]> | - |