#import <CC3NodePODExtensions.h>
Instance Methods | |
(id) | - initFromSPODNode:withFrameCount: |
Instance Methods inherited from CC3NodeAnimation | |
(void) | - establishFrameAt:forNode: |
(void) | - establishFrameAt:inNodeAnimationState: |
(id) | - initWithFrameCount: |
(CCTime) | - timeAtFrame: |
Class Methods | |
(id) | + animationFromSPODNode:withFrameCount: |
(BOOL) | + sPODNodeDoesContainAnimation: |
Class Methods inherited from CC3NodeAnimation | |
(id) | + animationWithFrameCount: |
(CCTime) | + interpolationEpsilon |
(void) | + setInterpolationEpsilon: |
Additional Inherited Members | |
Properties inherited from CC3NodeAnimation | |
GLuint | frameCount |
BOOL | hasVariableFrameTiming |
BOOL | isAnimating |
BOOL | isAnimatingLocation |
BOOL | isAnimatingQuaternion |
BOOL | isAnimatingScale |
BOOL | shouldInterpolate |
POD files can contain information to animate the nodes.
A CC3PODNodeAnimation instance manages the animation of a single node. It is held by the node itself, in the animation property, and is activated when the establishAnimationFrameAt: method is invoked on the node.
+ (id) animationFromSPODNode: | (PODStructPtr) | pSPODNode | |
withFrameCount: | (GLuint) | numFrames | |
Allocates and initializes an autoreleased instance to animate nodes using animation data found in the specified SPODNode structure, containing the specified number of animation frames.
Usually it's only worth instantiating an instance of this class if the SPODNode actually contains animation data. This can be checked with the sPODNodeDoesContainAnimation: class method.
- (id) initFromSPODNode: | (PODStructPtr) | pSPODNode | |
withFrameCount: | (GLuint) | numFrames | |
Initializes this instance to animate nodes using animation data found in the specified SPODNode structure, containing the specified number of animation frames.
Usually it's only worth instantiating an instance of this class if the SPODNode actually contains animation data. This can be checked with the sPODNodeDoesContainAnimation: class method.
+ (BOOL) sPODNodeDoesContainAnimation: | (PODStructPtr) | pSPODNode |
Returns whether the specified SPODNode structure contains animation data.