CameraLerp

Read with AI
All docs in one file (llms-full.txt)
CameraLerp #3D #Node
CameraLerp

Outputs a camera value that interpolates Camera A and Camera B with T. Position, FOV, near, far and Ortho Size are interpolated linearly, and rotation uses Slerp (spherical linear interpolation). Plug a square wave into T for an instant cut, or a smooth value for a morph in which the camera moves.

  • T — clamped to 0-1 (default 0)

Whether the projection is orthographic is not a continuous quantity, so it cannot be interpolated. Below T < 0.5 the settings of A are used, and at 0.5 and above those of B (Ortho Size itself is interpolated continuously). An unconnected Camera input is treated as the default camera (position 0,0,-10 / FOV 60 / perspective projection).

Input ports

Port IDType
Camera ACameraDataInput
Camera BCameraDataInput
Tfloat

Output ports

Port IDType
CameraCameraDataOutput

Scriptable members

PathType
tInputfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "CameraLerp" })

Pages linking here

Also referenced from