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.OnAdded()
InputDevice.ExecuteCommand<TCommand>(ref TCommand)
InputDevice.ExecuteCommand(InputDeviceCommand*)
InputDevice.description
InputDevice.enabled
InputDevice.canRunInBackground
InputDevice.added
InputDevice.native
InputDevice.deviceId
InputDevice.lastUpdateTime
InputDevice.allControls
InputDevice.all
InputControl.ToString()
InputControl.EvaluateMagnitude()
InputControl.RefreshConfigurationIfNeeded()
InputControl.RefreshConfiguration()
InputControl.CalculateOptimizedControlDataType()
InputControl.ApplyParameterChanges()
InputControl.displayName
InputControl.shortDisplayName
InputControl.variants
InputControl.device
InputControl.children
InputControl.usages
InputControl.aliases
InputControl.stateBlock
InputControl.synthetic
InputControl.currentStatePtr
InputControl.previousFrameStatePtr
InputControl.defaultStatePtr
InputControl.stateOffsetRelativeToDeviceRoot
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()