MagicLeapInputs
Inherits from:
IInputActionCollection2,
IDisposable
Public Fields
MagicLeapScheme
public InputControlScheme MagicLeapScheme { get; set; }
asset
public InputActionAsset asset { get; set; }
bindingMask
public InputBinding bindingMask { get; set; }
devices
public ReadOnlyArray< InputDevice > devices { get; set; }
Public Methods
bool Contains
public bool Contains(
InputAction action
)
Parameters
Type | Name | Description |
---|---|---|
InputAction | action |
void Disable
public void Disable()
void Dispose
public void Dispose()
void Enable
public void Enable()
InputAction FindAction
public InputAction FindAction(
string actionNameOrId,
bool throwIfNotFound =false
)
Parameters
Type | Name | Description |
---|---|---|
string | actionNameOrId | |
bool | throwIfNotFound |
int FindBinding
public int FindBinding(
InputBinding bindingMask,
out InputAction action
)
Parameters
Type | Name | Description |
---|---|---|
InputBinding | bindingMask | |
out InputAction | action |
IEnumerator< InputAction > GetEnumerator
public IEnumerator< InputAction > GetEnumerator()
MagicLeapInputs
public MagicLeapInputs()
Public Attributes
Controller
public ControllerActions Controller => new ControllerActions(this);
Eyes
public EyesActions Eyes => new EyesActions(this);
HMD
public HMDActions HMD => new HMDActions(this);
LeftHand
public LeftHandActions LeftHand => new LeftHandActions(this);
RightHand
public RightHandActions RightHand => new RightHandActions(this);
bindings
public IEnumerable< InputBinding > bindings => asset.bindings;
controlSchemes
public ReadOnlyArray< InputControlScheme > controlSchemes => asset.controlSchemes;