Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

MapCaptureResult

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

What a MapCapture.capture rendered, and where; mapCaptured carries it.

readonly bytes: number

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

The PNG’s size; 0 when ok is false.


readonly optional error?: string

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

Why not, when ok is false.


readonly extent: number

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

The cm the image spans edge to edge, after clamping.


readonly name: string

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

The PNG’s basename, without the extension.


readonly ok: boolean

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

Whether the PNG was written.


readonly size: number

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

The image’s edge in pixels, after clamping.


readonly x: number

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

World X of the image centre, cm.


readonly y: number

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

World Y of the image centre, cm.


readonly yaw: number

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

The yaw the image’s top edge faces, folded into [0, 360).


readonly z: number

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

World Z of the camera, cm.