Scale
Creates a new Scale from a Vector2.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
Scale(Vector2)
Creates a new Scale from a Vector2.
public Scale(Vector2 scale)
Parameters
Scale(Vector3)
Creates a new Scale from a Vector3.
public Scale(Vector3 scale)
Parameters
Remarks
Scaling in the Z axis is currently unsupported. Consequently, if a Z value different than 1.0f is provided, a warning is issued and the Z value is forced to 1.0f.