Share via


SpatialLocation.AbsoluteLinearAcceleration Property

Definition

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

Vector3 Vector3

float3

The acceleration.

Remarks

Important

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.

Applies to