Node.scaleValue

Scale an offset value, given an axis and a scale

If axis is -1, apply magnitude and sign to signed properties. If axis is 0 or 1, apply magnitude only unless the property is signed and aligned with that axis.

Note that scale adjustments are not considered aligned, since we consider preserving aspect ratio to be the user intent by default.

class Node
float
scaleValue
(
string key
,
float value
,
int axis
,
float scale
)

Meta