varollo.asepriteimporter.asepritesheet - Varollo/aseprite-importer GitHub Wiki
Namespace: Varollo.AsepriteImporter
Object representing a Aseprite sprite sheet data.
public class AsepriteSheet
Inheritance Object → AsepriteSheet
Attributes DefaultMemberAttribute
public AsepriteFrame Item { get; }
public IEnumerable<AsepriteFrame> Item { get; }
Array containing all frames in the sprite sheet.
Represents property
"frames"
on frame's JSON data.
public AsepriteFrame[] Frames { get; internal set; }
(optional) Meta data about the sprite sheet.
Represents property
"meta"
on frame's JSON data.
public Nullable<AsepriteMetaData> MetaData { get; internal set; }
Amount of frames in the sprite sheet.
public int FrameCount { get; }
public AsepriteSheet()
Checks whether or not an animation, represented by a name
, is present in the sprite sheet.
public bool HasAnimation(string name)
name
String
Key name
of the animation, corresponding to AsepriteTagData.Name, or AsepriteFrame.Name
Boolean
true
when animation is present, false
when it isn't.