Cameras and shots · interface

CameraPath

Explained in Cameras and cinematics.

interface CameraPath
import type { CameraPath } from '@driftengine/core';

Properties

NameTypeDescription
loopreadonlyboolean
durationSecreadonlynumberFor a loop, the period; for an open path, the time of the last key.
countreadonlynumber
timesreadonlyFloat64Array
valuesreadonlyFloat64Array
tangentsreadonlyFloat64ArrayPer key and channel, units a second.