godot_voxel/doc/source/api/VoxelMesherDMC.md
2021-05-31 17:23:29 +01:00

3.0 KiB

VoxelMesherDMC

Inherits: VoxelMesher

Implements isosurface generation (smooth voxels) using Dual Marching Cubes.

Properties:

Type Name Default
int geometric_error 0
int mesh_mode 0
int seam_mode 0
int simplify_mode 0

Methods:

Return Signature
float get_geometric_error ( ) const
Dictionary get_statistics ( ) const
void set_geometric_error ( float error )

Enumerations:

enum MeshMode:

  • MESH_NORMAL = 0
  • MESH_WIREFRAME = 1
  • MESH_DEBUG_OCTREE = 2
  • MESH_DEBUG_DUAL_GRID = 3

enum SimplifyMode:

  • SIMPLIFY_OCTREE_BOTTOM_UP = 0
  • SIMPLIFY_OCTREE_TOP_DOWN = 1
  • SIMPLIFY_NONE = 2

enum SeamMode:

  • SEAM_NONE = 0
  • SEAM_MARCHING_SQUARE_SKIRTS = 1

Property Descriptions

  • int geometric_error = 0

  • int mesh_mode = 0

  • int seam_mode = 0

  • int simplify_mode = 0

Method Descriptions

Generated on May 31, 2021