EnvironmentAnimationOptions
What an EnvironmentAnimationRuntime is built from.
@internote/canvas-sdkOn this page
import { EnvironmentAnimationOptions } from '@internote/canvas-sdk';#Fields
ctxHanded through to the hooks and handlers. The host passes the environment's context.
CtxdetachedA runtime that only reads: it neither listens to the steps nor dispatches hooks and verbs. What
EnvironmentAnimationRuntime.at builds.booleaninterpolationsHow keyframed values blend between keyframes. The built-in registry when absent.
InterpolationRegistrynodeThe compiled environment node this runtime animates.
CompiledNodeonStepCalled after every step change, with the step entered.
(step: number, ctx: Ctx) => voidparametersA token whose identity changes when any of the scene's parameters moves, and a reader of their numbers, called only when a value is not already cached. A
bool attribute written as a condition over a slider's letter (hidden: t > 3, D57) is decided against them, so every surface reads a boolean where it reads the attribute.() => { numbers: () => Record<string, number>; token: unknown }stepsThe scene's step controller, shared by every environment in the scene.
StepControllerverbsThe environment's verb handlers, keyed by vocabulary identifier.
Record<string, VerbHandler<Ctx>>Declared in packages/canvas-sdk/src/animation/EnvironmentAnimationRuntime.ts:83.