apply method

bool apply(
  1. Skeleton skeleton
)

Poses the skeleton using the track entry animations. The animation state is not changed, so can be applied to multiple skeletons to pose them identically.

Returns True if any animations were applied.

Implementation

bool apply(Skeleton skeleton) {
  final result = SpineBindings.bindings.spine_animation_state_apply(_ptr, skeleton.nativePtr.cast());
  return result;
}