Logo Mibo

Source Type

Where a registered sound or music track loads from. The choice is explicit and typed — no fallback guessing from the file extension.

Pipeline loads an MGCB-compiled asset through the game's ContentManager — the guaranteed path: every format the pipeline imports works, on every DesktopGL/WindowsDX backend.

File loads a loose file from disk at runtime. Sound effects support WAV (RIFF) files only; music goes through Song.FromUri, which uses the platform decoders (the file the path points to must ship with the game — copy it to the output directory yourself).

Union cases

Union case Description

File string

Full Usage: File string

Parameters:
    Item : string

A loose file path, relative to the working directory (e.g. "music/overworld.ogg").

Item : string

Pipeline string

Full Usage: Pipeline string

Parameters:
    Item : string

An MGCB asset name, loaded with content.Load (no extension — e.g. "audio/jump").

Item : string

Instance members

Instance member Description

this.IsFile

Full Usage: this.IsFile

Returns: bool
Returns: bool

this.IsPipeline

Full Usage: this.IsPipeline

Returns: bool
Returns: bool

Type something to start searching.