Cameras and shots · function

sampleCameraPath

The camera at timeSec. An open path holds its ends; a looped one wraps.

Explained in Cameras and cinematics.

function sampleCameraPath(path: CameraPath, timeSec: number, out: CameraPathSample): CameraPathSample
import { sampleCameraPath } from '@driftengine/core';

Parameters

ParameterTypeDescription
pathCameraPath
timeSecnumber
outCameraPathSample