SpatialInteraction
SpatialInteraction
SpatialInteraction
SpatialInteraction
Class
Definition
Represents an interaction caused by a hand, motion controller, or the user's voice.
public : sealed class SpatialInteraction : ISpatialInteractionpublic sealed class SpatialInteraction : ISpatialInteractionPublic NotInheritable Class SpatialInteraction Implements ISpatialInteraction// You can use this class 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)
|
Remarks
SpatialInteraction objects are not generally meant to be interpreted directly. Instead, you should target the interaction to a particular hologram based on the SpatialPointerPose from the InteractionDetected event arguments. You can then route recognition of this interaction to that hologram's SpatialGestureRecognizer by calling its CaptureInteraction method.
Properties
SourceState SourceState SourceState SourceState
Gets the state associated with the source update that triggered this gesture.
public : SpatialInteractionSourceState SourceState { get; }public SpatialInteractionSourceState SourceState { get; }Public ReadOnly Property SourceState As SpatialInteractionSourceState// You can use this property in JavaScript.