SpatialNavigationCompletedEventArgs
SpatialNavigationCompletedEventArgs
SpatialNavigationCompletedEventArgs
SpatialNavigationCompletedEventArgs
Class
Definition
Provides data for the SpatialGestureRecognizer.NavigationCompleted event.
public : sealed class SpatialNavigationCompletedEventArgs : ISpatialNavigationCompletedEventArgspublic sealed class SpatialNavigationCompletedEventArgs : ISpatialNavigationCompletedEventArgsPublic NotInheritable Class SpatialNavigationCompletedEventArgs Implements ISpatialNavigationCompletedEventArgs// You can use this class in JavaScript.
- Attributes
| 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
Gets the kind of interaction source associated with this gesture.
public : SpatialInteractionSourceKind InteractionSourceKind { get; }public SpatialInteractionSourceKind InteractionSourceKind { get; }Public ReadOnly Property InteractionSourceKind As SpatialInteractionSourceKind// You can use this property in JavaScript.
- Value
- SpatialInteractionSourceKind SpatialInteractionSourceKind SpatialInteractionSourceKind SpatialInteractionSourceKind
The interaction source kind.
NormalizedOffset NormalizedOffset NormalizedOffset NormalizedOffset
Gets the normalized offset of the hand or motion controller within the unit cube for all axes for this Navigation gesture.
public : Vector3 NormalizedOffset { get; }public Vector3 NormalizedOffset { get; }Public ReadOnly Property NormalizedOffset As Vector3// You can use this property in JavaScript.
- Value
- Vector3 Vector3 Vector3 Vector3
The normalized offset.
Remarks
For hand interactions, the unit cube is oriented relative to the user's head at the time of the finger press.
The NormalizedOffset is returned as a vector along three axes within the cube: Horizontal, Vertical, and Depth, respectively. For each axis, the value ranges from -1.0 to 1.0 as motion in that axis reaches its extent. A value of 0.0 means no motion in that axis. These are normalized values and do not represent any physical unit, such as meters. It's up to an app to assign meaning, such as scroll velocity, to motion of the hand or controller within the unit cube.