|
| void | ConsiderAudioSource (const vector3 &sourcePos, entity_t owningEntity, const vector3 &roomPos, const matrix4 &invRoomTransform) |
| |
| void | CalculateRoom (const matrix4 &invRoomTransform, const vector3 &listenerForwardWorldSpace, const vector3 &listenerUpWorldSpace, const vector3 &listenerRightWorldSpace) |
| |
| void | ConsiderMesh (Ref< AudioMeshAsset > mesh, const matrix4 &transform, const vector3 &roomPos, const matrix4 &invRoomTransform, entity_t ownerID) |
| |
|
void | RenderAudioSource (PlanarSampleBufferInlineView &outBuffer, PlanarSampleBufferInlineView &scratchBuffer, entity_t sourceOwningEntity, PlanarSampleBufferInlineView monoSourceData, const matrix4 &invListenerTransform) |
| |
|
void | DeleteAudioDataForEntity (entity_id_t entity) |
| |
|
void | DeleteMeshDataForEntity (entity_id_t entity) |
| |
|
void | SetGraph (decltype(effectGraph) inGraph) |
| |
|
auto | GetGraph () const |
| |
| void | Render (PlanarSampleBufferInlineView &inputSamples, PlanarSampleBufferInlineView &intermediateBuffer, uint8_t nchannels) |
| |
◆ CalculateRoom()
Compute the Effect parameters for this room
- Parameters
-
| invRoomTranform | the inverse of the room's world-space transformation matrix |
| listenerForwardWorldSpace | the forward vector for the listener in world space |
| listenerUpWorldSpace | the up vector for the listener in world space |
| listenerRightWorldSpace | the right vector for the listener in world space |
◆ ConsiderAudioSource()
Present an audio source to the room. Depending on its position, it may or may not be added or removed from the room
- Parameters
-
| sourcePos | the world-space position of the audio source |
| owningEntity | the world-local entity ID of the source |
| roomPos | the world-space position of the audio space |
| invRoomTransform | the inverse of the room's world-space transformation matrix |
◆ ConsiderMesh()
Present a mesh occluder to the room. Depending on its position, it may or may not be added or removed from the room
- Parameters
-
| mesh | the asset representing the mesh |
| transform | the world-space transform of the mesh |
| roomPos | the world-space position of the room |
| invRoomTransform | the inverse of the world-space transformation matrix for the room |
| ownerID | the world-local owner ID for the mesh |
The documentation for this struct was generated from the following files:
- RavEngine/include/RavEngine/AudioSpace.hpp
- RavEngine/src/AudioSpace.cpp