logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.MusicPlayer.Installation.Settings.Editor.Builder

    Classes

    BatchMusicTrackImportWindow

    Wizard window (Tools > Serenity > Audio > Batch Import Music Tracks) for importing and configuring many music tracks at once. The common workflow (id, title, artist, clip) is always visible; the precise loop configuration (tail-preserving loop, loop region in time codes or musical bars, tail fade-out) is tucked into a per-track "Advanced" foldout. All logic lives in BatchMusicTrackImporter; this window only collects input and renders feedback.

    BatchMusicTrackImporter

    Builds UnityMusicTrackDefinition assets in batch from validated wizard input, with rollback on failure. Mirrors BatchSoundEffectImporter but adds the music-specific advanced loop fields (tail-preserving loop, loop region as time codes or musical bars, tail fade-out). The BatchMusicTrackImportWindow only collects input; all inference, validation, advanced settings serialization and asset creation live here so they can be unit tested without the window.

    BatchMusicTrackImporter.Input

    Everything needed to create a batch of music track definitions.

    BatchMusicTrackImporter.Item

    One music track to import: its source, resolved clip, common metadata and advanced loop config.

    BatchMusicTrackImporter.Result

    Outcome of a Create(Input) call.

    In this article
    © 2026 Serenity. All Rights Reserved