Lottie::Evaluator
Inherits Reference < Object
Constructors
new(comp : Comp)
SourceInstance methods
evaluate(frame : Float64) : Array(DrawPath)
Flat painted paths for frame in DRAWABLE order — bottom-up,
i.e. reversed document order (AE stacking: the first JSON layer
and the first "it" item paint last / sit on top). This is the
order rlottie's render_tree emits, verified by the dataset
replay (emoji_2764: [5,6,5,3,6] document → [6,3,5,6,5] dump).
evaluate_grouped(frame : Float64) : Array(LayerDraws)
Per-layer grouping (document order) for the raster's matte walk.
layer_matrix(scope : Array(Layer), layer : Layer, frame : Float64, depth = 0) : Matrix
Layer matrix with the parent chain applied (rlottie Layer::matrix: own transform first, then the parent's, recursively). Parent lookup is scoped to the layer's OWN composition — rlottie resolves it among the comp's children only.