SpatialNavigationUpdatedEventArgs.NormalizedOffset Property
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.
Gets the normalized offset of the hand or motion controller within the unit cube for all axes for this Navigation gesture.
public:
property float3 NormalizedOffset { float3 get(); };
float3 NormalizedOffset();
public Vector3 NormalizedOffset { get; }
var vector3 = spatialNavigationUpdatedEventArgs.normalizedOffset;
Public ReadOnly Property NormalizedOffset As Vector3
Property Value
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.