animationState property

AnimationState? get animationState

The AnimationState this track entry belongs to. May be NULL if TrackEntry is directly instantiated.

Implementation

AnimationState? get animationState {
  final result = SpineBindings.bindings.spine_track_entry_get_animation_state(_ptr);
  return result.address == 0 ? null : AnimationState.fromPointer(result);
}
set animationState (AnimationState? value)

Implementation

set animationState(AnimationState? value) {
  SpineBindings.bindings
      .spine_track_entry_set_animation_state(_ptr, value?.nativePtr.cast() ?? Pointer.fromAddress(0));
}