OrientationSensorData
Namespace: Wisej.Hybrid.Shared.Sensors
Assembly: Wisej.Hybrid
Contains the orientation measured by the user's device orientation sensor.
- C#
- VB.NET
public class OrientationSensorData : IEquatable<OrientationSensorData>
Public Class OrientationSensorData
Inherits IEquatable(Of OrientationSensorData)
Constructors
OrientationSensorData()
Initializes a new instance of OrientationSensorData.
OrientationSensorData(x, y, z, w)
Initializes a new instance of the OrientationSensorData class.
| Name | Type | Description |
|---|---|---|
| x | Double | X axis data. |
| y | Double | Y axis data. |
| z | Double | Z axis data. |
| w | Double | W axis data. |
OrientationSensorData(x, y, z, w)
Initializes a new instance of the OrientationSensorData class.
| Name | Type | Description |
|---|---|---|
| x | Single | X axis data. |
| y | Single | Y axis data. |
| z | Single | Z axis data. |
| w | Single | W axis data. |
Properties
Orientation
Quaternion: Gets the current orientation that represents a Quaternion.