Add Scene
View
SCNView
#import <SceneKit/SceneKit.h> @interface MainView : SCNView @end
Add 3D graphics
SCNScene *mainScene = [SCNScene sceneNamed:@"Chucky.dae"];
Only support .dae
Automatically light up scenes that have no light source
self.mainView.autoenablesDefaultLighting = YES;
Defult is NO
Camera Control
self.mainView.allowsCameraControl = YES;
User can turn around the 3D graphics in gesture
End
By T iOS