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): CameraPathSampleimport { sampleCameraPath } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
path | CameraPath | |
timeSec | number | |
out | CameraPathSample |