Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


InputDeviceRole

Enumeration describing the role of a InputDevice in providing input.
Read time 1 minuteLast updated 4 days ago

Definition

public enum InputDeviceRole : uint

Fields

Value

Description

GameControllerThis device is a game controller.
GenericThis device is typically a HMD or Camera.
HardwareTrackerThis device is a hardware tracker.
LeftHandedThis device is a controller that represents the left hand.
LegacyControllerThis device is a legacy controller.
RightHandedThis device is a controller that represents the right hand.
TrackingReferenceThis device is a tracking reference used to track other devices in 3D.
UnknownThis device does not have a known role.