UpdaterEvent

Qualified name: algan.animation\_timeline.timeline.UpdaterEvent

class UpdaterEvent(function, caller, args, kwargs, time)[source]

Bases: object

An updater: function(mob, time_elapsed, *args, **kwargs) is applied at every frame in time.start <= t < time.end, with time_elapsed equal to t - time.start.

Methods

invocation_for_signature

Build a view of the caller graph containing historical Mobs.

register_history_clone

replacement_signature_at

Return (original, visible historical clone) pairs at time.

Attributes

function

caller

args

kwargs

time

dependency_mob_ids

recursive_dependency_mob_ids

invocation_for_signature(signature)[source]

Build a view of the caller graph containing historical Mobs.

The view shares every untouched Mob’s timeline id. Only references to objects replaced by detach_history point at the independent clone, so ordinary updater code can keep navigating user attributes and child lists without knowing that ownership changed.

replacement_signature_at(time)[source]

Return (original, visible historical clone) pairs at time.