SpatialManipulationUpdatedEventArgs.TryGetCumulativeDelta Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the relative motion of the hand since the start of the Manipulation gesture.
public:
virtual SpatialManipulationDelta ^ TryGetCumulativeDelta(SpatialCoordinateSystem ^ coordinateSystem) = TryGetCumulativeDelta;
SpatialManipulationDelta TryGetCumulativeDelta(SpatialCoordinateSystem const& coordinateSystem);
public SpatialManipulationDelta TryGetCumulativeDelta(SpatialCoordinateSystem coordinateSystem);
function tryGetCumulativeDelta(coordinateSystem)
Public Function TryGetCumulativeDelta (coordinateSystem As SpatialCoordinateSystem) As SpatialManipulationDelta
Parameters
- coordinateSystem
- SpatialCoordinateSystem
The coordinate system in which to express the delta.
Returns
The delta.
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.