기술 자료

Unity Engine

Unity Engine

Rotate

Provides rotation information for visual elements that rotates around the TransformOrigin. Positive values represent clockwise rotation.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public struct Rotate : IEquatable<Rotate>

Constructors

Constructor

Description

Rotate(UnityEngine.Quaternion)Create a Rotate struct that corresponds to a rotation specified by the provided Quaternion.
Rotate(UnityEngine.UIElements.Angle)Create a Rotate struct that correspond to a rotation around the z axis by the provided Angle.
Rotate(UnityEngine.UIElements.Angle,UnityEngine.Vector3)Create a Rotate struct that corresponds to a rotation around the specified axis by the provided Angle.

Properties

Property

Description

angleThe angle applied by the rotation. Positive values represent clockwise rotation and negative values represent counterclockwise rotation.

Static Methods

Method

Description

NoneReturn a value of Rotate that applies no rotation