2021-01-21 00:37:01 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2021-05-31 17:23:29 +01:00
<class name= "VoxelStreamScript" inherits= "VoxelStream" version= "3.4" >
2021-01-21 00:37:01 +00:00
<brief_description >
Base class for custom streams defined with a script.
</brief_description>
<description >
</description>
<tutorials >
</tutorials>
<methods >
<method name= "_emerge_block" qualifiers= "virtual" >
<return type= "void" >
</return>
<argument index= "0" name= "out_buffer" type= "VoxelBuffer" >
</argument>
<argument index= "1" name= "origin_in_voxels" type= "Vector3" >
</argument>
<argument index= "2" name= "lod" type= "int" >
</argument>
<description >
2021-02-16 20:03:30 +00:00
[code]out_buffer[/code]: Buffer in which to populate voxel data. It will never be [code]null[/code] and will have the requested size. It is only valid for this function, do not store it anywhere after the end.
2021-01-21 00:37:01 +00:00
</description>
</method>
<method name= "_get_used_channels_mask" qualifiers= "virtual" >
<return type= "int" >
</return>
<description >
</description>
</method>
<method name= "_immerge_block" qualifiers= "virtual" >
<return type= "void" >
</return>
<argument index= "0" name= "buffer" type= "VoxelBuffer" >
</argument>
<argument index= "1" name= "origin_in_voxels" type= "Vector3" >
</argument>
<argument index= "2" name= "lod" type= "int" >
</argument>
<description >
2021-02-16 20:03:30 +00:00
[code]buffer[/code]: Buffer of voxel data to save. It is allowed to keep a reference to it for caching purposes, as saved data will either be snapshots or only references left after removal of a volume.
2021-01-21 00:37:01 +00:00
</description>
</method>
</methods>
<constants >
</constants>
</class>