Skip to main content
Version: 20 Mar 2024

MLHeadTracking

NameSpace: MagicLeapSupport

Public Fields

Handle


public static ulong Handle { get; set; }


Public Methods

bool GetStaticData

public static bool GetStaticData(
out MagicLeapNativeBindings.MLCoordinateFrameUID outUID
)

Parameters

TypeNameDescription
out MagicLeapNativeBindings.MLCoordinateFrameUIDoutUIDA 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

TypeNameDescription
out InputSubsystem.Extensions.MLHeadTracking.MapEventsoutMapEventsA 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

TypeNameDescription
out InputSubsystem.Extensions.MLHeadTracking.StateExheadTrackingStateA structure containing information on the current state of the Head Tracking system.