godot_voxel/doc/source/api/VoxelInstancer.md
2021-02-16 20:54:45 +00:00

1.6 KiB

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.

Properties:

Type Name Default
VoxelInstanceLibrary library
int up_mode 0

Methods:

Return Signature
int debug_get_block_count ( ) 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( )

Generated on Feb 16, 2021