LocalizationResult
A structure containing information about the device's localization state.
Public Attributes
ConfidenceOfLocalization
The confidence level of this localization result.
public LocalizationConfidence ConfidenceOfLocalization;
Type | Description |
---|---|
LocalizationConfidence | The confidence of the current localization. |
Error
Represents a bitmask of LocalizationErrorFlag.
public LocalizationErrorFlag Error;
Type | Description |
---|---|
LocalizationErrorFlag | A set of possible reasons that a localization attempt may be unsuccessful. |
LocalizationStatus
The localization status at the time this structure was returned.
public Status LocalizationStatus;
Type | Description |
---|---|
Status | The current localization status. |
Space
Space information. If localized(#MLSpaceLocalizationStatus_Localized) this will contain valid Space information. If not localized this field should be ignored.
public Space Space;
Type | Description |
---|---|
Space | A structure containing information about a Magic Leap Space. This structure must be initialized by calling #MLSpaceInit before use. |
TargetSpaceOrigin
Target space's origin relative to world origin. If localized this will contain the identifier of the transform of the target space's origin relative to the world origin. If not localized this will be null.
public NativeBindings.MLCoordinateFrameUID TargetSpaceOrigin;
Type | Description |
---|---|
NativeBindings.MLCoordinateFrameUID | A unique identifier which represents a coordinate frame. The unique identifier is comprised of two values. |