Protocol

SKWarpable

A protocol for objects that can be warped and animated by an SKWarpGeometry.

Topics

Instance Properties

var subdivisionLevels: Int

The maximum number of subdivision iterations used to generate the final vertices.

Required.

var warpGeometry: SKWarpGeometry?

The warp geometry used to define the distortion.

Required.

Relationships

Inherits From

See Also

Warping Nodes

class SKWarpGeometry

A definition for a deformation of nodes that conform to SKWarpable.

class SKWarpGeometryGrid

A definition for a grid based deformation of nodes that conform to SKWarpable.