Created
June 1, 2020 08:46
-
-
Save factoryhr/c328e08c850dd6c4e968ef1243db7ef5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func createNode(){ | |
let boxGeometry = SCNBox(width: 0.2, height: 0.2, length: 0.2, chamferRadius: 0) | |
let node = SCNNode(geometry: boxGeometry) | |
sceneView.scene.rootNode.addChildNode(node) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment