Share via


OrientationSensorData Constructors

Definition

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