On this page

UpdateFromFunc

from noon import UpdateFromFunc

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: object. Declared members follow; inherited and dynamically attached members are not expanded.

Run a callback over a finite, Rust-scheduled composition interval.

A direct ``lambda m: m.replace(target)`` with one closed typed target can
capture that target's identity when the composition is authored. Compatible
parallel affine motion runs as ordinary Rust tracks, including during seek.
Other callables and incompatible profiles retain ordered host execution and
its explicit replay restrictions. Capture never invokes the callable.

UpdateFromFunc.__init__

UpdateFromFunc.__init__(self, mobject: _base.Mobject, update_function: Callable[..., Any], run_time: float | None=None, rate_func: object=None, **kwargs: Any) -> None
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
mobjectpositional or keyword_base.MobjectNo default
update_functionpositional or keywordCallable[..., Any]No default
run_timepositional or keywordfloat | NoneNone
rate_funcpositional or keywordobjectNone
kwargs**kwargsAnyNo default

Return annotation: None

No docstring declared here. Consult the source and host reference.

Source declaration