ScaleY
The ScaleY accessor (class ) lets you set the vertical scaling factor of an object. When the value of this is changed, the object is scaled based on the new value. The scale is stored every time it is set, so resetting the scaling factor to a different value changes the size of the object by the delta of the old and new scaling factors.
Parameters
-
Graphic Node: Name of the graphic node to scale. It must be a graphic node.
-
Center Y: Y-coordinate of the center of the scale.
-
The type of this value is Float.
Example
This example shows a Scale accessor attached to a transformer object. The full prototype using this accessor is the transformer prototype in the samples library.