SensorQuaternion クラス

定義

四元数を表します。

public ref class SensorQuaternion sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SensorQuaternion final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SensorQuaternion
Public NotInheritable Class SensorQuaternion
継承
Object Platform::Object IInspectable SensorQuaternion
属性

Windows の要件

デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

注釈

このオブジェクトは、アプリが OrientationSensor オブジェクトの ReadingChanged イベントをサポートしている場合にアクセスされます。

プロパティ

W

四元数の w 値を取得します。

X

四元数の x 値を取得します。

Y

四元数の y 値を取得します。

Z

四元数の z 値を取得します。

適用対象

こちらもご覧ください