unreal.MusicSourceSettings

class unreal.MusicSourceSettings

Bases: StructBase

Base struct for music source configuration.

Subclass this to define new music source types. The CreateSource() factory method is called by UMusicSourceBlueprintLibrary::CreateMusicSource() — Blueprint users pick the settings type from a TInstancedStruct dropdown, fill in the type-specific fields, and get back an IMusicSource.

Game plugins can add new source types without modifying engine code: just subclass FMusicSourceSettings and implement CreateSource().

C++ Source:

  • Plugin: Harmonix

  • Module: HarmonixMetasound

  • File: MusicSourceSettings.h