SpatialManipulationUpdatedEventArgs.TryGetCumulativeDelta(SpatialCoordinateSystem) SpatialManipulationUpdatedEventArgs.TryGetCumulativeDelta(SpatialCoordinateSystem) SpatialManipulationUpdatedEventArgs.TryGetCumulativeDelta(SpatialCoordinateSystem) SpatialManipulationUpdatedEventArgs.TryGetCumulativeDelta(SpatialCoordinateSystem) SpatialManipulationUpdatedEventArgs.TryGetCumulativeDelta(SpatialCoordinateSystem) Method

Definition

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

public : SpatialManipulationDelta TryGetCumulativeDelta(SpatialCoordinateSystem coordinateSystem)
SpatialManipulationDelta TryGetCumulativeDelta(SpatialCoordinateSystem coordinateSystem) const;
public SpatialManipulationDelta TryGetCumulativeDelta(SpatialCoordinateSystem coordinateSystem)
Public Function TryGetCumulativeDelta(coordinateSystem As SpatialCoordinateSystem) As SpatialManipulationDelta
var spatialManipulationDelta = spatialManipulationUpdatedEventArgs.tryGetCumulativeDelta(coordinateSystem);

Parameters

coordinateSystem
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.