SpineSkeletonJson class
Class for work with Spine skeleton.
Constructors
- SpineSkeletonJson(File file)
-
Build with
file
. - SpineSkeletonJson.path(String path)
-
Build with
path
.factory
Properties
Methods
-
leaveAnimations(
List< String> names) → JsonMap -
Leaves animation contains
names
. -
moveAnimation(
String nameFrom, String nameTo) → JsonMap -
Move animation from
namesFrom
tonameTo
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAnimation(
String name) → JsonMap -
Remove animation with
name
. -
save(
JsonMap newJson) → void -
Save
newJson
to file. -
scale(
num s) → JsonMap - Scales animation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
needToScaleInnerFields
→ const List<
String> - Fields for scale.
-
needToScaleRootFields
→ const List<
String> - Fields for scale.