ドキュメント

Unity Engine

Unity Engine

Rotate

Provides rotation information for visual elements that rotates around the TransformOrigin. Positive values represent clockwise rotation.
読み終わるまでの所要時間 1 分最終更新 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