Skip to main content
Version: 12 Dec 2024

HMDActions

Public Methods

void AddCallbacks

public void AddCallbacks(
IHMDActions instance
)

Parameters

TypeNameDescription
IHMDActionsinstance

void Disable

public void Disable()

void Enable

public void Enable()

InputActionMap Get

public InputActionMap Get()

HMDActions

public HMDActions(
@MagicLeapInputs wrapper
)

Parameters

TypeNameDescription
@MagicLeapInputswrapper

void RemoveCallbacks

public void RemoveCallbacks(
IHMDActions instance
)

Parameters

TypeNameDescription
IHMDActionsinstance

void SetCallbacks

public void SetCallbacks(
IHMDActions instance
)

Parameters

TypeNameDescription
IHMDActionsinstance

implicit operator InputActionMap

public static implicit operator InputActionMap(
HMDActions set
)

Parameters

TypeNameDescription
HMDActionsset

Public Attributes

Position


public InputAction Position => m_Wrapper.m_HMD_Position;


Rotation


public InputAction Rotation => m_Wrapper.m_HMD_Rotation;


enabled


public bool enabled => Get().enabled;