# ArkUI_RotationOptions ## 概述 定义组件转场时的旋转效果对象。 **起始版本:** 12 **相关模块:**[ArkUI_NativeModule](_ark_u_i___native_module.md) ## 汇总 ### 成员变量 | 名称 | 描述 | | -------- | -------- | | float [x](#x) | 横向的旋转向量分量。 | | float [y](#y) | 纵向的旋转向量分量。 | | float [z](#z) | 竖向的旋转向量分量。 | | float [angle](#angle) | 旋转角度。 | | float [centerX](#centerx) | 变换中心点x轴坐标。 | | float [centerY](#centery) | 变换中心点y轴坐标。 | | float [centerZ](#centerz) | z轴锚点,即3D旋转中心点的z轴分量。 | | float [perspective](#perspective) | 视距,即视点到z=0平面的距离。 | ## 结构体成员变量说明 ### angle ``` float ArkUI_RotationOptions::angle ``` **描述:** 旋转角度。 ### centerX ``` float ArkUI_RotationOptions::centerX ``` **描述:** 变换中心点x轴坐标。 ### centerY ``` float ArkUI_RotationOptions::centerY ``` **描述:** 变换中心点y轴坐标。 ### centerZ ``` float ArkUI_RotationOptions::centerZ ``` **描述:** z轴锚点,即3D旋转中心点的z轴分量。 ### perspective ``` float ArkUI_RotationOptions::perspective ``` **描述:** 视距,即视点到z=0平面的距离。 ### x ``` float ArkUI_RotationOptions::x ``` **描述:** 横向的旋转向量分量。 ### y ``` float ArkUI_RotationOptions::y ``` **描述:** 纵向的旋转向量分量。 ### z ``` float ArkUI_RotationOptions::z ``` **描述:** 竖向的旋转向量分量。