VoxelInstanceLibrary¶
Inherits: Resource
Contains a list of models that can be used by VoxelInstancer, associated with a unique ID.
Methods:¶
Return | Signature |
---|---|
void | add_item ( int id, VoxelInstanceLibraryItem item ) |
void | clear ( ) |
int | find_item_by_name ( String name ) const |
PackedInt32Array | get_all_item_ids ( ) const |
VoxelInstanceLibraryItem | get_item ( int id ) const |
void | remove_item ( int id ) |
Constants:¶
- MAX_ID = 65535
Method Descriptions¶
-
void add_item( int id, VoxelInstanceLibraryItem item )
-
void clear( )
-
PackedInt32Array get_all_item_ids( )
-
VoxelInstanceLibraryItem get_item( int id )
Generated on Sep 12, 2023