Class MagicLeapController
Inheritance
MagicLeapController
Inherited Members
InputDevice.all
Assembly: UnityEngine.XR.MagicLeap.dll
Syntax
[Preserve]
[InputControlLayout(displayName = "MagicLeap Controller")]
public class MagicLeapController : XRController
Properties
bumper
Declaration
[Preserve]
[InputControl(displayName = "Bumper Axis")]
public AxisControl bumper { get; }
Property Value
Declaration
[Preserve]
[InputControl(displayName = "Bumper Button")]
public ButtonControl bumperButton { get; }
Property Value
calibrationAccuracy
Declaration
[Preserve]
[InputControl(displayName = "Calibration Accuracy")]
public IntegerControl calibrationAccuracy { get; }
Property Value
dof
Declaration
[Preserve]
[InputControl(displayName = "Degrees of Freedom")]
public IntegerControl dof { get; }
Property Value
Declaration
[Preserve]
[InputControl(displayName = "Menu")]
public ButtonControl menu { get; }
Property Value
touchpad1Force
Declaration
[Preserve]
[InputControl(displayName = "Touchpad 1 Force")]
public AxisControl touchpad1Force { get; }
Property Value
touchpad1Position
Declaration
[Preserve]
[InputControl(displayName = "Touchpad 1 Position")]
public Vector2Control touchpad1Position { get; }
Property Value
touchpad1Pressed
Declaration
[Preserve]
[InputControl(displayName = "Touchpad 1 Pressed")]
public ButtonControl touchpad1Pressed { get; }
Property Value
touchpad2Force
Declaration
[Preserve]
[InputControl(displayName = "Touchpad 2 Force")]
[Obsolete("This feature is no longer available as Magic Leap does not support Secondary Touch.")]
public AxisControl touchpad2Force { get; }
Property Value
touchpad2Position
Declaration
[Preserve]
[InputControl(displayName = "Touchpad 2 Position")]
[Obsolete("This feature is no longer available as Magic Leap does not support Secondary Touch.")]
public Vector2Control touchpad2Position { get; }
Property Value
touchpad2Pressed
Declaration
[Preserve]
[InputControl(displayName = "Touchpad 2 Pressed")]
[Obsolete("This feature is no longer available as Magic Leap does not support Secondary Touch.")]
public ButtonControl touchpad2Pressed { get; }
Property Value
trigger
Declaration
[Preserve]
[InputControl(displayName = "Trigger Axis")]
public AxisControl trigger { get; }
Property Value
Declaration
[Preserve]
[InputControl(displayName = "Trigger Button")]
public ButtonControl triggerButton { get; }
Property Value
type
Declaration
[Preserve]
[InputControl(displayName = "Input Control Type")]
public IntegerControl type { get; }
Property Value
Methods
FinishSetup()
Declaration
protected override void FinishSetup()
Overrides
StartLEDEffect(LEDEffect, LEDSpeed, LEDPattern, LEDColor, uint)
Declaration
public bool StartLEDEffect(LEDEffect ledEffect, LEDSpeed ledSpeed, LEDPattern ledPattern, LEDColor ledColor, uint durationMs)
Parameters
Returns
StartLEDPattern(LEDPattern, LEDColor, uint)
Declaration
public bool StartLEDPattern(LEDPattern ledPattern, LEDColor ledColor, uint durationMs)
Parameters
Returns
StartVibe(VibePattern, VibeIntensity)
Declaration
public bool StartVibe(VibePattern pattern, VibeIntensity vibeIntensity)
Parameters
Returns