📦 JESoundComponent
Technical reference for the
JESoundComponentcomponent of JarEngine.
🔹 Overview
JESoundComponent stores and manages the sound resource attached to an entity.
Provides:
- Sound resource storage using
JESound. - Sound playback control through entity components.
- Volume management and channel control.
Used by entities requiring sound effects or audio playback functionality.
🔹 Data
| Field | Type | Description |
|---|---|---|
sound |
JESound |
Sound resource attached to the entity. |
volume |
float |
Current sound volume value. |
🔹 Used by
Entity
set_soundplay_soundstop_soundpause_soundresume_soundfade_soundset_sound_volumeget_sound
System
- No system currently requires this component.