Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Scale

Represents the scale applied as element transformations. The center point that doesn't move when the scaling is applied is the TransformOrigin.
Read time 1 minuteLast updated 4 days ago

Definition

public struct Scale : IEquatable<Scale>

Constructors

Constructor

Description

Scale(UnityEngine.Vector2)Creates a new Scale from a Vector2.
Scale(UnityEngine.Vector3)Creates a new Scale from a Vector3.

Static Methods

Method

Description

NoneReturns a value of Scale without any scaling applied.