SpatialTappedEventArgs SpatialTappedEventArgs SpatialTappedEventArgs SpatialTappedEventArgs SpatialTappedEventArgs Class

Definition

Provides data for the SpatialGestureRecognizer.Tapped event.

public : sealed class SpatialTappedEventArgs
struct winrt::Windows::UI::Input::Spatial::SpatialTappedEventArgs
public sealed class SpatialTappedEventArgs
Public NotInheritable Class SpatialTappedEventArgs
// 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)

Properties

InteractionSourceKind InteractionSourceKind InteractionSourceKind InteractionSourceKind InteractionSourceKind

Gets the kind of interaction source associated with this gesture.

TapCount TapCount TapCount TapCount TapCount

The tap number represented by this gesture, either 1 or 2.

Methods

TryGetPointerPose(SpatialCoordinateSystem) TryGetPointerPose(SpatialCoordinateSystem) TryGetPointerPose(SpatialCoordinateSystem) TryGetPointerPose(SpatialCoordinateSystem) TryGetPointerPose(SpatialCoordinateSystem)

Gets the available pointer poses, such as the user's head gaze and each motion controller's pointer pose, for use in targeting this gesture.