Kemena3D
Loading...
Searching...
No Matches
kemena::kAudioListener Struct Reference

Marks a scene object as the audio listener (typically the main camera). More...

#include <kaudiosource.h>

Public Attributes

kString uuid
 Unique identifier of this listener.
bool isActive = true
 When false, this object is not used as the active listener.

Detailed Description

Marks a scene object as the audio listener (typically the main camera).

The runtime queries objects carrying a kAudioListener each frame and forwards their position and orientation to kAudioManager::setListenerPosition(). Only one active listener per scene is meaningful.

Member Data Documentation

◆ isActive

bool kemena::kAudioListener::isActive = true

When false, this object is not used as the active listener.

◆ uuid

kString kemena::kAudioListener::uuid

Unique identifier of this listener.


The documentation for this struct was generated from the following file: