init(url:)
Initializes a node whose content is to be loaded from the referenced URL.
Declaration
init?(url referenceURL: URL)Parameters
- referenceURL:
The URL to a scene file from which to load the node’s content.
Return Value
A new reference node.
Discussion
Using this initializer does not load the node’s content. To load content from the referenced URL, use the load() method.