SkinAndAnimationBounds constructor

SkinAndAnimationBounds({
  1. List<String>? skins,
  2. String? animation,
  3. double stepTime = 0.1,
})

Constructs a new provider that will use the given skins and animation to calculate the bounding box of the skeleton. If no skins are given, the default skin is used. The stepTime, given in seconds, defines at what interval the bounds should be sampled across the entire animation.

Implementation

SkinAndAnimationBounds({List<String>? skins, this.animation, this.stepTime = 0.1})
    : skins = skins == null || skins.isEmpty ? ["default"] : skins;