#import <CC3NodesResource.h>
Instance Methods | |
(GLuint) | - addAnimationInResource: |
(void) | - addAnimationInResource:asTrack: |
Extension category to provide support for adding animation in a resource to existing nodes.
- (GLuint) addAnimationInResource: | (CC3NodesResource *) | rez |
Adds the animation contained in the nodes in the specified nodes resource to this node and all its descendants.
The animation is added in a new track, whose ID is returned from this method.
The getNodeMatching: method of the specified resource is used to match each node in this hierarchy to the corresponding node in the specified resource.
Extends class CC3Node.
- (void) addAnimationInResource: | (CC3NodesResource *) | rez | |
asTrack: | (GLuint) | trackID | |
Adds the animation contained in the nodes in the specified nodes resource to this node and all its descendants.
The animation is added as the specified track.
The getNodeMatching: method of the specified resource is used to match each node in this hierarchy to the corresponding node in the specified resource.
Extends class CC3Node.