VoxelInstanceLibraryMultiMeshItem

Inherits: VoxelInstanceLibraryItem

Properties:

Type Name Default
int cast_shadow 1
int collision_layer 1
int collision_mask 1
Array collision_shapes []
Material material_override
Mesh mesh
Mesh mesh_lod1
Mesh mesh_lod2
Mesh mesh_lod3
int render_layer 1
PackedScene scene

Methods:

Return Signature
StringName[] get_collider_group_names ( ) const
Mesh get_mesh ( int mesh_lod_index ) const
void set_collider_group_names ( StringName[] names )
void set_mesh ( Mesh mesh, int mesh_lod_index )
void setup_from_template ( Node node )

Constants:

  • MAX_MESH_LODS = 4

Property Descriptions

Method Descriptions

Gets the list of group names that are added to collider nodes.

Sets the list of group names that will be added to collider nodes generated for each instance.

Generated on Sep 12, 2023