AnimBone_InterpolateFrames



AnimBone_InterpolateFrames pAnimBone, pAnimTrackA, FrameIDA, pAnimTrackB, FrameIDB, Alpha, bExcludeChildren

Description

Sets an AnimBone to display an animation frame which is calculated by interpolating between two existing AnimTrack frames. If bExcludeChildren=0 all bones which descend from the specified AnimBone will also be effected, a value of 1 should be specified to avoid this behavior. The AnimObject must be updated using AnimObject_Update before the changes will become visible.

Parameters

pAnimBoneINTEGERThe AnimBone 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
bExcludeChildrenBOOLChild bone exclusion flag


AnimBone Commands
jGpuSkin Command Index
jGpuSkin Main