Game apps are one of the most popular categories in the Apple iTunes App Store. Well, the introduction of the new Swift programming language will make game development even more appealing and easier to existing and future iOS app developers. In resp
import UIKit import QuartzCore import SceneKit class GameViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() // create a new scene let scene = SCNScene(named: "art.scnassets/ship.scn")! // create and add a camera to
GVRSCNR渲染器
将Google Cardboard与SceneKit Rendering和ARKit World Tracking结合使用。 将ARKit与Google Cardboard结合使用可在VR中实现六个自由度(旋转和平移):
安装
可以使用CocoaPods将GVRSCNRenderer安装为依赖项:
target 'Your-App-Name' do
use_frameworks!
pod 'GVRSCNRenderer'
end
用法
建立在GVRRenderer的