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.description
InputDevice.enabled
InputDevice.canRunInBackground
InputDevice.added
InputDevice.remote
InputDevice.native
InputDevice.updateBeforeRender
InputDevice.deviceId
InputDevice.lastUpdateTime
InputDevice.wasUpdatedThisFrame
InputDevice.allControls
InputDevice.valueType
InputDevice.valueSizeInBytes
InputDevice.all
InputDevice.MakeCurrent()
InputDevice.OnAdded()
InputDevice.OnRemoved()
InputDevice.OnConfigurationChanged()
InputDevice.ExecuteCommand<TCommand>(ref TCommand)
InputDevice.ExecuteCommand(InputDeviceCommand*)
InputControl.name
InputControl.displayName
InputControl.shortDisplayName
InputControl.path
InputControl.layout
InputControl.variants
InputControl.device
InputControl.parent
InputControl.children
InputControl.usages
InputControl.aliases
InputControl.stateBlock
InputControl.noisy
InputControl.synthetic
InputControl.magnitude
InputControl.ToString()
InputControl.EvaluateMagnitude()
InputControl.RefreshConfigurationIfNeeded()
InputControl.RefreshConfiguration()
InputControl.m_StateBlock
InputControl.currentStatePtr
InputControl.previousFrameStatePtr
InputControl.defaultStatePtr
InputControl.noiseMaskPtr
InputControl.stateOffsetRelativeToDeviceRoot
InputControl.optimizedControlDataType
InputControl.CalculateOptimizedControlDataType()
InputControl.ApplyParameterChanges()
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
[Preserve]
public class HandheldARInputDevice : InputDevice
Properties
devicePosition
The position in 3D space of the device.
Declaration
[Preserve]
public Vector3Control devicePosition { get; }
Property Value
Type | Description |
---|---|
Vector3Control |
deviceRotation
The rotation in 3D space of the device.
Declaration
[Preserve]
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()