Demo entry 6660378

Swift

   

Submitted by anonymous on Nov 15, 2017 at 08:29
Language: Swift. Code size: 198 Bytes.

let scene = SCNScene()
let cameraNode = SCNNode()
let camera = SCNCamera() 
cameraNode.camera = camera cameraNode.position = SCNVector3(x: 0, y: 0, z: 0) 
scene.rootNode.addChildNode(cameraNode)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).