-
Notifications
You must be signed in to change notification settings - Fork 2
ds_wfc_gen_thread
Kamran Wali edited this page Jul 7, 2024
·
7 revisions
Inherits: ds_wfc_gen
ds_wfc_gen_thread is the threaded class version of the script ds_wfc_gen. It too generates stages using Wave Function Collapse but by using thread. This helps by NOT freezing the application when large stages are being generated.
Type | Name | Default Value |
---|---|---|
Thread | _thread | |
bool | _is_stop_thread | false |
Return Type | Name |
---|---|
void | _thread_start() |
void | _thread_stop() |
Thread _thread
The thread that will run the Wave Function Collapse.
bool _is_stop_thread = false
Flag to check the status of the _thread. True
means the thread has stopped, false
otherwise.
This method starts the _thread and the Wave Function Collapse process.
This method stops the _thread and the Wave Function Collapse process.
TOOLS
CLASS REFERENCE
- Generators
-
- Wave Function Collapse
- Grids
- Tiles