init(geometry:)
Creates and returns a node object with the specified geometry attached.
Declaration
init(geometry: SCNGeometry?)Parameters
- geometry:
The geometry to be attached.
Return Value
A new node object with the geometry attached, or nil if initialization is not successful.