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.
Return
Section titled “Return”- 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