SensorQuaternion SensorQuaternion SensorQuaternion SensorQuaternion Class

Definition

Represents a Quaternion.

public : sealed class SensorQuaternion : ISensorQuaternion
public sealed class SensorQuaternion : ISensorQuaternion
Public NotInheritable Class SensorQuaternion Implements ISensorQuaternion
// This class does not provide a public constructor.
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
var float = sensorQuaternion.w;
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
var float = sensorQuaternion.x;
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
var float = sensorQuaternion.y;
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
var float = sensorQuaternion.z;
Value
float float float float

The z-value of the Quaternion.

See Also