class IconRenderer::Assets::AnimationSprite
- IconRenderer::Assets::AnimationSprite
- Reference
- Object
Overview
Represents the metadata of an animation frame's sprite
Defined in:
assets.crConstructors
- .new(texture : String, position : Tuple(Float32, Float32), scale : Tuple(Float32, Float32), rotation : Float64, flipped : Tuple(Int32, Int32), z : Int32)
- .new(obj : PList::Value)
Instance Method Summary
- #flipped : Tuple(Bool, Bool)
- #position : Tuple(Float32, Float32)
- #rotation : Float64
- #scale : Tuple(Float32, Float32)
- #texture : String
- #z : Int32
Constructor Detail
def self.new(texture : String, position : Tuple(Float32, Float32), scale : Tuple(Float32, Float32), rotation : Float64, flipped : Tuple(Int32, Int32), z : Int32)
#