Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

CameraLensOptions

Defined in: client/api.d.ts:1737

Partial lens update; every field is optional.

optional aperture?: number

Defined in: client/api.d.ts:1756

Cinematic aperture (f-stop).


optional aspectRatio?: number

Defined in: client/api.d.ts:1746

Requested width-to-height aspect ratio.


optional constrainAspectRatio?: boolean

Defined in: client/api.d.ts:1771

Whether to constrain the requested aspect ratio.


optional focalLength?: number

Defined in: client/api.d.ts:1751

Cinematic focal length in millimeters.


optional fov?: number

Defined in: client/api.d.ts:1741

Horizontal field of view in degrees.


optional orthographicWidth?: number

Defined in: client/api.d.ts:1766

Orthographic view width in world units.


optional postProcessBlend?: number

Defined in: client/api.d.ts:1761

Post-process blend weight from 0 to 1.


optional projection?: "perspective" | "orthographic"

Defined in: client/api.d.ts:1776

Projection mode.


optional useFovForLod?: boolean

Defined in: client/api.d.ts:1781

Whether field of view affects level-of-detail selection.