Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


Handedness Enum

Definition

The Handedness defines which hand a controller is currently operating in. It is up to the developer to determine whether this affects the use of a controller or not. "Other" defines potential controllers that will offer a "third" hand, e.g. a full body tracking suit.

This enumeration supports a bitwise combination of its member values.

C++
public enum class Handedness
Inheritance
Handedness
Attributes

Fields

Name Value Description
None 0

No hand specified by the SDK for the controller

Left 1

The controller is identified as being provided in a Left hand

Right 2

The controller is identified as being provided in a Right hand

Both 3

The controller is identified as being either left and/or right handed.

Other 4

Reserved, for systems that provide alternate hand state.

Any 7

Global catchall, used to map actions to any controller (provided the controller supports it)

Applies to

Termék Verziók
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0