This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
Унифицированный язык шейдеров UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
Справочник API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

Sounds

Sound Ambient#

This sample shows the implementation of a component that controls the playback of ambient sound (AmbientSource) and allows interactive adjustment of playback parameters using the keyboard.

Background sound helps create a more immersive environment. This example demonstrates a practical way to organize ambient sound using the AmbientSource class, including creating a sound source, configuring the settings, and switching between streaming and normal playback modes.


SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/sounds/sound_ambient

Sound Reverb#

This example shows a component that creates a Reverberation Zone (SoundReverb) and updates reverb settings based on a given power value.

Reverberation helps add depth and realism to sound. It convinces the listener of the authenticity of the audio experience.


SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/sounds/sound_reverb

Sound Source#

This example demonstrates how to create a sound source (SoundSource) and configure its basic parameters: volume, pitch, looping mode, and playback type.

UNIGINE allows you to work with sound sources just like with other nodes: they can be easily moved, rotated, or scaled. Additionally, they have specific characteristics detailed in the related article.


SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/sounds/sound_source

The information on this page is valid for UNIGINE 2.20 SDK.

Last update: 30.06.2025
Build: ()