SensorQuaternion SensorQuaternion SensorQuaternion SensorQuaternion Class

Represents a Quaternion.

Syntax

Declaration

public sealed class SensorQuaternionpublic sealed class SensorQuaternionPublic NotInheritable Class SensorQuaternionpublic sealed class SensorQuaternion

Remarks

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

Properties summary

Gets the w-value of the Quaternion.

Gets the x-value of the Quaternion.

Gets the y-value of the Quaternion.

Gets the z-value of the Quaternion.

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 floatpublic float W { get; }

    Property 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 floatpublic float X { get; }

    Property 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 floatpublic float Y { get; }

    Property 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 floatpublic float Z { get; }

    Property Value

    • float
      float
      float
      float

      The z-value of the Quaternion.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Devices.Sensors.dll