SpatialInteractionSourceKind
SpatialInteractionSourceKind
SpatialInteractionSourceKind
SpatialInteractionSourceKind
Enum
Definition
Specifies the kind of an interaction source.
public : enum class SpatialInteractionSourceKindpublic enum SpatialInteractionSourceKindPublic Enum SpatialInteractionSourceKind// You can use this enum in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10586.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Fields
| Controller Controller Controller Controller | The interaction source is a motion controller. |
| Hand Hand Hand Hand | The interaction source is one of the user's hands. |
| Other Other Other Other | The interaction source is of a kind not known in this version of the API. |
| Voice Voice Voice Voice | The interaction source is the user's speech, when speaking a system command such as "Select". |
Remarks
This only enumerates sources of interactions, such as hand gestures and voice commands. The user's head gaze is used for pointing and is represented separately by the SpatialPointerPose type.