AnimObject_InterpolateFrames



AnimObject_InterpolateFrames pAnimObj, pAnimTrackA, FrameIDA, pAnimTrackB, FrameIDB, Alpha

Description

Updates an AnimObject's skeleton to display an animation frame which is calculated by interpolating between two existing AnimTrack frames. The AnimObject must be updated using AnimObject_Update before the changes will become visible.

Parameters

pAnimObjINTEGERThe AnimObject which is to be effected
pAnimTrackAINTEGERThe AnimTrack which contains the FrameIDA's transformation data
FrameIDAFLOATThe ID of the origin frame to interpolate between
pAnimTrackBINTEGERThe AnimTrack which contains the FrameIDB's transformation data
FrameIDBFLOATThe ID of the destination frame to interpolate between
AlphaFLOATThe interpolation factor; possible values range from 0.0 to 1.0


AnimObject Commands
jGpuSkin Command Index
jGpuSkin Main