Sdílet prostřednictvím


OrientationSensorData Struktura

Definice

Obsahuje orientaci měřenou senzorem orientace zařízení uživatele.

public value class OrientationSensorData : IEquatable<Microsoft::Maui::Devices::Sensors::OrientationSensorData>
public readonly struct OrientationSensorData : IEquatable<Microsoft.Maui.Devices.Sensors.OrientationSensorData>
type OrientationSensorData = struct
Public Structure OrientationSensorData
Implements IEquatable(Of OrientationSensorData)
Dědičnost
OrientationSensorData
Implementuje

Konstruktory

OrientationSensorData(Double, Double, Double, Double)

Inicializuje novou instanci OrientationSensorData třídy .

OrientationSensorData(Single, Single, Single, Single)

Inicializuje novou instanci OrientationSensorData třídy .

Vlastnosti

Orientation

Získá aktuální orientaci, která představuje Quaternion.

Metody

Equals(Object)

Porovná základní OrientationSensorData instance.

Equals(OrientationSensorData)

Porovná základní OrientationSensorData instance.

GetHashCode()

Získejte kód hash objektu.

ToString()

Vrátí řetězcovou reprezentaci aktuálních hodnot .Orientation

Operátory

Equality(OrientationSensorData, OrientationSensorData)

Operátor rovnosti pro rovná se.

Inequality(OrientationSensorData, OrientationSensorData)

Operátor nerovnosti.

Platí pro