Share via


SpatialLocation.AbsoluteAngularVelocityAxisAngle Property

Definition

Gets the absolute angular velocity of the device in an axis-angle representation in units of radians per second. This velocity is expressed in the supplied coordinate system, although the motion is measured relative to the user's surroundings.

public:
 property float3 AbsoluteAngularVelocityAxisAngle { float3 get(); };
float3 AbsoluteAngularVelocityAxisAngle();
public Vector3 AbsoluteAngularVelocityAxisAngle { get; }
var vector3 = spatialLocation.absoluteAngularVelocityAxisAngle;
Public ReadOnly Property AbsoluteAngularVelocityAxisAngle As Vector3

Property Value

Vector3 Vector3

float3

The angular velocity as an axis-angle.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Remarks

The value of the property is a vector which indicates the axis of rotation. The magnitude of the vector indicates the rate of rotation clockwise about the axis, looking back along the vector towards the origin - that is, according to the left-hand rule. For example, in a coordinate system where +Y points upward, turning to the right will produce an axis-angle with a direction close to (0, 1, 0) and a magnitude proportional to the rate of rotation. Note that this is the opposite convention from the angular acceleration axis angle, which uses the right-hand rule. You can change the convention of either vector to make the values consistent by negating all three components.

Applies to