Sets the x
and y
properties of the node.
SDKs
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Sprite
Kit
Sets the x
and y
properties of the node.
SDKs
Framework
var z Rotation: CGFloat
The Euler rotation about the z axis (in radians).
var x Scale: CGFloat
A scaling factor that multiplies the width of a node and its children.
var y Scale: CGFloat
A scaling factor that multiplies the height of a node and its children.