.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/ImporterMesh.xml. .. _class_ImporterMesh: ImporterMesh ============ **Inherits:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +-------------------------------------+-------------------------------------------------+------------------------+ | :ref:`Dictionary` | :ref:`_data` | ``{ "surfaces": [] }`` | +-------------------------------------+-------------------------------------------------+------------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_blend_shape` **(** :ref:`String` name **)** | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_surface` **(** :ref:`PrimitiveType` primitive, :ref:`Array` arrays, :ref:`Array[]` blend_shapes=[], :ref:`Dictionary` lods={}, :ref:`Material` material=null, :ref:`String` name="", :ref:`int` flags=0 **)** | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`clear` **(** **)** | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`generate_lods` **(** :ref:`float` normal_merge_angle, :ref:`float` normal_split_angle, :ref:`Array` bone_transform_array **)** | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_blend_shape_count` **(** **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`BlendShapeMode` | :ref:`get_blend_shape_mode` **(** **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_blend_shape_name` **(** :ref:`int` blend_shape_idx **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2i` | :ref:`get_lightmap_size_hint` **(** **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`ArrayMesh` | :ref:`get_mesh` **(** :ref:`ArrayMesh` base_mesh=null **)** | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_surface_arrays` **(** :ref:`int` surface_idx **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Array` | :ref:`get_surface_blend_shape_arrays` **(** :ref:`int` surface_idx, :ref:`int` blend_shape_idx **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_surface_count` **(** **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_surface_format` **(** :ref:`int` surface_idx **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_surface_lod_count` **(** :ref:`int` surface_idx **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PackedInt32Array` | :ref:`get_surface_lod_indices` **(** :ref:`int` surface_idx, :ref:`int` lod_idx **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_surface_lod_size` **(** :ref:`int` surface_idx, :ref:`int` lod_idx **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Material` | :ref:`get_surface_material` **(** :ref:`int` surface_idx **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`get_surface_name` **(** :ref:`int` surface_idx **)** |const| | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`PrimitiveType` | :ref:`get_surface_primitive_type` **(** :ref:`int` surface_idx **)** | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_blend_shape_mode` **(** :ref:`BlendShapeMode` mode **)** | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_lightmap_size_hint` **(** :ref:`Vector2i` size **)** | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_surface_material` **(** :ref:`int` surface_idx, :ref:`Material` material **)** | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_surface_name` **(** :ref:`int` surface_idx, :ref:`String` name **)** | +-------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_ImporterMesh_property__data: .. rst-class:: classref-property :ref:`Dictionary` **_data** = ``{ "surfaces": [] }`` .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_ImporterMesh_method_add_blend_shape: .. rst-class:: classref-method void **add_blend_shape** **(** :ref:`String` name **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_add_surface: .. rst-class:: classref-method void **add_surface** **(** :ref:`PrimitiveType` primitive, :ref:`Array` arrays, :ref:`Array[]` blend_shapes=[], :ref:`Dictionary` lods={}, :ref:`Material` material=null, :ref:`String` name="", :ref:`int` flags=0 **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_clear: .. rst-class:: classref-method void **clear** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_generate_lods: .. rst-class:: classref-method void **generate_lods** **(** :ref:`float` normal_merge_angle, :ref:`float` normal_split_angle, :ref:`Array` bone_transform_array **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_blend_shape_count: .. rst-class:: classref-method :ref:`int` **get_blend_shape_count** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_blend_shape_mode: .. rst-class:: classref-method :ref:`BlendShapeMode` **get_blend_shape_mode** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_blend_shape_name: .. rst-class:: classref-method :ref:`String` **get_blend_shape_name** **(** :ref:`int` blend_shape_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_lightmap_size_hint: .. rst-class:: classref-method :ref:`Vector2i` **get_lightmap_size_hint** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_mesh: .. rst-class:: classref-method :ref:`ArrayMesh` **get_mesh** **(** :ref:`ArrayMesh` base_mesh=null **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_surface_arrays: .. rst-class:: classref-method :ref:`Array` **get_surface_arrays** **(** :ref:`int` surface_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_surface_blend_shape_arrays: .. rst-class:: classref-method :ref:`Array` **get_surface_blend_shape_arrays** **(** :ref:`int` surface_idx, :ref:`int` blend_shape_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_surface_count: .. rst-class:: classref-method :ref:`int` **get_surface_count** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_surface_format: .. rst-class:: classref-method :ref:`int` **get_surface_format** **(** :ref:`int` surface_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_surface_lod_count: .. rst-class:: classref-method :ref:`int` **get_surface_lod_count** **(** :ref:`int` surface_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_surface_lod_indices: .. rst-class:: classref-method :ref:`PackedInt32Array` **get_surface_lod_indices** **(** :ref:`int` surface_idx, :ref:`int` lod_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_surface_lod_size: .. rst-class:: classref-method :ref:`float` **get_surface_lod_size** **(** :ref:`int` surface_idx, :ref:`int` lod_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_surface_material: .. rst-class:: classref-method :ref:`Material` **get_surface_material** **(** :ref:`int` surface_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_surface_name: .. rst-class:: classref-method :ref:`String` **get_surface_name** **(** :ref:`int` surface_idx **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_get_surface_primitive_type: .. rst-class:: classref-method :ref:`PrimitiveType` **get_surface_primitive_type** **(** :ref:`int` surface_idx **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_set_blend_shape_mode: .. rst-class:: classref-method void **set_blend_shape_mode** **(** :ref:`BlendShapeMode` mode **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_set_lightmap_size_hint: .. rst-class:: classref-method void **set_lightmap_size_hint** **(** :ref:`Vector2i` size **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_set_surface_material: .. rst-class:: classref-method void **set_surface_material** **(** :ref:`int` surface_idx, :ref:`Material` material **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_ImporterMesh_method_set_surface_name: .. rst-class:: classref-method void **set_surface_name** **(** :ref:`int` surface_idx, :ref:`String` name **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`