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

Overview

A CC3SkinMeshNode extracted from a POD file.

Instance Methods

description

- (NSString *)description

initAtIndex:fromPODResource:

Overridden to extract the bone batches from the associated POD mesh structure

- (id)initAtIndex:(GLint)aPODIndex fromPODResource:(CC3PODResource *)aPODRez

Declared In

CC3PODVertexSkinning.mm

linkToPODNodes:

Link the nodes in the bone batches.

- (void)linkToPODNodes:(NSArray *)nodeArray

Declared In

CC3PODVertexSkinning.mm

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:(CC3PODSkinMeshNode *)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

setMesh:

Overridden to verify that the mesh is not constructed from triangle strips, which are not compatible with the way that skin sections render mesh sections.

- (void)setMesh:(CC3Mesh *)mesh

Declared In

CC3PODVertexSkinning.mm

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