Skip to content

GetRTChannelCount()

The GetRTChannelCount Lua function returns a number indicating the total amount of RT channels.

This function does not accept any arguments.

  • Integer:
    The function returns an integer number depicting the total amount of RT channels.

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