spine_constraint_timeline1_apply method

void spine_constraint_timeline1_apply(
  1. spine_constraint_timeline1 self,
  2. spine_skeleton skeleton,
  3. double lastTime,
  4. double time,
  5. spine_array_event events,
  6. double alpha,
  7. int blend,
  8. int direction,
  9. bool appliedPose,
)

Sets the value(s) for the specified time.

@param skeleton The skeleton the timeline is being applied to. This provides access to the bones, slots, and other skeleton components the timeline may change. @param lastTime lastTime The time this timeline was last applied. Timelines such as EventTimeline trigger only at specific times rather than every frame. In that case, the timeline triggers everything between lastTime (exclusive) and time (inclusive). @param time The time within the animation. Most timelines find the key before and the key after this time so they can interpolate between the keys. @param events If any events are fired, they are added to this array. Can be NULL to ignore firing events or if the timeline does not fire events. May be NULL. @param alpha alpha 0 applies the current or setup pose value (depending on pose parameter). 1 applies the timeline value. Between 0 and 1 applies a value between the current or setup pose and the timeline value. By adjusting alpha over time, an animation can be mixed in or out. alpha can also be useful to apply animations on top of each other (layered). @param blend Controls how mixing is applied when alpha is than 1. @param direction Indicates whether the timeline is mixing in or out. Used by timelines which perform instant transitions such as DrawOrderTimeline and AttachmentTimeline. @param appliedPose True to modify the applied pose.

Implementation

void spine_constraint_timeline1_apply(
  spine_constraint_timeline1 self,
  spine_skeleton skeleton,
  double lastTime,
  double time,
  spine_array_event events,
  double alpha,
  int blend,
  int direction,
  bool appliedPose,
) {
  return _spine_constraint_timeline1_apply(
    self,
    skeleton,
    lastTime,
    time,
    events,
    alpha,
    blend,
    direction,
    appliedPose,
  );
}