Type Method

nodeWithGeometry:

Creates and returns a node object with the specified geometry attached.

Declaration

+ (SCNNode *)nodeWithGeometry:(SCNGeometry *)geometry;

Parameters

geometry

The geometry to be attached.

Return Value

A new node object with the geometry attached, or nil if initialization is not successful.

See Also

Creating a Node

+ node

Creates and returns a node object.

+ nodeWithMDLObject:

Creates a node from the specified Model I/O object.