The scope of applications for UnigineScript is limited to implementing materials-related logic (material expressions, scriptable materials, brush materials). Do not use UnigineScript as a language for application logic, please consider C#/C++ instead, as these APIs are the preferred ones. Availability of new Engine features in UnigineScript (beyond its scope of applications) is not guaranteed, as the current level of support assumes only fixing critical issues.
This set of functions is available when the FMOD plugin is loaded.
A submix in the mixing hierarchy that can contain both Channel and ChannelGroup objects.
ChannelGroup Class
Members
Channel getChannel ( int id ) #
Returns the channel at the specified index.Arguments
- int id - Index of the channel.
Return value
Channel at the specified index.int getChannelCount ( ) #
Returns the number of channels that feed into this group.Return value
Number of channels.void setVolume ( float volume ) #
Sets a volume level for the group.Arguments
- float volume - Volume level.
void addChannel ( Channel * channel ) #
Adds a channel to the group.Arguments
- Channel * channel - Channel to be added.
Last update:
2021-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)