Skip to content

API Interface SubtitleSettings

github-actions[bot] edited this page Nov 29, 2026 · 3 revisions

Interface: SubtitleSettings

Defined in: src/engine/localisation/subtitleSettings.ts:25

The player's subtitle settings (Subtitles.settings, 0357 §5); the section holds their first-run values.

Properties

background

background: number;

Defined in: src/engine/localisation/subtitleSettings.ts:30

Box opacity, 0..1.


captions

captions: boolean;

Defined in: src/engine/localisation/subtitleSettings.ts:33

Sound captions.


enabled

enabled: boolean;

Defined in: src/engine/localisation/subtitleSettings.ts:27

Speech subtitles.


size

size: "medium" | "small" | "large" | "extraLarge";

Defined in: src/engine/localisation/subtitleSettings.ts:28


speakerNames

speakerNames: boolean;

Defined in: src/engine/localisation/subtitleSettings.ts:31

Clone this wiki locally