Meta_AudioStream
Module: Metanodes / Definitions
A container for AudioStreamBuffer nodes.
#include <meta_audio.hpp>
Public Types
| Type | Name |
|---|---|
| enum | IDX { Idx_Volume, Idx_MinimumGain, Idx_MaximumGain, Idx_PositionAtCamera, Idx_TransformMode } |
| enum | TransformMode { World, Local } Values for Idx_TransformMode. |
Public Functions
| Type | Name |
|---|---|
| Meta_AudioStream() |
Public Types Documentation
enum IDX
| Enumerator | Value | Description |
|---|---|---|
| Idx_Volume | Controls the volume of the sound source. | |
| Idx_MinimumGain | The minimum gain after any 3D spatial processing (0 to 1). | |
| Idx_MaximumGain | The maximum gain after any 3D spatial processing (0 to 1). | |
| Idx_PositionAtCamera | Whether the position is relative to the user's camera or the scene origin. | |
| Idx_TransformMode | Whether to use the world or local transform of the parent. |
enum TransformMode
| Enumerator | Value | Description |
|---|---|---|
| World | 0 - Use the parent assembly world transform to position the audio relative to the listener (Symbols - C: "RelativeToWorld", Lua: __AudioSound_RelativeToWorld) | |
| Local | 1 - Use the parent assembly local transform (Symbols - C: "RelativeToLocal", Lua: __AudioSound_RelativeToLocal) |
Values for Idx_TransformMode.
Public Functions Documentation
Meta_AudioStream
inline Meta_AudioStream()