Modifica

Condividi tramite


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.

public enum class Handedness
[System.Flags]
public enum Handedness
[<System.Flags>]
type Handedness = 
Public Enum 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