OrientationSensorData Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains the orientation measured by the user's device orientation sensor.
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)
- Inheritance
-
OrientationSensorData
- Implements
Constructors
OrientationSensorData(Double, Double, Double, Double) |
Initializes a new instance of the OrientationSensorData class. |
OrientationSensorData(Single, Single, Single, Single) |
Initializes a new instance of the OrientationSensorData class. |
Properties
Orientation |
Gets the current orientation that represents a Quaternion. |
Methods
Equals(Object) |
Compares the underlying OrientationSensorData instances. |
Equals(OrientationSensorData) |
Compares the underlying OrientationSensorData instances. |
GetHashCode() |
Get the hash code for object. |
ToString() |
Returns a string representation of the current values of Orientation. |
Operators
Equality(OrientationSensorData, OrientationSensorData) |
Equality operator for equals. |
Inequality(OrientationSensorData, OrientationSensorData) |
Inequality operator. |