scale property
NotifyingVector3
get
scale
The scale part of the transform. The default scale factor is (1, 1, 1), a scale greater than 1 corresponds to expansion, and less than 1 is contraction. A negative scale is also allowed, and it corresponds to a mirror reflection around the corresponding axis. Scale factors can be different for X, Y and Z directions.
The returned vector can be modified by the user, and the changes will be propagated back to the transform matrix.
Implementation
NotifyingVector3 get scale => _scale;
set
scale
(Vector3 scale)
Implementation
set scale(Vector3 scale) => _scale.setFrom(scale);