MLSpatialAnchorLocalizationInfo
A structure containing information about the device's localization state.
Public Methods
MLSpatialAnchorLocalizationInfo Create
public static MLSpatialAnchorLocalizationInfo Create()
MLSpatialAnchorLocalizationInfo
public MLSpatialAnchorLocalizationInfo(
uint version
)
Parameters
Type | Name | Description |
---|---|---|
uint | version |
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 unique ID of the current space.
public readonly NativeBindings.MLUUIDBytes SpaceId;
Type | Description |
---|---|
readonly NativeBindings.MLUUIDBytes | Universally unique identifier, byte array. |
SpaceName
If localized, this will contain the name of the current space.
public readonly string SpaceName;
TargetSpaceOrigin
If localized, this will contain the identifier of the transform of the target space's origin relative to the world origin.
public readonly MagicLeapNativeBindings.MLCoordinateFrameUID TargetSpaceOrigin;
Version
Version of the structure.
public readonly uint Version;