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

ReturnsNameDescription
int32_tEcholocate
int32_tGetEchoCount
Vec3GetEchoPosition
floatGetEchoDelay
floatGetEchoStrength
floatGetNearestEchoDistance
floatGetPathLossDbLevel (dB, <= 0) a sound loses between two points: walls, portals and the detour through an open door.
floatGetRoomDecaySeconds
floatGetRoomEnclosure
int32_tGetEarlyReflectionCount

Function details

Echolocate

C++
int32_t Echolocate(const Vec3& origin, const Vec3& direction)

GetEchoCount

C++
int32_t GetEchoCount() const

GetEchoPosition

C++
Vec3 GetEchoPosition(int32_t index) const

GetEchoDelay

C++
float GetEchoDelay(int32_t index) const

GetEchoStrength

C++
float GetEchoStrength(int32_t index) const

GetNearestEchoDistance

C++
float GetNearestEchoDistance() const

GetPathLossDb

C++
float GetPathLossDb(const Vec3& from, const Vec3& to) const

Level (dB, <= 0) a sound loses between two points: walls, portals and the detour through an open door.

GetRoomDecaySeconds

C++
float GetRoomDecaySeconds() const

GetRoomEnclosure

C++
float GetRoomEnclosure() const

GetEarlyReflectionCount

C++
int32_t GetEarlyReflectionCount() const
Generated from Game/MAcousticsStatics.h via game.json · Nov 5, 2026Version 1.0.0