-
Notifications
You must be signed in to change notification settings - Fork 2
ds_wfc_gen_expand_thread
Kamran Wali edited this page Jul 7, 2024
·
4 revisions
Inherits: ds_wfc_gen_expand
ds_wfc_gen_expand_thread is the threaded class version of the script ds_wfc_gen_expand. It too generates stages using continuous Wave Function Collapse that expands the grid by using thread. This helps by NOT freezing the application when large stages are being generated or expanded.
Type | Name | Default Value |
---|---|---|
Thread | _thread | |
bool | _is_stop_thread |
Return Type | Name |
---|---|
void | _thread_start_setup() |
void | _thread_start_expand_grid() |
void | _thread_stop() |
Thread _thread
The thread that will run the continuous 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 setup() method in the _thread.
void _thread_start_expand_grid ( int dir )
This method starts the expand_grid( int dir ) method in the _thread.
This method stops the _thread and the continuous Wave Function Collapse process.
TOOLS
CLASS REFERENCE
- Generators
-
- Wave Function Collapse
- Grids
- Tiles