Class AudioListenerComponent¶
Defined in File audio_listener_component.h
Inheritance Relationships¶
Base Type¶
public Component
(Class Component)
Class Documentation¶
-
class
AudioListenerComponent
: public Component¶ Listening component which is used to put sound output to. Useful for marking 3D sound attenuation in moving listeners
Public Functions
-
~AudioListenerComponent
()¶
-
void
update
()¶
-
RigidBodyComponent *
getCollider
()¶
-
JSON::json
getJSON
() const¶ Get JSON representation of the component data needed to re-construct component from memory.
-
void
onRemove
()¶ Perform operations prior to detachment from owning entity and destruction.
-
void
draw
()¶ Expose the component data with ImGui.
-