共用方式為


OrientationSensorData 建構函式

定義

多載

OrientationSensorData(Double, Double, Double, Double)

初始化 OrientationSensorData 類別的新執行個體。

OrientationSensorData(Single, Single, Single, Single)

初始化 OrientationSensorData 類別的新執行個體。

OrientationSensorData(Double, Double, Double, Double)

來源:
OrientationSensor.shared.cs
來源:
OrientationSensor.shared.cs

初始化 OrientationSensorData 類別的新執行個體。

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)

參數

x
Double

X 軸數據。

y
Double

Y 軸數據。

z
Double

Z 軸數據。

w
Double

W 軸數據。

適用於

OrientationSensorData(Single, Single, Single, Single)

來源:
OrientationSensor.shared.cs
來源:
OrientationSensor.shared.cs

初始化 OrientationSensorData 類別的新執行個體。

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)

參數

x
Single

X 軸數據。

y
Single

Y 軸數據。

z
Single

Z 軸數據。

w
Single

W 軸數據。

適用於