Creates a new geometry object with no content (or default content).
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
A new geometry object.
This method creates a geometry with no visible content. You can use an empty geometry with another geometry’s
levels property to make the geometry disappear when it is too far away from the camera to usefully render.
SCNGeometry subclasses use this method to create geometry instances with default contents. For example, if you call this method on the
SCNSphere class, it creates a sphere geometry whose
radius property has the default value of
You cannot add geometry sources or elements to a geometry object after creating it. To create a custom geometry from your own source and element data, use the