class
MAcousticsStatics
Visual Scripting's view of geometric acoustics: click and read the echoes back (an echolocation mechanic is a click on a button, then what came back drawn or voiced), ask how a path between two points sounds, and read the room the listener stands in. Echoes are indexed nearest first; an index past the end reads zero.
- Module
- Game
- Header
#include "Game/MAcousticsStatics.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Public functions
| Returns | Name | Description |
|---|---|---|
int32_t | Echolocate | |
int32_t | GetEchoCount | |
Vec3 | GetEchoPosition | |
float | GetEchoDelay | |
float | GetEchoStrength | |
float | GetNearestEchoDistance | |
float | GetPathLossDb | Level (dB, <= 0) a sound loses between two points: walls, portals and the detour through an open door. |
float | GetRoomDecaySeconds | |
float | GetRoomEnclosure | |
int32_t | GetEarlyReflectionCount |
Function details
Echolocate
C++
int32_t Echolocate(const Vec3& origin, const Vec3& direction)GetEchoCount
C++
int32_t GetEchoCount() constGetEchoPosition
C++
Vec3 GetEchoPosition(int32_t index) constGetEchoDelay
C++
float GetEchoDelay(int32_t index) constGetEchoStrength
C++
float GetEchoStrength(int32_t index) constGetNearestEchoDistance
C++
float GetNearestEchoDistance() constGetPathLossDb
C++
float GetPathLossDb(const Vec3& from, const Vec3& to) constLevel (dB, <= 0) a sound loses between two points: walls, portals and the detour through an open door.
GetRoomDecaySeconds
C++
float GetRoomDecaySeconds() constGetRoomEnclosure
C++
float GetRoomEnclosure() constGetEarlyReflectionCount
C++
int32_t GetEarlyReflectionCount() constGenerated from Game/MAcousticsStatics.h via game.json · Nov 5, 2026Version 1.0.0