Contents

SKTransformNode

A node that allows its children to rotate in 3D.

Declaration

class SKTransformNode

Overview

SKTranformNode adds the ability to rotate nodes across the x and y axes. When combined with SKNode’s zRotation property, nodes added as children to a transform node have the ability to rotate in 3D.

Topics

Rotating Child Nodes

Reading the Current Rotation

See Also

Nodes that Modify Drawing