DataDungeon::ImageKeyframe
Inherits JSON::Serializable < Struct < Value < Object
One checkpoint of an animation, at_ms after its start: only the fields
that change, each reaching its value then. Between checkpoints a value
glides from its neighbour (numbers in a straight line, a view or light
along the shorter arc), or with held jumps at the checkpoint, for an
animation that switches rather than moves. DataDungeon measures the
content box at each checkpoint of an animated WebP.
Constructors
new(pull : JSON::PullParser)
Sourcenew(at_ms : Int32, held : Bool = false, view : Direction | Nil = nil, light : Direction | Nil = nil, anchor_x : Float64 | Nil = nil, anchor_y : Float64 | Nil = nil, view_x : Float64 | Nil = nil, view_y : Float64 | Nil = nil, view_z : Float64 | Nil = nil, view_roll : Float64 | Nil = nil, light_x : Float64 | Nil = nil, light_y : Float64 | Nil = nil, light_z : Float64 | Nil = nil, content_x : Int32 | Nil = nil, content_y : Int32 | Nil = nil, content_w : Int32 | Nil = nil, content_h : Int32 | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
anchor_x
Sourceanchor_y
Sourceat_ms
Sourcecontent_h
Sourcecontent_w
Sourcecontent_x
Sourcecontent_y
Sourceheld?
Sourcelight
Sourcelight_x
Sourcelight_y
Sourcelight_z
Sourceview
Sourceview_roll
Sourceview_x
Sourceview_y
Sourceview_z
Source