Skip to content

anim-format (runtime format) / ValuesHost

Interface: ValuesHost ​

What a player supplies for one evaluation of a timeline.

Properties ​

PropertyTypeDescription
dtnumberseconds since the last evaluation (functions with memory)
framenumber-
pointer?Vec-
progressnumber-
timenumberseconds / frames since the timeline started; 0..1 through it

Methods ​

channel() ​

ts
channel(layer, channel): Value | undefined;

what the TIMELINE says property channel of layer layer's object is now; undefined = nothing there

Parameters ​

ParameterType
layernumber
channelstring

Returns ​

Value | undefined


global()? ​

ts
global?(id): Value | undefined;

a Globals row by id

Parameters ​

ParameterType
idstring

Returns ​

Value | undefined


input() ​

ts
input(def): Value | undefined;

the value given to an Input (code, the enclosing timeline, iv); undefined = its default

Parameters ​

ParameterType
defAnimInput

Returns ​

Value | undefined

HereSplash — 2D animation for the web