Inherits from CC3VCSuperclass
Declared in CC3ViewController.h

Overview

An instance of CC3ViewController manages the CCGLView to support the 3D environment.

Properties

__deprecated

@deprecated No longer used.

@property (nonatomic, retain) CCNode *__deprecated

Declared In

CC3ViewController.h

view

The view of a CC3ViewController must be of type CCGLView.

@property (nonatomic, retain) CCGLView *view

Declared In

CC3ViewController.h

Instance Methods

pauseAnimation

Reduces Cocos2D/3D animation to a minimum.

- (void)pauseAnimation

Discussion

Invoke this method when you want to reliquish CPU to perform some other task, such as displaying other views or windows. To ensure a responsive UI, you should invoke this method just before displaying other view components, such as modal or popover controllers.

Use the resumeAnimation method to restore the original animation level.

Declared In

CC3ViewController.h

resumeAnimation

Restores Cocos2D/3D animation to its original operating level, after having been temporarily reduced by a prior invocation of the pauseAnimation method.

- (void)resumeAnimation

Declared In

CC3ViewController.h

startAnimation

Starts the Cocos2D/3D animation.

- (void)startAnimation

Discussion

You should invoke this method when the application enters the foreground.

Use the stopAnimation method to stop the animation.

Declared In

CC3ViewController.h

stopAnimation

Stops the Cocos2D/3D animation.

- (void)stopAnimation

Discussion

You should invoke this method when the application will enter the background.

Use the startAnimation method to start the animation again.

Declared In

CC3ViewController.h