SpatialLocation.AbsoluteAngularVelocityAxisAngle 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 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
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.