Scale Constructor

Declaration

public Scale(Vector2 scale);

Description

Creates a new Scale from a Vector2.


Declaration

public Scale(Vector3 scale);

Description

Creates a new Scale from a Vector3.

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.


Did you find this page useful? Please give it a rating: