GetRTChannelCount()
Description
Section titled âDescriptionâThe GetRTChannelCount Lua function returns a number indicating the total amount of RT channels.
Arguments
Section titled âArgumentsâThis function does not accept any arguments.
- Integer:
The function returns an integer number depicting the total amount of RT channels.
Example
Section titled âExampleâThis example prints the number of RT channels to the Command Line History:
| Copy CodeLua |
| ``` |
| return function() |
Printf("The number of RT channels is " .. GetRTChannelCount())end