v2.0.2
Instance Methods | Properties | List of all members
CC3CSFResource Class Reference

#import <CC3CSFResource.h>

Inheritance diagram for CC3CSFResource:
Inheritance graph
[legend]

Instance Methods

(CC3CALNode *) - getNodeWithCALIndex:
 
- Instance Methods inherited from CC3NodesResource
(void) - addNode:
 
(CC3Node *) - getNodeMatching:
 
(void) - removeNode:
 
- Instance Methods inherited from CC3Resource
(NSString *) - constructorDescription
 
(id) - initFromFile:
 
(id) - initFromResourceFile:
 
(BOOL) - loadFromFile:
 
(BOOL) - loadFromResourceFile:
 
(BOOL) - processFile:
 
(void) - remove
 
(BOOL) - saveToFile:
 
- Instance Methods inherited from CC3Identifiable
(void) - __deprecated
 
(id) - copy
 
(id) - copyAsClass:
 
(void) - copyUserDataFrom:
 
(id) - copyWithName:
 
(id) - copyWithName:asClass:
 
(id) - copyWithZone:withName:
 
(id) - copyWithZone:withName:asClass:
 
(BOOL) - deriveNameFrom:
 
(BOOL) - deriveNameFrom:usingSuffix:
 
(NSString *) - fullDescription
 
(id) - init
 
(id) - initAtIndex:fromPODResource:
 
(void) - initUserData
 
(id) - initWithName:
 
(id) - initWithTag:
 
(id) - initWithTag:withName:
 
(GLuint) - nextTag
 
(void) - populateFrom:
 

Properties

NSArray * allNodes
 
ccColor4F ambientLight
 
int fileVersion
 
- Properties inherited from CC3NodesResource
BOOL expectsVerticallyFlippedTextures
 
NSArray * nodes
 
BOOL shouldFreezeInanimateNodes
 
- Properties inherited from CC3Resource
NSArray *nodes __deprecated
 
BOOL
expectsVerticallyFlippedTextures 
__deprecated
 
NSString * directory
 
BOOL isBigEndian
 
BOOL wasLoaded
 
- Properties inherited from CC3Identifiable
NSObject *sharedUserData __deprecated
 
NSString * name
 
NSString * nameSuffix
 
GLint podIndex
 
BOOL shouldIncludeInDeepCopy
 
GLuint tag
 
NSObject * userData
 
- Properties inherited from <CC3Cacheable>
NSString * name
 

Additional Inherited Members

- Class Methods inherited from CC3NodesResource
(BOOL) + defaultExpectsVerticallyFlippedTextures
 
(BOOL) + defaultShouldFreezeInanimateNodes
 
(id) + resourceFromFile:expectsVerticallyFlippedTextures:
 
(void) + setDefaultExpectsVerticallyFlippedTextures:
 
(void) + setDefaultShouldFreezeInanimateNodes:
 

Detailed Description

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

Method Documentation

- (CC3CALNode*) getNodeWithCALIndex: (GLint)  calIndex

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

Property Documentation

- (NSArray*) allNodes
readnonatomicretain

A collection of all of the nodes extracted from the CSF file.

This is the equivalent of flattening the nodes array.

- (ccColor4F) ambientLight
readnonatomicassign

The color of the ambient light in the scene.

- (int) fileVersion
readnonatomicassign

The file format version, extracted from the file.


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