godot_voxel/doc/api/VoxelMap.md

1.1 KiB

Class: VoxelMap

Inherits: Reference

Godot version: 3.2

Online Tutorials:

Constants:

Properties:

Methods:

» Vector3 block_to_voxel ( Vector3 block_pos ) const

» int get_block_size ( ) const

» void get_buffer_copy ( Vector3 min_pos, VoxelBuffer out_buffer, int channel=0 )

» int get_default_voxel ( int channel=0 )

» int get_voxel ( int x, int y, int z, int c=0 )

» float get_voxel_f ( int x, int y, int z, int c=1 )

» int get_voxel_v ( Vector3 pos, int c=0 )

» bool has_block ( int x, int y, int z )

» void set_block_buffer ( Vector3 block_pos, VoxelBuffer buffer )

» void set_default_voxel ( int value, int channel=0 )

» void set_voxel ( int value, int x, int y, int z, int c=0 )

» void set_voxel_f ( float value, int x, int y, int z, int c=1 )

» void set_voxel_v ( int value, Vector3 pos, int c=0 )

» Vector3 voxel_to_block ( Vector3 voxel_pos ) const

Signals:


Generated on Aug 26, 2019