v2.0.2
Instance Methods | Class Methods | Properties | List of all members
CC3Node(PVRPOD) Category Reference

#import <CC3NodePODExtensions.h>

Instance Methods

(void) - linkToPODNodes:
 
(PODStructPtr- nodePODStructAtIndex:fromPODResource:
 

Class Methods

(id) + nodeAtIndex:fromPODResource:
 

Properties

GLuint podUserDataSize __deprecated
 
BOOL isBasePODNode
 
GLint podContentIndex
 
GLint podParentIndex
 
GLint podTargetIndex
 

Detailed Description

Extensions to CC3Node to support PVR POD data.

Method Documentation

- (void) linkToPODNodes: (NSArray *)  nodeArray

Create links to the nodes in the specified array.

This implementation attaches this node to its parent as identified by the podParentIndex property. Subclasses may override to perform other linking.

Extends class CC3Node.

+ (id) nodeAtIndex: (GLint)  aPODIndex
fromPODResource: (CC3PODResource *)  aPODRez 

Allocates and initializes an autoreleased instance from the data of this type at the specified index within the specified POD resource.

Extends class CC3Node.

- (PODStructPtr) nodePODStructAtIndex: (GLuint)  aPODIndex
fromPODResource: (CC3PODResource *)  aPODRez 

Returns the underlying SPODNode data structure from the specified resource, for the SPODNode at the specified index.

The returned pointer must be cast to SPODNode before accessing any internals of the data structure.

Extends class CC3Node.

Property Documentation

- (GLuint podUserDataSize) __deprecated
readwritenonatomicassign
Deprecated:
The user data loaded from the POD file is now held in the userData property as an NSData instance.

Extends class CC3Node.

- (BOOL) isBasePODNode
readnonatomicassign

Indicates whether this POD is a base node, meaning that it has no parent.

Extends class CC3Node.

- (GLint) podContentIndex
readwritenonatomicassign

The index of the POD data that forms the type-specific content of this node.

This is distinct from the podIndex property, which is the index of the data for the node, which may be of any node type. Once the type is established, the type-specific content is indexed by the podContentIndex property.

This abstract implementation does not map this property to an instance variable, and always returns kCC3PODNilIndex. Concrete subclasses must override to map to an actual instance variable.

Extends class CC3Node.

- (GLint) podParentIndex
readwritenonatomicassign

The index of the parent node of this node.

This will be -1 if this node has no parent.

This abstract implementation does not map this property to an instance variable, and always returns kCC3PODNilIndex. Concrete subclasses must override to map to an actual instance variable.

Extends class CC3Node.

- (GLint) podTargetIndex
readwritenonatomicassign

The index of the node that is the target of this node.

This node will be linked to its target in the linkToPODNodes: method.

This abstract implementation does not map this property to an instance variable, and always returns kCC3PODNilIndex. Concrete subclasses must override to map to an actual instance variable.

Extends class CC3Node.


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