v2.0.2
Instance Methods | List of all members
CC3Node(CC3NodesResource) Category Reference

#import <CC3NodesResource.h>

Instance Methods

(GLuint) - addAnimationInResource:
 
(void) - addAnimationInResource:asTrack:
 

Detailed Description

Extension category to provide support for adding animation in a resource to existing nodes.

Method Documentation

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


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