Contents

referenceURL

The URL to a scene file from which to load content for the reference node.

Declaration

var referenceURL: URL { get set }

Discussion

When the reference node loads its content (either automatically, according to the loadingPolicy property, or when you call the load() method), SceneKit loads the referenced scene file. All children of the scene file’s root node become children of the reference node.

See Also

Loading and Unloading a Reference Node’s Content