1# ArkUI_TranslationOptions
2
3
4## 概述
5
6定义组件转场时的平移效果对象。
7
8**起始版本:** 12
9
10**相关模块:**[ArkUI_NativeModule](_ark_u_i___native_module.md)
11
12
13## 汇总
14
15
16### 成员变量
17
18| 名称 | 描述 |
19| -------- | -------- |
20| float [x](#x) | 横向的平移距离。  |
21| float [y](#y) | 纵向的平移距离。  |
22| float [z](#z) | 竖向的平移距离。  |
23
24
25## 结构体成员变量说明
26
27
28### x
29
30```
31float ArkUI_TranslationOptions::x
32```
33**描述:**
34
35横向的平移距离。
36
37
38### y
39
40```
41float ArkUI_TranslationOptions::y
42```
43**描述:**
44
45纵向的平移距离。
46
47
48### z
49
50```
51float ArkUI_TranslationOptions::z
52```
53**描述:**
54
55竖向的平移距离。
56