VoxelBlockyTypeLibrary¶
Inherits: VoxelBlockyLibraryBase
Warning
This class is marked as experimental. It is subject to likely change or possible removal in future versions. Use at your own discretion.
Properties:¶
Type | Name | Default |
---|---|---|
PackedStringArray | _id_map_data | PackedStringArray() |
VoxelBlockyType[] | types | [] |
Methods:¶
Return | Signature |
---|---|
int | get_model_index_default ( StringName type_name ) const |
int | get_model_index_single_attribute ( StringName type_name, Variant attrib_value ) const |
int | get_model_index_with_attributes ( StringName type_name, Dictionary attribs_dict ) const |
VoxelBlockyType | get_type_from_name ( StringName type_name ) const |
Array | get_type_name_and_attributes_from_model_index ( int model_index ) const |
bool | load_id_map_from_json ( String json ) |
bool | load_id_map_from_string_array ( PackedStringArray str_array ) |
String | serialize_id_map_to_json ( ) const |
PackedStringArray | serialize_id_map_to_string_array ( ) const |
Property Descriptions¶
PackedStringArray _id_map_data = PackedStringArray()¶
(This property has no documentation)
VoxelBlockyType[] types = []¶
(This property has no documentation)
Method Descriptions¶
int get_model_index_default( StringName type_name )¶
(This method has no documentation)
int get_model_index_single_attribute( StringName type_name, Variant attrib_value )¶
(This method has no documentation)
int get_model_index_with_attributes( StringName type_name, Dictionary attribs_dict )¶
(This method has no documentation)
VoxelBlockyType get_type_from_name( StringName type_name )¶
(This method has no documentation)
Array get_type_name_and_attributes_from_model_index( int model_index )¶
(This method has no documentation)
bool load_id_map_from_json( String json )¶
(This method has no documentation)
bool load_id_map_from_string_array( PackedStringArray str_array )¶
(This method has no documentation)
String serialize_id_map_to_json( )¶
(This method has no documentation)
PackedStringArray serialize_id_map_to_string_array( )¶
(This method has no documentation)
Generated on Apr 06, 2024