Skip to content

ds_wfc_gen_thread

Kamran Wali edited this page Jul 7, 2024 · 7 revisions

Inherits: ds_wfc_gen

Description

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.

Properties

Type Name Default Value
Thread _thread
bool _is_stop_thread false

Methods

Return Type Name
void _thread_start()
void _thread_stop()

Property Descriptions

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.


Method Descriptions

void _thread_start ()

This method starts the _thread and the Wave Function Collapse process.


void _thread_stop ()

This method stops the _thread and the Wave Function Collapse process.