diff --git a/arkui/ace_engine/native/native_node.h b/arkui/ace_engine/native/native_node.h index b2d484739a173dad09048b3b72f650d0bb30f222..0e8667948ebaa34e4e01b3330e293ea88b53d2d0 100644 --- a/arkui/ace_engine/native/native_node.h +++ b/arkui/ace_engine/native/native_node.h @@ -1963,6 +1963,25 @@ typedef enum { */ NODE_TRANSLATE_WITH_PERCENT = 103, + /** + * @brief Sets component rotation with multi-axis angle control. This attribute can be set, reset, and obtained as required through APIs. + * + * Format of the {@link ArkUI_AttributeItem} parameter for setting the attribute:\n + * .value[0].f32: x-axis rotation angle. The default value is 0. \n + * .value[1].f32: y-axis rotation angle. The default value is 0. \n + * .value[2].f32: z-axis rotation angle. The default value is 0. \n + * .value[3].f32: perspective distance from the viewpoint to the z=0 plane, in vp. The default value is 0. \n + * \n + * Format of the return value {@link ArkUI_AttributeItem}:\n + * .value[0].f32: x-axis rotation angle. The default value is 0. + * .value[1].f32: y-axis rotation angle. The default value is 0. \n + * .value[2].f32: z-axis rotation angle. The default value is 0. \n + * .value[3].f32: perspective distance from the viewpoint to the z=0 plane, in vp. The default value is 0. \n + * + * @since 20 + */ + NODE_ROTATE_ANGLE = 104, + /** * @brief Defines the text content attribute, which can be set, reset, and obtained as required through APIs. *