'Can I set the background of a SCNScene from the scene editor in Xcode?
This might be a stupid question, but how can I set the background of my scene from the Scene editor itself ? I want the Scene to be transparent so I can overlay it on top of UI, for now I do it in code :
func initMainScene() -> SCNScene {
guard let newScene = SCNScene(named : "mainScene.scn")
else { fatalError("Unable to load scene file.") }
newScene.background.contents = UIColor.clear
return newScene
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
