A name associated with the geometry object.
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 3.0+
You can provide a descriptive name for a geometry object to make managing your scene graph easier. Geometries loaded from a scene file may have names assigned by an artist using a 3D authoring tool. Use the
SCNScene class to examine geometries in a scene file without loading its scene graph.
Geometry names are saved when you export a scene to a file using its
write(to: method. They also appear in the Xcode scene editor.