EditRecord¶
Qualified name: algan.animation\_timeline.timeline.EditRecord
- class EditRecord(indexes, values, time, seq=0, event=None)[source]¶
Bases:
objectOne recorded modification of an attribute’s buffer rows.
Stores the rows’ pre-modification values together with the end time of the animation that made the modification: materialization reconstructs a row’s base state at time
tas the pre-value of the earliest-executed edit still unfinished att, then re-applies the functions active atton top of it, in execution order.seqis the global execution (recording) order across all attributes, andeventis theFunctionApplicationEventwhose function made the modification (None for edits recorded outside animated functions).replay_endis the edit’s effective end used for base selection: its own end time, extended over the replay windows of every earlier-executed edit that overlaps it in time on shared rows (seeAnimationTimeline._resolve_replay_windows()). It is resolved to a float at render time, once context rescaling is final.authored_targetis optional: the exact value the author assigned, when the recording site can supply it (Surface.color_texture’s setter does). The state the write STORES ispre + (target - pre), which is an ulp off the authored value per element – enough to void thek / 255provenance u8 texture storage needs. A segment window uses the authored value as its interpolation TARGET (only ever sampled through a weight, so the substitution stays inside the description’s qualified tolerance); the states constant frames read remain the stored ones, bit for bit.Methods
Attributes
indexesvaluestimeseqeventreplay_endauthored_target