Class UIInputModule
Base class for input modules that send UI input.
Inherited Members
Namespace: UnityEngine.XR.Interaction.Toolkit.UI
Syntax
public abstract class UIInputModule : BaseInputModule
Remarks
Multiple input modules may be placed on the same event system. In such a setup, the modules will synchronize with each other.
Properties
clickSpeed
The maximum time (in seconds) between two mouse presses for it to be consecutive click.
Declaration
public float clickSpeed { get; set; }
Property Value
Type | Description |
---|---|
Single |
moveDeadzone
The absolute value required by a move action on either axis required to trigger a move event.
Declaration
public float moveDeadzone { get; set; }
Property Value
Type | Description |
---|---|
Single |
repeatDelay
The Initial delay (in seconds) between an initial move action and a repeated move action.
Declaration
public float repeatDelay { get; set; }
Property Value
Type | Description |
---|---|
Single |
repeatRate
The speed (in seconds) that the move action repeats itself once repeating.
Declaration
public float repeatRate { get; set; }
Property Value
Type | Description |
---|---|
Single |
trackedDeviceDragThresholdMultiplier
Scales the pixelDragThreshold, for tracked devices, to make selection easier.
Declaration
public float trackedDeviceDragThresholdMultiplier { get; set; }
Property Value
Type | Description |
---|---|
Single |
uiCamera
The Camera that is used to perform 2D raycasts when determining the screen space location of a tracked device cursor.
Declaration
public Camera uiCamera { get; set; }
Property Value
Type | Description |
---|---|
Camera |
Methods
DoProcess()
Process the current tick for the module.
Declaration
protected abstract void DoProcess()
Remarks
Executed once per Update call.
Process()
Declaration
public override void Process()