VoxelInstancer

Inherits: Spatial

Spawns items on top of voxel surfaces.

Description:

Add-on to voxel nodes, allowing to spawn elements on the surface. These elements are rendered with hardware instancing, can have collisions, and also be persistent. It must be child of a voxel node. At the moment it only supports VoxelLodTerrain.

Properties:

Type Name Default
VoxelInstanceLibrary library
int up_mode 0

Methods:

Return Signature
int debug_get_block_count ( ) const
Dictionary debug_get_instance_counts ( ) const

Enumerations:

enum UpMode:

  • UP_MODE_POSITIVE_Y = 0
  • UP_MODE_SPHERE = 1

Constants:

  • MAX_LOD = 8

Property Descriptions

Method Descriptions

  • int debug_get_block_count( )

  • Dictionary debug_get_instance_counts( )

Generated on May 31, 2021