Contents

yScale

A scaling factor that multiplies the height of a node and its children.

Declaration

var yScale: CGFloat { get set }

Mentioned in

Discussion

The yScale property scales the height of the node and all of its descendants. The scale value affects how a node’s frame is calculated, its hit test area, how it is drawn, and other similar characteristics. The default value is 1.0.

See Also

Scaling and Rotating