Sensor​Quaternion Sensor​Quaternion Sensor​Quaternion Sensor​Quaternion Class

Definition

Represents a Quaternion.

public : sealed class SensorQuaternion : ISensorQuaternionpublic sealed class SensorQuaternion : ISensorQuaternionPublic NotInheritable Class SensorQuaternion Implements ISensorQuaternion// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This object is accessed when your app supports the ReadingChanged event for the OrientationSensor object.

Properties

W W W W

Gets the w-value of the Quaternion.

public : float W { get; }public float W { get; }Public ReadOnly Property W As float// You can use this property in JavaScript.
Value
float float float float

The w-value of the Quaternion.

X X X X

Gets the x-value of the Quaternion.

public : float X { get; }public float X { get; }Public ReadOnly Property X As float// You can use this property in JavaScript.
Value
float float float float

The x-value of the Quaternion.

Y Y Y Y

Gets the y-value of the Quaternion.

public : float Y { get; }public float Y { get; }Public ReadOnly Property Y As float// You can use this property in JavaScript.
Value
float float float float

The y-value of the Quaternion.

Z Z Z Z

Gets the z-value of the Quaternion.

public : float Z { get; }public float Z { get; }Public ReadOnly Property Z As float// You can use this property in JavaScript.
Value
float float float float

The z-value of the Quaternion.

See Also