Class ShortMusicComponent¶
Defined in File short_music_component.h
Inheritance Relationships¶
Base Type¶
public AudioComponent(Class AudioComponent)
Class Documentation¶
-
class
ShortMusicComponent: public AudioComponent¶ Public Functions
-
~ShortMusicComponent()¶
-
AudioResourceFile *
getAudioFile() const¶
-
void
setAudioFile(Ref<AudioResourceFile> audioFile)¶
-
bool
setupData()¶ Perform setting up internal data needed from other components after they have been added to the owning entity.
-
JSON::json
getJSON() const¶ Get JSON representation of the component data needed to re-construct component from memory.
-
void
draw()¶ Expose the component data with ImGui.
-