CC3PODNodeAnimation Class Reference
Inherits from | CC3NodeAnimation : NSObject |
Declared in | CC3NodePODExtensions.h CC3NodePODExtensions.mm |
Overview
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.
Tasks
Other Methods
-
– initFromSPODNode:withFrameCount:
-
+ animationFromSPODNode:withFrameCount:
-
+ sPODNodeDoesContainAnimation:
Other Methods
Class Methods
animationFromSPODNode:withFrameCount:
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.
+ (id)animationFromSPODNode:(PODStructPtr)pSPODNode withFrameCount:(GLuint)numFrames
Discussion
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.
Declared In
CC3NodePODExtensions.h
Instance Methods
initFromSPODNode:withFrameCount:
Initializes this instance to animate nodes using animation data found in the specified SPODNode structure, containing the specified number of animation frames.
- (id)initFromSPODNode:(PODStructPtr)pSPODNode withFrameCount:(GLuint)numFrames
Discussion
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.
Declared In
CC3NodePODExtensions.h
isAnimatingLocation
Indicates whether location animated content is available and is enabled.
- (BOOL)isAnimatingLocation
Declared In
CC3NodeAnimation.h
isAnimatingQuaternion
Indicates whether rotation quaternion animated content is available and is enabled.
- (BOOL)isAnimatingQuaternion
Declared In
CC3NodeAnimation.h