SkinAndAnimationBounds class
A BoundsProvider that calculates the bounding box needed for a combination of skins and an animation.
- Inheritance
-
- Object
- BoundsProvider
- SkinAndAnimationBounds
Constructors
-
SkinAndAnimationBounds({List<
String> ? skins, String? animation, 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.
Properties
Methods
-
computeBounds(
SkeletonDrawable drawable) → Bounds -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited