VoxelMesherTransvoxel

Inherits: VoxelMesher

Implements isosurface generation (smooth voxels) using the Transvoxel algorithm.

Properties:

Type Name Default
bool deep_sampling_enabled false
bool mesh_optimization_enabled false
float mesh_optimization_error_threshold 0.005
float mesh_optimization_target_ratio 0.0
int texturing_mode 0
bool transitions_enabled true

Methods:

Return Signature
ArrayMesh build_transition_mesh ( VoxelBuffer voxel_buffer, int direction )

Enumerations:

enum TexturingMode:

  • TEXTURES_NONE = 0
  • TEXTURES_BLEND_4_OVER_16 = 1

Property Descriptions

bool deep_sampling_enabled = false

(This property has no documentation)

bool mesh_optimization_enabled = false

(This property has no documentation)

float mesh_optimization_error_threshold = 0.005

(This property has no documentation)

float mesh_optimization_target_ratio = 0.0

(This property has no documentation)

int texturing_mode = 0

(This property has no documentation)

bool transitions_enabled = true

(This property has no documentation)

Method Descriptions

ArrayMesh build_transition_mesh( VoxelBuffer voxel_buffer, int direction )

(This method has no documentation)

Generated on Apr 06, 2024