SpatialManipulationUpdatedEventArgs SpatialManipulationUpdatedEventArgs SpatialManipulationUpdatedEventArgs SpatialManipulationUpdatedEventArgs Class

Definition

Provides data for the SpatialGestureRecognizer.ManipulationUpdated event.

public : sealed class SpatialManipulationUpdatedEventArgs : ISpatialManipulationUpdatedEventArgspublic sealed class SpatialManipulationUpdatedEventArgs : ISpatialManipulationUpdatedEventArgsPublic NotInheritable Class SpatialManipulationUpdatedEventArgs Implements ISpatialManipulationUpdatedEventArgs// 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)

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.

Methods

TryGetCumulativeDelta(SpatialCoordinateSystem) TryGetCumulativeDelta(SpatialCoordinateSystem) TryGetCumulativeDelta(SpatialCoordinateSystem) TryGetCumulativeDelta(SpatialCoordinateSystem)

Get the relative motion of the hand since the start of the Manipulation gesture.

public : SpatialManipulationDelta TryGetCumulativeDelta(SpatialCoordinateSystem coordinateSystem)public SpatialManipulationDelta TryGetCumulativeDelta(SpatialCoordinateSystem coordinateSystem)Public Function TryGetCumulativeDelta(coordinateSystem As SpatialCoordinateSystem) As SpatialManipulationDelta// You can use this method in JavaScript.
Parameters
coordinateSystem
SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem SpatialCoordinateSystem

The coordinate system in which to express the delta.

Returns

Remarks

This motion is expressed in the specified coordinate system. If you want the path followed by the manipulation to represent translation through the world as the user walks around, specify an anchored or stationary coordinate system. If you want the path to stay relative to the user and ignore the user's translation, specify a locator-attached coordinate system.

This method will return null if the specified coordinate system cannot be located at the moment.