VoxelMeshSDF

Inherits: Resource

Properties:

Type Name Default
Dictionary _data {}
int bake_mode 1
bool boundary_sign_fix_enabled true
int cell_count 64
float margin_ratio 0.25
Mesh mesh
int partition_subdiv 32

Methods:

Return Signature
void bake ( )
void bake_async ( SceneTree scene_tree )
Array debug_check_sdf ( Mesh mesh )
AABB get_aabb ( ) const
VoxelBuffer get_voxel_buffer ( ) const
bool is_baked ( ) const
bool is_baking ( ) const

Signals:

  • baked( )

Enumerations:

enum BakeMode:

  • BAKE_MODE_ACCURATE_NAIVE = 0
  • BAKE_MODE_ACCURATE_PARTITIONED = 1
  • BAKE_MODE_APPROX_INTERP = 2
  • BAKE_MODE_APPROX_FLOODFILL = 3
  • BAKE_MODE_COUNT = 4

Property Descriptions

  • Dictionary _data = {}

  • int bake_mode = 1

  • bool boundary_sign_fix_enabled = true

  • int cell_count = 64

  • float margin_ratio = 0.25

  • Mesh mesh

  • int partition_subdiv = 32

Method Descriptions

Generated on Mar 24, 2024