OrientationSensorData 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
OrientationSensorData(Double, Double, Double, Double) |
初始化 OrientationSensorData 类的新实例。 |
OrientationSensorData(Single, Single, Single, Single) |
初始化 OrientationSensorData 类的新实例。 |
OrientationSensorData(Double, Double, Double, Double)
- Source:
- OrientationSensor.shared.cs
- Source:
- 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)
- Source:
- OrientationSensor.shared.cs
- Source:
- 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 轴数据。