A name associated with the node.
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
You can provide a descriptive name for a node to make managing your scene graph easier. Nodes loaded from a scene file may have names assigned by an artist using a 3D authoring tool. Use the
child method to retrieve a node from a scene graph by its name, or the
SCNScene class to examine nodes in a scene file without loading its scene graph.
The names of nodes and their attached objects are saved when you export a scene to a file using its
write method, and appear in the Xcode scene editor. The SceneKit statistics view (see
shows) also shows the names of nodes with attached cameras.