Class HandheldARInputDevice
A Handheld AR device layout that represents a mobile AR device, for use with the Input System package.
Inherited Members
InputDevice.InvalidDeviceId
InputDevice.MakeCurrent()
InputDevice.OnAdded()
InputDevice.OnRemoved()
InputDevice.OnConfigurationChanged()
InputDevice.ExecuteCommand<TCommand>(ref TCommand)
InputDevice.ExecuteCommand(InputDeviceCommand*)
InputDevice.enabled
InputDevice.canRunInBackground
InputDevice.native
InputDevice.deviceId
InputDevice.lastUpdateTime
InputControl.ToString()
InputControl.EvaluateMagnitude()
InputControl.RefreshConfigurationIfNeeded()
InputControl.RefreshConfiguration()
InputControl.displayName
InputControl.path
InputControl.device
InputControl.parent
InputControl.children
InputControl.noisy
InputControl.previousFrameStatePtr
InputControl.defaultStatePtr
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
[Preserve]
[InputControlLayout(displayName = "AR Handheld Device", isGenericTypeOfDevice = true)]
public class HandheldARInputDevice : InputDevice
Properties
devicePosition
The position in 3D space of the device.
Declaration
[Preserve]
[InputControl]
public Vector3Control devicePosition { get; }
Property Value
Type | Description |
---|---|
Vector3Control |
deviceRotation
The rotation in 3D space of the device.
Declaration
[Preserve]
[InputControl]
public QuaternionControl deviceRotation { get; }
Property Value
Type | Description |
---|---|
QuaternionControl |
Methods
FinishSetup()
Finishes setting up the device by storing the child controls.
Declaration
protected override void FinishSetup()
Overrides
UnityEngine.InputSystem.InputControl.FinishSetup()