Repository navigation
API Class LocalText
Defined in: src/engine/localisation/Locale.ts:228
A key and arguments, resolved when read (Unreal's FText): toString() is Locale.t(key, args) in the current
language. view.props.title = Locale.text("quest.title", { name }) shows the title and follows language changes.
new LocalText(key, args?): LocalText;Defined in: src/engine/localisation/Locale.ts:233
string
| Readonly<Record<string, MessageArg>>
| null = null
LocalText
readonly args:
| Readonly<Record<string, MessageArg>>
| null;Defined in: src/engine/localisation/Locale.ts:230
readonly key: string;Defined in: src/engine/localisation/Locale.ts:229
toString(): string;Defined in: src/engine/localisation/Locale.ts:244
The message in the current language (cached until the language or the tables change).
string
with(args): LocalText;Defined in: src/engine/localisation/Locale.ts:239
The same key with these arguments over its own.
LocalText
This wiki is generated from docs/wiki/ and the myco module's source on every push to master. Change pages there in a pull request: edits made here are not kept.
Basics
Gameplay
Rendering
Audio
- Playing sound
- Why is there no sound?
- Playlists
- Interactive music
- Sound generators
- Spatial audio
- Audio mixer
- Live mixing
- Loudness
- Audio profiler
- Audio takes
Reference