Skip to main content
Version: 21 Aug 2024

ControllerActions

Public Methods

void AddCallbacks

public void AddCallbacks(
IControllerActions instance
)

Parameters

TypeNameDescription
IControllerActionsinstance

ControllerActions

public ControllerActions(
@MagicLeapInputs wrapper
)

Parameters

TypeNameDescription
@MagicLeapInputswrapper

void Disable

public void Disable()

void Enable

public void Enable()

InputActionMap Get

public InputActionMap Get()

void RemoveCallbacks

public void RemoveCallbacks(
IControllerActions instance
)

Parameters

TypeNameDescription
IControllerActionsinstance

void SetCallbacks

public void SetCallbacks(
IControllerActions instance
)

Parameters

TypeNameDescription
IControllerActionsinstance

implicit operator InputActionMap

public static implicit operator InputActionMap(
ControllerActions set
)

Parameters

TypeNameDescription
ControllerActionsset

Public Attributes

Acceleration


public InputAction Acceleration => m_Wrapper.m_Controller_Acceleration;


AngularAcceleration


public InputAction AngularAcceleration => m_Wrapper.m_Controller_AngularAcceleration;


AngularVelocity


public InputAction AngularVelocity => m_Wrapper.m_Controller_AngularVelocity;


Bumper


public InputAction Bumper => m_Wrapper.m_Controller_Bumper;


Haptic


public InputAction Haptic => m_Wrapper.m_Controller_Haptic;


IsTracked


public InputAction IsTracked => m_Wrapper.m_Controller_IsTracked;


Menu


public InputAction Menu => m_Wrapper.m_Controller_Menu;


PointerPosition


public InputAction PointerPosition => m_Wrapper.m_Controller_PointerPosition;


PointerRotation


public InputAction PointerRotation => m_Wrapper.m_Controller_PointerRotation;


Position


public InputAction Position => m_Wrapper.m_Controller_Position;


Rotation


public InputAction Rotation => m_Wrapper.m_Controller_Rotation;


TouchpadClick


public InputAction TouchpadClick => m_Wrapper.m_Controller_TouchpadClick;


TouchpadForce


public InputAction TouchpadForce => m_Wrapper.m_Controller_TouchpadForce;


TouchpadPosition


public InputAction TouchpadPosition => m_Wrapper.m_Controller_TouchpadPosition;


TouchpadTouch


public InputAction TouchpadTouch => m_Wrapper.m_Controller_TouchpadTouch;


TrackingState


public InputAction TrackingState => m_Wrapper.m_Controller_TrackingState;


Trigger


public InputAction Trigger => m_Wrapper.m_Controller_Trigger;


TriggerButton


public InputAction TriggerButton => m_Wrapper.m_Controller_TriggerButton;


TriggerHold


public InputAction TriggerHold => m_Wrapper.m_Controller_TriggerHold;


Velocity


public InputAction Velocity => m_Wrapper.m_Controller_Velocity;


enabled


public bool enabled => Get().enabled;