# ArkUI_RotationOptions ## Overview Defines the rotation options for component transition. **Since**: 12 **Related module**: [ArkUI_NativeModule](_ark_u_i___native_module.md) ## Summary ### Member Variables | Parameter| Description| | -------- | -------- | | float [x](#x) | X-component of the rotation vector. | | float [y](#y) | Y-component of the rotation vector. | | float [z](#z) | Z-component of the rotation vector. | | float [angle](#angle) | Angle to rotate. | | float [centerX](#centerx) | X-coordinate of the center point. | | float [centerY](#centery) | Y-coordinate of the center point. | | float [centerZ](#centerz) | Z-axis anchor, that is, the z-component of the 3D rotation center point. | | float [perspective](#perspective) | Distance from the user to the z=0 plane. | ## Member Variable Description ### angle ``` float ArkUI_RotationOptions::angle ``` **Description** Rotation angle. ### centerX ``` float ArkUI_RotationOptions::centerX ``` **Description** X-coordinate of the center point. ### centerY ``` float ArkUI_RotationOptions::centerY ``` **Description** Y-coordinate of the center point. ### centerZ ``` float ArkUI_RotationOptions::centerZ ``` **Description** Z-axis anchor, that is, the z-component of the 3D rotation center point. ### perspective ``` float ArkUI_RotationOptions::perspective ``` **Description** Distance from the user to the z=0 plane. ### x ``` float ArkUI_RotationOptions::x ``` **Description** X-component of the rotation vector. ### y ``` float ArkUI_RotationOptions::y ``` **Description** Y-component of the rotation vector. ### z ``` float ArkUI_RotationOptions::z ``` **Description** Z-component of the rotation vector.