CC3ViewController Class Reference
Inherits from | CC3VCSuperclass |
Declared in | CC3ViewController.h |
Tasks
-
view
property -
– startAnimation
-
– pauseAnimation
-
– resumeAnimation
-
– stopAnimation
-
__deprecated
property
Properties
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