Inherits from CC3MeshNode : CC3LocalContentNode : CC3Node : CC3Identifiable : NSObject
Declared in CC3PODMeshNode.h
CC3PODMeshNode.mm

Overview

A CC3MeshNode whose content originates from POD resource data.

This is a concrete implementation of the CC3Node category PVRPOD.

Instance Methods

description

- (NSString *)description

podContentIndex

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

- (GLint)podContentIndex

Discussion

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.

Declared In

CC3NodePODExtensions.h

podIndex

The index of this object in the POD resource data. This generally means the podIndex'th type of object of the class.

- (GLint)podIndex

Declared In

CC3IdentifiablePODExtensions.h

podMaterialIndex

The index of the material in the POD file used by this node.

- (GLint)podMaterialIndex

Declared In

CC3PODMeshNode.h

podParentIndex

The index of the parent node of this node. This will be -1 if this node has no parent.

- (GLint)podParentIndex

Discussion

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.

Declared In

CC3NodePODExtensions.h

populateFrom:

Template method that populates this instance from the specified other instance.

- (void)populateFrom:(CC3PODMeshNode *)another

Discussion

This method is invoked automatically during object copying via the copy or copyWithZone: method. In most situations, the application should use the copy method, and should never need to invoke this method directly.

Subclasses that add additional instance state (instance variables) should extend copying by overriding this method to copy that additional state. Superclass that override this method should be sure to invoke the superclass implementation to ensure that superclass state is copied as well.

Declared In

CC3Identifiable.h

setMaterial:

The material covering this mesh node.

- (void)setMaterial:(CC3PODMaterial *)aMaterial

Discussion

When querying this property, if a material does not yet exist, this method invokes the makeMaterial method to create a suitable material, and sets it into this property.

Declared In

CC3MeshNode.h

setPodContentIndex:

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

- (void)setPodContentIndex:(GLint)aPODIndex

Discussion

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.

Declared In

CC3NodePODExtensions.h

setPodIndex:

The index of this object in the POD resource data. This generally means the podIndex'th type of object of the class.

- (void)setPodIndex:(GLint)aPODIndex

Declared In

CC3IdentifiablePODExtensions.h

setPodMaterialIndex:

The index of the material in the POD file used by this node.

- (void)setPodMaterialIndex:(GLint)aPODIndex

Declared In

CC3PODMeshNode.h

setPodParentIndex:

The index of the parent node of this node. This will be -1 if this node has no parent.

- (void)setPodParentIndex:(GLint)aPODIndex

Discussion

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.

Declared In

CC3NodePODExtensions.h