NodeThread
Inherits: Node
Node that can run _thread_process on a separate thread
Description
Allows the extending node to use the _thread_process method to run code in a separate running thread. When emitting signals from _thread_process, be sure to use signal_name.emit.call_deferred
Properties
| Type | Name | Default |
|---|---|---|
| SharedThread | thread_group | |
| bool | autostart | true |
Property Descriptions
thread_group
SharedThread thread_group
The SharedThread thread that this node should run on.
autostart
bool autostart = true
Whether or not to automatically start the thread on ready