Skip to content

anim-format (runtime format) / animCameraPoseAt

Function: animCameraPoseAt() ​

ts
function animCameraPoseAt(
   cam, 
   frame, 
   to?, 
   t?
): CameraPose | null;

The baked camera at frame (global), t of the way toward to (a neighbouring frame; only when the run tweens on into it). Null = the camera has no run there.

Parameters ​

ParameterTypeDefault value
camAnimCameraundefined
framenumberundefined
to?number-1
t?number0

Returns ​

CameraPose | null

HereSplash — 2D animation for the web