AnimBone_TransitionTo



AnimBone_TransitionTo pAnimBone, pAnimTrack, Duration, FirstFrame, LastFrame, Speed, bExcludeChildren

Description

Interpolates to, then begins playing an animation sequence onto the specified AnimBone. 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
pAnimTrackINTEGERThe AnimTrack which contains the animation keyframe data
DurationFLOATThe number of milliseconds it should take to complete the transition
FirstFrameFLOATThe ID of the origin frame
LastFrameFLOATThe ID of the destination frame
SpeedFLOATThe rate which the animation frame should advance for each millisecond
bExcludeChildrenBOOLChild bone exclusion flag


AnimBone Commands
jGpuSkin Command Index
jGpuSkin Main