Screen helpers · function

exportAspect

The aspect ratio a camera must be given to frame for this export.

Explained in Recording and clips.

function exportAspect(width: number, height: number): number
import { exportAspect } from '@driftengine/core';

Parameters

ParameterTypeDescription
widthnumber
heightnumber