Windows Dev Center

SensorQuaternion class

Represents a Quaternion.

Syntax


Public NotInheritable Class SensorQuaternion

Members

The SensorQuaternion class has these types of members:

Properties

The SensorQuaternion class has these properties.

PropertyAccess typeDescription

W

Read-onlyGets the w-value of the Quaternion.

X

Read-onlyGets the x-value of the Quaternion.

Y

Read-onlyGets the y-value of the Quaternion.

Z

Read-onlyGets the z-value of the Quaternion.

 

Remarks

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

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Devices.Sensors
Windows::Devices::Sensors [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Devices.Sensors
Windows::Devices::Sensors [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

See also

Object
Sensor data and display orientation

 

 

Show:
© 2015 Microsoft