Open topic with navigation
<viz>.postFunctionCall
Post a function call to the main thread
| <viz>.postFunctionCall( |
|
| func |
| *args |
| **kw |
| ) |
|
func
The function to call
*args
Positional arguments to pass to the function
**kw
Keyword arguments to pass to the function
Remarks
This command allows you to schedule a function to be called within the main script thread. The specified function and arguments will be saved to a list, which the main thread processes at the beginning of every frame.
Return Value
None
See also