spine_constraint_timeline1_apply method
- spine_constraint_timeline1 self,
- spine_skeleton skeleton,
- double lastTime,
- double time,
- spine_array_event events,
- double alpha,
- int from,
- bool add,
- bool out,
- bool appliedPose,
Applies this timeline to the skeleton.
See Applying Animations in the Spine Runtimes Guide.
@param skeleton The skeleton the timeline is applied to. This provides access to the bones, slots, and other skeleton components the timelines may change. @param lastTime The last time in seconds this timeline was applied. Some timelines trigger only at discrete times, in which case all keys are triggered between lastTime (exclusive) and time (inclusive). Pass -1 the first time a timeline is applied to ensure frame 0 is triggered. @param time The time in seconds the skeleton is being posed for. Timelines find the frame before and after this time and interpolate between the frame values. @param events If any events are fired, they are added to this list. Can be NULL to ignore fired events or if no timelines fire events. @param alpha 0 applies setup or current values (depending on from), 1 uses timeline values, and intermediate values interpolate between them. Adjusting alpha over time can mix a timeline in or out. @param from If true, alpha transitions between setup and timeline values, setup values are used before the first frame (current values are not used). If false, alpha transitions between current and timeline values, no change is made before the first frame. @param add If true, for timelines that support it, their values are added to the setup or current values (depending on from). @param out True when the animation is mixing out, else it is mixing in. Used by timelines that perform instant transitions. @param appliedPose True to modify getAppliedPose(), else getPose() is modified.
Implementation
void spine_constraint_timeline1_apply(
spine_constraint_timeline1 self,
spine_skeleton skeleton,
double lastTime,
double time,
spine_array_event events,
double alpha,
int from,
bool add,
bool out,
bool appliedPose,
) {
return _spine_constraint_timeline1_apply(
self,
skeleton,
lastTime,
time,
events,
alpha,
from,
add,
out,
appliedPose,
);
}