Contents

SCNReferenceNode

A scene graph node that serves as a placeholder for content to be loaded from a separate scene file.

Declaration

@MainActor class SCNReferenceNode
class SCNReferenceNode

Overview

When you tell a reference node to load its content, SceneKit loads the referenced scene file and makes children of the scene file’s root node become children of the reference node.

Topics

Creating a Reference Node

Loading and Unloading a Reference Node’s Content

Constants

Initializers

See Also

Scene Structure