共用方式為


CMAcceleration 結構

定義

包含加速值的 3D 向量。

public struct CMAcceleration
type CMAcceleration = struct
繼承
CMAcceleration

建構函式

CMAcceleration(Double, Double, Double)

使用 Gs 中的值,沿著指定的座標軸建立新的 CMAcceleration 物件。

欄位

X

在 Gs 中沿著 X 軸加速。

Y

Gs 中的 Y 軸加速。

Z

在 Gs 中沿著 Z 軸加速。

方法

ToString()

字串,格式為 $「a= ({x},{y},{z}) 」。

適用於