SkinAndAnimationBounds class

A BoundsProvider that calculates the bounding box needed for a combination of skins and an animation.

Inheritance

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

animation String?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skins List<String>
final
stepTime double
final

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