Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Rotate

Provides rotation information for visual elements that rotates around the TransformOrigin. Positive values represent clockwise rotation.
Read time 1 minuteLast updated 4 days ago

Definition

public struct Rotate : IEquatable<Rotate>

Constructors

Constructor

Description

Rotate(UnityEngine.UIElements.Angle)Create a Rotate struct that correspond to a rotation around the z 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