MixedRealityInputActionMapping Class

Definition

Maps the capabilities of controllers, defining the physical inputs of a controller.

C++
public ref class MixedRealityInputActionMapping
Inheritance
MixedRealityInputActionMapping
Attributes

Remarks

One definition should exist for each physical device input, such as buttons, triggers, joysticks, dpads, etc.

Constructors

MixedRealityInputActionMapping(String, AxisType, DeviceInputType, MixedRealityInputAction)

The constructor for a new MixedRealityInputActionMapping definition

MixedRealityInputActionMapping(String, AxisType, DeviceInputType)

The constructor for a new MixedRealityInputActionMapping definition

Properties

AxisType

The axis type of the button, e.g. Analog, Digital, etc.

Description

The description of the input action mapping.

InputAction

Action to be raised when the input data has changed.

InputType

The primary action of the input as defined by the controller SDK.

Applies to

Produkt Versioner
MRTK2 Unity 2018 2.6.0, 2.7.0
MRTK2 Unity 2019 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.6.0, 2.7.0, 2.8.0