# ArkUI_TranslationOptions ## 概述 定义组件转场时的平移效果对象。 **起始版本:** 12 **相关模块:**[ArkUI_NativeModule](_ark_u_i___native_module.md) ## 汇总 ### 成员变量 | 名称 | 描述 | | -------- | -------- | | float [x](#x) | 横向的平移距离。 | | float [y](#y) | 纵向的平移距离。 | | float [z](#z) | 竖向的平移距离。 | ## 结构体成员变量说明 ### x ``` float ArkUI_TranslationOptions::x ``` **描述:** 横向的平移距离。 ### y ``` float ArkUI_TranslationOptions::y ``` **描述:** 纵向的平移距离。 ### z ``` float ArkUI_TranslationOptions::z ``` **描述:** 竖向的平移距离。