1# ArkUI_RotationOptions 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| float [angle](#angle) | 旋转角度。 | 24| float [centerX](#centerx) | 变换中心点x轴坐标。 | 25| float [centerY](#centery) | 变换中心点y轴坐标。 | 26| float [centerZ](#centerz) | z轴锚点,即3D旋转中心点的z轴分量。 | 27| float [perspective](#perspective) | 视距,即视点到z=0平面的距离。 | 28 29 30## 结构体成员变量说明 31 32 33### angle 34 35``` 36float ArkUI_RotationOptions::angle 37``` 38**描述:** 39 40旋转角度。 41 42 43### centerX 44 45``` 46float ArkUI_RotationOptions::centerX 47``` 48**描述:** 49 50变换中心点x轴坐标。 51 52 53### centerY 54 55``` 56float ArkUI_RotationOptions::centerY 57``` 58**描述:** 59 60变换中心点y轴坐标。 61 62 63### centerZ 64 65``` 66float ArkUI_RotationOptions::centerZ 67``` 68**描述:** 69 70z轴锚点,即3D旋转中心点的z轴分量。 71 72 73### perspective 74 75``` 76float ArkUI_RotationOptions::perspective 77``` 78**描述:** 79 80视距,即视点到z=0平面的距离。 81 82 83### x 84 85``` 86float ArkUI_RotationOptions::x 87``` 88**描述:** 89 90横向的旋转向量分量。 91 92 93### y 94 95``` 96float ArkUI_RotationOptions::y 97``` 98**描述:** 99 100纵向的旋转向量分量。 101 102 103### z 104 105``` 106float ArkUI_RotationOptions::z 107``` 108**描述:** 109 110竖向的旋转向量分量。 111