godot_voxel/doc/source/api/VoxelServer.md

41 lines
1.0 KiB
Markdown
Raw Normal View History

# VoxelServer
Inherits: [Object](https://docs.godotengine.org/en/stable/classes/class_object.html)
Singleton handling common voxel processing in background threads.
## Methods:
Return | Signature
----------------------------------------------------------------------------------- | -------------------------------
[Dictionary](https://docs.godotengine.org/en/stable/classes/class_dictionary.html) | [get_stats](#i_get_stats) ( )
<p></p>
## Method Descriptions
- [Dictionary](https://docs.godotengine.org/en/stable/classes/class_dictionary.html)<span id="i_get_stats"></span> **get_stats**( )
Gets debug information about shared voxel processing.
The returned dictionary has the following structure:
```gdscript
{
"streaming": {
"tasks": int,
"active_threads": int,
"thread_count": int
},
"meshing": {
"tasks": int,
"active_threads": int,
"thread_count": int
}
}
```
2021-02-16 20:54:45 +00:00
_Generated on Feb 16, 2021_