SpatialLocation.AbsoluteLinearAcceleration 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 absolute acceleration vector of the device in units of meters per second squared. This acceleration is expressed in the supplied coordinate system, although the motion is measured relative to the user's surroundings.
public:
property float3 AbsoluteLinearAcceleration { float3 get(); };
float3 AbsoluteLinearAcceleration();
public Vector3 AbsoluteLinearAcceleration { get; }
var vector3 = spatialLocation.absoluteLinearAcceleration;
Public ReadOnly Property AbsoluteLinearAcceleration As Vector3
Property Value
The acceleration.
Remarks
The acceleration values reported by this API are inverted; to get the actual acceleration, negate all three components. Velocity values are reported correctly and do not need to be negated.