harmony 鸿蒙ArkUI_RotationOptions

  • 2025-06-12
  • 浏览 (4)

ArkUI_RotationOptions

Overview

Defines the rotation options for component transition.

Since: 12

Related module: ArkUI_NativeModule

Summary

Member Variables

Parameter Description
float x X-component of the rotation vector.
float y Y-component of the rotation vector.
float z Z-component of the rotation vector.
float angle Angle to rotate.
float centerX X-coordinate of the center point.
float centerY Y-coordinate of the center point.
float centerZ Z-axis anchor, that is, the z-component of the 3D rotation center point.
float 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.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙ArkUI

harmony 鸿蒙ARKUI_TextPickerCascadeRangeContent

harmony 鸿蒙ARKUI_TextPickerRangeContent

harmony 鸿蒙ArkUI_AnimateCompleteCallback

harmony 鸿蒙ArkUI_AttributeItem

harmony 鸿蒙ArkUI_ColorStop

harmony 鸿蒙ArkUI_ContextCallback

harmony 鸿蒙ArkUI_EventModule

harmony 鸿蒙ArkUI_ExpectedFrameRateRange

harmony 鸿蒙ArkUI_IntOffset

0  赞