Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpHAnimHierarchy Struct Reference
[RpHAnim]

Collaboration diagram for RpHAnimHierarchy:
Collaboration graph

Data Fields

RwInt32  flags
RwInt32  numNodes
RwMatrix pMatrixArray
void *  pMatrixArrayUnaligned
RpHAnimNodeInfo pNodeInfo
RwFrame parentFrame
RpHAnimHierarchy *  parentHierarchy
RwInt32  rootParentOffset
RtAnimInterpolator currentAnim

Detailed Description

An RpHAnimHierarchy is used to "play back" an animation.

The structure of a hierarchy is defined by an array of RpHAnimNodeInfo structures.

The hierarchy is defined by running through the node array in order, pushing the parent-node's matrix whenever a child is reached that has more than one sibling, and popping the parent matrix when a "leaf" node is encountered.


Field Documentation

RtAnimInterpolator* currentAnim
 

Internal use

RwInt32 flags
 

Flags for the hierarchy

RwInt32 numNodes
 

Number of nodes in the hierarchy

RwFrame* parentFrame
 

Pointer to the Root RwFrame of the hierarchy this RpHAnimHierarchy represents

RpHAnimHierarchy* parentHierarchy
 

Internal use

RwMatrix* pMatrixArray
 

Pointer to node matrices

void* pMatrixArrayUnaligned
 

Pointer to memory used for node matrices from which the aligned pMatrixArray is allocated

RpHAnimNodeInfo* pNodeInfo
 

Array of node information (push/pop flags etc)

RwInt32 rootParentOffset
 

Internal use


Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:05 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)