Cameras and shots · function
createCameraPath
Check the keys and work out every tangent once. Throws at construction, never in a frame.
Explained in Cameras and cinematics.
function createCameraPath(keys: readonly CameraPathKey[], options: CameraPathOptions): CameraPathimport { createCameraPath } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
keys | readonly CameraPathKey[] | |
options | CameraPathOptions |