Public Member Functions | Static Public Member Functions

CC3PODNodeAnimation Class Reference

POD files can contain information to animate the nodes. More...

#import <CC3NodePODExtensions.h>

Inheritance diagram for CC3PODNodeAnimation:
Inheritance graph
[legend]
Collaboration diagram for CC3PODNodeAnimation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initFromSPODNode:withFrameCount:

Static Public Member Functions

(id) + animationFromSPODNode:withFrameCount:
(BOOL) + sPODNodeDoesContainAnimation:

Detailed Description

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.


Member Function Documentation

+ (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.


The documentation for this class was generated from the following file: