public Sprite(AnimationStrip animationStrip, Vector?size = null, Vector?origin = null, Mask?maskShape = null) { this.AnimationStrip = animationStrip; this.Size = size ?? animationStrip.SubImage(0).Size; this._origin = origin; this._maskShape = maskShape ?? Mask.Automatic; }
public SubTexture SubImage(double dt) => AnimationStrip.SubImage(dt);