Inherits from CC3NodesResource : CC3Resource : CC3Identifiable : NSObject
Declared in CC3CSFResource.h

Overview

CC3CSFResource is a CC3NodesResource that loads a node hierarchy from a Cal3D-compatible CSF file.

Properties

allNodes

A collection of all of the nodes extracted from the CSF file. This is the equivalent of flattening the nodes array.

@property (nonatomic, retain, readonly) NSArray *allNodes

Declared In

CC3CSFResource.h

ambientLight

The color of the ambient light in the scene.

@property (nonatomic, readonly) ccColor4F ambientLight

Declared In

CC3CSFResource.h

fileVersion

The file format version, extracted from the file.

@property (nonatomic, readonly) int fileVersion

Declared In

CC3CSFResource.h

Instance Methods

getNodeWithCALIndex:

Retrieves the first node found with the specified calIndex, anywhere in the nodes contained in this resource. This performs a simple linear search through the all-nodes collection..

- (CC3CALNode *)getNodeWithCALIndex:(GLint)calIndex

Declared In

CC3CSFResource.h