VoxelMesherCubes¶
Inherits: VoxelMesher
Properties:¶
Type | Name | Default |
---|---|---|
int | color_mode | 0 |
bool | greedy_meshing_enabled | true |
Material | opaque_material | |
VoxelColorPalette | palette | |
Material | transparent_material |
Methods:¶
Return | Signature |
---|---|
Mesh | generate_mesh_from_image ( Image image, float voxel_size ) static |
void | set_material_by_index ( int id, Material material ) |
Enumerations:¶
enum Materials:
- MATERIAL_OPAQUE = 0
- MATERIAL_TRANSPARENT = 1
- MATERIAL_COUNT = 2
enum ColorMode:
- COLOR_RAW = 0
- COLOR_MESHER_PALETTE = 1
- COLOR_SHADER_PALETTE = 2
Property Descriptions¶
int color_mode = 0¶
(This property has no documentation)
bool greedy_meshing_enabled = true¶
(This property has no documentation)
Material opaque_material¶
(This property has no documentation)
VoxelColorPalette palette¶
(This property has no documentation)
Material transparent_material¶
(This property has no documentation)
Method Descriptions¶
Mesh generate_mesh_from_image( Image image, float voxel_size )¶
(This method has no documentation)
void set_material_by_index( int id, Material material )¶
(This method has no documentation)
Generated on Apr 06, 2024