MLHeadTracking
NameSpace: LegacySupport
Public Fields
Handle
public static ulong Handle { get; set; }
Public Methods
bool GetStaticData
public static bool GetStaticData(
out MagicLeapNativeBindings.MLCoordinateFrameUID outUID
)
Parameters
Type | Name | Description |
---|---|---|
out MagicLeapNativeBindings.MLCoordinateFrameUID | outUID | A unique identifier which represents a coordinate frame. The unique identifier is comprised of two values. |
bool IsAvailable
public static bool IsAvailable()
bool TryGetMapEvents
public static bool TryGetMapEvents(
out InputSubsystem.Extensions.MLHeadTracking.MapEvents outMapEvents
)
Parameters
Type | Name | Description |
---|---|---|
out InputSubsystem.Extensions.MLHeadTracking.MapEvents | outMapEvents | A set of all types of map events that can occur that a developer may have to handle. |
bool TryGetStateEx
public static bool TryGetStateEx(
out InputSubsystem.Extensions.MLHeadTracking.StateEx headTrackingState
)
Parameters
Type | Name | Description |
---|---|---|
out InputSubsystem.Extensions.MLHeadTracking.StateEx | headTrackingState | A structure containing information on the current state of the Head Tracking system. |