OrientationSensorData Constructors
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.
Overloads
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. |
OrientationSensorData(Double, Double, Double, Double)
- Source:
- OrientationSensor.shared.cs
- Source:
- OrientationSensor.shared.cs
Initializes a new instance of the OrientationSensorData class.
public:
OrientationSensorData(double x, double y, double z, double w);
public OrientationSensorData (double x, double y, double z, double w);
new Microsoft.Maui.Devices.Sensors.OrientationSensorData : double * double * double * double -> Microsoft.Maui.Devices.Sensors.OrientationSensorData
Public Sub New (x As Double, y As Double, z As Double, w As Double)
Parameters
- x
- Double
X axis data.
- y
- Double
Y axis data.
- z
- Double
Z axis data.
- w
- Double
W axis data.
Applies to
OrientationSensorData(Single, Single, Single, Single)
- Source:
- OrientationSensor.shared.cs
- Source:
- OrientationSensor.shared.cs
Initializes a new instance of the OrientationSensorData class.
public:
OrientationSensorData(float x, float y, float z, float w);
public OrientationSensorData (float x, float y, float z, float w);
new Microsoft.Maui.Devices.Sensors.OrientationSensorData : single * single * single * single -> Microsoft.Maui.Devices.Sensors.OrientationSensorData
Public Sub New (x As Single, y As Single, z As Single, w As Single)
Parameters
- x
- Single
X axis data.
- y
- Single
Y axis data.
- z
- Single
Z axis data.
- w
- Single
W axis data.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.