Protocol

SKWarpable

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

Declaration

protocol SKWarpable

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

Conforming Types

See Also

Warping

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software