resolveTrackValue
Returns the momentary value of a keyframe track, blended by the attribute's interpolation kind while it moves.
@internote/canvas-sdkOn this page
import { resolveTrackValue } from '@internote/canvas-sdk';Resolves the transition with resolveTrackTransition; mid-move, the interpolator registered for kind blends the endpoints, and a kind with no interpolator snaps at the midpoint.
#Signature
(
track: KeyframeTrack,
steps: StepController,
kind?: InterpolationKind,
interpolations?: InterpolationRegistry,
): ResolvedTrackValue#Parameters
trackThe refined
!cue.to chain.stepsThe scene's step controller.
kindThe attribute's declared interpolation kind.
interpolationsThe registry to look
kind up in.Declared in packages/canvas-sdk/src/animation/keyframes.ts:197.