Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RtAnimInterpolator Struct Reference
[RtAnim]

Collaboration diagram for RtAnimInterpolator:

Collaboration graph

Data Fields

RtAnimAnimationpCurrentAnim
RwReal currentTime
void * pNextFrame
RtAnimCallBack pAnimCallBack
void * pAnimCallBackData
RwReal animCallBackTime
RtAnimCallBack pAnimLoopCallBack
void * pAnimLoopCallBackData
RwInt32 maxInterpKeyFrameSize
RwInt32 currentInterpKeyFrameSize
RwInt32 currentAnimKeyFrameSize
RwInt32 numNodes
RwBool isSubInterpolator
RwInt32 offsetInParent
RtAnimInterpolator * parentAnimation
RtAnimKeyFrameApplyCallBack keyFrameApplyCB
RtAnimKeyFrameBlendCallBack keyFrameBlendCB
RtAnimKeyFrameInterpolateCallBack keyFrameInterpolateCB
RtAnimKeyFrameAddCallBack keyFrameAddCB

Detailed Description

holds the current state for a particular instance of an animation, corresponding to a specific point in time.

The current interpolated keyframes are stored in an array after the end of this structure. For advanced use, these may be accessed using the macro rtANIMGETINTERPFRAME(interpolator, nodeIndex) which takes a pointer to the interpolator and the node index for the interpolated keyframe required.

See also:
RtAnimInterpolatorCreate , RtAnimInterpolatorDestroy , RtAnimInterpolatorSetCurrentAnim , RtAnimInterpolatorGetCurrentAnim , RtAnimInterpolatorSetKeyFrameCallBacks , RtAnimInterpolatorSetAnimLoopCallBack , RtAnimInterpolatorSetAnimCallBack , RtAnimInterpolatorCopy , RtAnimInterpolatorSubAnimTime , RtAnimInterpolatorAddAnimTime , RtAnimInterpolatorSetCurrentTime , RtAnimCallBack


Field Documentation

RwReal animCallBackTime
 

Trigger time for callback function

RwInt32 currentAnimKeyFrameSize
 

Size of animation keyframes in the current animation scheme

RwInt32 currentInterpKeyFrameSize
 

Size of interpolated keyframes in the current animation scheme

RwReal currentTime
 

Current animation time

RwBool isSubInterpolator
 

Internal use

RtAnimKeyFrameAddCallBack keyFrameAddCB
 

Internal use

RtAnimKeyFrameApplyCallBack keyFrameApplyCB
 

Internal use

RtAnimKeyFrameBlendCallBack keyFrameBlendCB
 

Internal use

RtAnimKeyFrameInterpolateCallBack keyFrameInterpolateCB
 

Internal use

RwInt32 maxInterpKeyFrameSize
 

Maximum size of interpolated keyframes usable on this animation (set at creation time)

RwInt32 numNodes
 

Number of nodes driven by the animation

RwInt32 offsetInParent
 

Internal use

RtAnimCallBack pAnimCallBack
 

Animation callback function pointer

void* pAnimCallBackData
 

Animation callback function user data

RtAnimCallBack pAnimLoopCallBack
 

Animation loop callback function pointer

void* pAnimLoopCallBackData
 

Animation loop callback function data

RtAnimInterpolator* parentAnimation
 

Internal use

RtAnimAnimation* pCurrentAnim
 

Current RtAnimAnimation applied

void* pNextFrame
 

Next animation keyframe to be played


Criterion Software © 1993-2004 Criterion Software Limited. All rights reserved. Built Thu Feb 12 13:46:45 2004. Send Feedback