Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

EmotePreviewTuning

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

Where the preview figure sits in frame. Every field is optional and sticky — set once, not per call.

optional anchor?: number

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

How far below the screen mark the figure’s origin sits, in cm. Default -15.


optional backdrop?: boolean

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

An unlit, camera-locked plane behind the figure that hides the world, screen mode only. Nearer world geometry still draws over it. Default false.


optional backdropCm?: number

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

How far behind the figure the backdrop stands, in cm. Keep it short: anything nearer the camera than the backdrop shows in front of it. Default 40.


optional backdropColor?: string | number[]

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

‘#rrggbb’ (sRGB) or [r, g, b] (linear). The view’s own exposure and tone curve still apply, so this is not the exact pixel. Default ‘#16181e’.


optional backdropGradient?: string | number[] | null

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

A second color: the backdrop blends from backdropColor at the top of the view to this at the bottom. Same formats; null for a flat backdrop. Default null.


optional distance?: number

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

Centimetres in front of the camera — this is what sets apparent size. Default 185.


optional isolate?: boolean

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

While the backdrop is up, drop fog, sky light, GI, reflections and indirect light from the whole view and hold its exposure, so the rig alone lights the figure. Default true.


optional rig?: number

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

Private studio-light scale. 0 drops the rig and hands the figure back to world lighting. Default 1.


optional scale?: number

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

Actor scale, clamped to 0.05-10. Prefer distance unless you want a doll rather than a person: scale shrinks the figure itself, distance only how big it reads. Default 0.60.


optional screenX?: number

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

Viewport fraction across, 0 = left edge. Default 0.24.


optional screenY?: number

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

Viewport fraction down, 0 = top edge. Default 0.58.


optional yaw?: number

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

Degrees added to facing-the-camera, for a three-quarter turn. Default -20.