.. 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/MeshInstance3D.xml. .. _class_MeshInstance3D: MeshInstance3D ============== **Inherits:** :ref:`GeometryInstance3D` **<** :ref:`VisualInstance3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` **Inherited By:** :ref:`SoftBody3D` .. 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:`Mesh` | :ref:`mesh` | | +---------------------------------+---------------------------------------------------------+--------------------+ | :ref:`NodePath` | :ref:`skeleton` | ``NodePath("..")`` | +---------------------------------+---------------------------------------------------------+--------------------+ | :ref:`Skin` | :ref:`skin` | | +---------------------------------+---------------------------------------------------------+--------------------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`ArrayMesh` | :ref:`bake_mesh_from_current_blend_shape_mix` **(** :ref:`ArrayMesh` existing=null **)** | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`create_convex_collision` **(** :ref:`bool` clean=true, :ref:`bool` simplify=false **)** | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`create_debug_tangents` **(** **)** | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`create_multiple_convex_collisions` **(** :ref:`MeshConvexDecompositionSettings` settings=null **)** | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`create_trimesh_collision` **(** **)** | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`find_blend_shape_by_name` **(** :ref:`StringName` name **)** | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Material` | :ref:`get_active_material` **(** :ref:`int` surface **)** |const| | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_blend_shape_count` **(** **)** |const| | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`float` | :ref:`get_blend_shape_value` **(** :ref:`int` blend_shape_idx **)** |const| | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`SkinReference` | :ref:`get_skin_reference` **(** **)** |const| | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Material` | :ref:`get_surface_override_material` **(** :ref:`int` surface **)** |const| | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_surface_override_material_count` **(** **)** |const| | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_blend_shape_value` **(** :ref:`int` blend_shape_idx, :ref:`float` value **)** | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_surface_override_material` **(** :ref:`int` surface, :ref:`Material` material **)** | +-------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_MeshInstance3D_property_mesh: .. rst-class:: classref-property :ref:`Mesh` **mesh** .. rst-class:: classref-property-setget - void **set_mesh** **(** :ref:`Mesh` value **)** - :ref:`Mesh` **get_mesh** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_property_skeleton: .. rst-class:: classref-property :ref:`NodePath` **skeleton** = ``NodePath("..")`` .. rst-class:: classref-property-setget - void **set_skeleton_path** **(** :ref:`NodePath` value **)** - :ref:`NodePath` **get_skeleton_path** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_property_skin: .. rst-class:: classref-property :ref:`Skin` **skin** .. rst-class:: classref-property-setget - void **set_skin** **(** :ref:`Skin` value **)** - :ref:`Skin` **get_skin** **(** **)** .. 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_MeshInstance3D_method_bake_mesh_from_current_blend_shape_mix: .. rst-class:: classref-method :ref:`ArrayMesh` **bake_mesh_from_current_blend_shape_mix** **(** :ref:`ArrayMesh` existing=null **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_method_create_convex_collision: .. rst-class:: classref-method void **create_convex_collision** **(** :ref:`bool` clean=true, :ref:`bool` simplify=false **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_method_create_debug_tangents: .. rst-class:: classref-method void **create_debug_tangents** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_method_create_multiple_convex_collisions: .. rst-class:: classref-method void **create_multiple_convex_collisions** **(** :ref:`MeshConvexDecompositionSettings` settings=null **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_method_create_trimesh_collision: .. rst-class:: classref-method void **create_trimesh_collision** **(** **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_method_find_blend_shape_by_name: .. rst-class:: classref-method :ref:`int` **find_blend_shape_by_name** **(** :ref:`StringName` name **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_method_get_active_material: .. rst-class:: classref-method :ref:`Material` **get_active_material** **(** :ref:`int` surface **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_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_MeshInstance3D_method_get_blend_shape_value: .. rst-class:: classref-method :ref:`float` **get_blend_shape_value** **(** :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_MeshInstance3D_method_get_skin_reference: .. rst-class:: classref-method :ref:`SkinReference` **get_skin_reference** **(** **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_method_get_surface_override_material: .. rst-class:: classref-method :ref:`Material` **get_surface_override_material** **(** :ref:`int` surface **)** |const| .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_method_get_surface_override_material_count: .. rst-class:: classref-method :ref:`int` **get_surface_override_material_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_MeshInstance3D_method_set_blend_shape_value: .. rst-class:: classref-method void **set_blend_shape_value** **(** :ref:`int` blend_shape_idx, :ref:`float` value **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_MeshInstance3D_method_set_surface_override_material: .. rst-class:: classref-method void **set_surface_override_material** **(** :ref:`int` surface, :ref:`Material` material **)** .. 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.)`