Appearance
anim-format (runtime format) / cameraViewSize
Function: cameraViewSize()
ts
function cameraViewSize(file, sym?):
| {
height: number;
width: number;
}
| null;The view a timeline is framed in (the published page's size): its first scene's camera frame, else the stage (the video export's rule). Null = no stage (a symbol export without a camera).
Parameters
| Parameter | Type |
|---|---|
file | AnimFile |
sym? | AnimSymbol | undefined |
Returns
| { height: number; width: number; } | null