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 ID | Type |
Camera A | CameraDataInput |
Camera B | CameraDataInput |
T | float |
Output ports
| Port ID | Type |
Camera | CameraDataOutput |
Scriptable members
Synapse Apps (scripting)
await synapse.modules.create({ type: "CameraLerp" })