Skip to content

API Interface SubtitleSettings

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

Interface: SubtitleSettings

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

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:29

Box opacity, 0..1.


captions

captions: boolean;

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

Sound captions.


enabled

enabled: boolean;

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

Speech subtitles.


size

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

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


speakerNames

speakerNames: boolean;

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

Clone this wiki locally