LocalizationInfo
A structure containing information about the device's localization state.
Public Methods
LocalizationInfo
public LocalizationInfo(
NativeBindings.MLSpatialAnchorLocalizationInfo nativeInfo
)
Parameters
| Type | Name | Description |
|---|---|---|
| NativeBindings.MLSpatialAnchorLocalizationInfo | nativeInfo | A structure containing information about the device's localization state. |
override string ToString
public override string ToString()
Public Attributes
LocalizationStatus
The localization status at the time this structure was returned.
public readonly LocalizationStatus LocalizationStatus;
| Type | Description |
|---|---|
| readonly LocalizationStatus | LocalizationStatus |
MappingMode
The current mapping mode.
public readonly MappingMode MappingMode;
| Type | Description |
|---|---|
| readonly MappingMode | The current mapping mode, set via settings. |
SpaceId
If localized, this will contain the name of the current space.
public readonly string SpaceId => this.spaceId.ToString();
SpaceName
If localized, this will contain the name of the current space.
public readonly string SpaceName;
SpaceOrigin
If localized, this will contain the pose info of the target space's origin relative to the world origin.
public readonly Pose SpaceOrigin;