This version of Unity is unsupported.

Scale

struct in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Represents the scale applied as element transformations. The center point that doesn't move when the scaling is applied is the TransformOrigin.

Constructors

Scale Creates a new Scale from a Vector2.

Static Methods

None Returns a value of Scale without any scaling applied.