Instance Property

targets

The array of target geometries to morph between.

Declaration

@property(nonatomic, copy) NSArray<SCNGeometry *> *targets;

Discussion

An array of SCNGeometry objects.

A morpher blends between a base geometry, specified in the geometry property of the node the morpher is attached to, and one or more target geometries. The base geometry and all target geometries must be topologically identical—that is, they must contain the same number and structural arrangement of vertices.

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