SpatialInteraction SpatialInteraction SpatialInteraction SpatialInteraction SpatialInteraction Class

Definition

Represents an interaction caused by a hand, motion controller, or the user's voice.

public : sealed class SpatialInteraction
struct winrt::Windows::UI::Input::Spatial::SpatialInteraction
public sealed class SpatialInteraction
Public NotInheritable Class SpatialInteraction
// This class does not provide a public constructor.
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 SourceState

Gets the state associated with the source update that triggered this gesture.