classref: Sync with 4.0-stable

This commit is contained in:
Rémi Verschelde
2023-03-01 14:39:39 +01:00
parent 74d946672e
commit fb93c04226
8 changed files with 44 additions and 174 deletions

View File

@@ -94,7 +94,9 @@ Method Descriptions
:ref:`bool<class_bool>` **_begin_customize_resources** **(** :ref:`EditorExportPlatform<class_EditorExportPlatform>` platform, :ref:`PackedStringArray<class_PackedStringArray>` features **)** |virtual| |const|
Return true if this plugin will customize resources based on the platform and features used.
Return ``true`` if this plugin will customize resources based on the platform and features used.
When enabled, :ref:`_get_customization_configuration_hash<class_EditorExportPlugin_method__get_customization_configuration_hash>`, :ref:`_customize_resource<class_EditorExportPlugin_method__customize_resource>` and :ref:`_customize_scene<class_EditorExportPlugin_method__customize_scene>` will be called and must be implemented.
.. rst-class:: classref-item-separator
@@ -122,6 +124,8 @@ Customize a resource. If changes are made to it, return the same or a new resour
The *path* argument is only used when customizing an actual file, otherwise this means that this resource is part of another one and it will be empty.
Implementing this method is required if :ref:`_begin_customize_resources<class_EditorExportPlugin_method__begin_customize_resources>` returns ``true``.
.. rst-class:: classref-item-separator
----
@@ -134,6 +138,8 @@ The *path* argument is only used when customizing an actual file, otherwise this
Customize a scene. If changes are made to it, return the same or a new scene. Otherwise, return ``null``. If a new scene is returned, it is up to you to dispose of the old one.
Implementing this method is required if :ref:`_begin_customize_resources<class_EditorExportPlugin_method__begin_customize_resources>` returns ``true``.
.. rst-class:: classref-item-separator
----
@@ -208,6 +214,8 @@ Calling :ref:`skip<class_EditorExportPlugin_method_skip>` inside this callback w
Return a hash based on the configuration passed (for both scenes and resources). This helps keep separate caches for separate export configurations.
Implementing this method is required if :ref:`_begin_customize_resources<class_EditorExportPlugin_method__begin_customize_resources>` returns ``true``.
.. rst-class:: classref-item-separator
----
@@ -230,7 +238,9 @@ Return a :ref:`PackedStringArray<class_PackedStringArray>` of additional feature
:ref:`String<class_String>` **_get_name** **(** **)** |virtual| |const|
Return the name identifier of this plugin (for future identification by the exporter).
Return the name identifier of this plugin (for future identification by the exporter). The plugins are sorted by name before exporting.
Implementing this method is required.
.. rst-class:: classref-item-separator

View File

@@ -30,7 +30,7 @@ This editor-only singleton returns OS-specific paths to various data folders and
Tutorials
---------
- `File paths in Godot projects <https://docs.godotengine.org/en/latest/tutorials/io/data_paths.html>`__
- :doc:`File paths in Godot projects <../tutorials/io/data_paths>`
.. rst-class:: classref-reftable-group

View File

@@ -85,8 +85,6 @@ Methods
+-------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Node<class_Node>` | :ref:`get_scene_node<class_GLTFState_method_get_scene_node>` **(** :ref:`int<class_int>` idx **)** |
+-------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Dictionary<class_Dictionary>` | :ref:`get_skeleton_to_node<class_GLTFState_method_get_skeleton_to_node>` **(** **)** |
+-------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`GLTFSkeleton[]<class_GLTFSkeleton>` | :ref:`get_skeletons<class_GLTFState_method_get_skeletons>` **(** **)** |
+-------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`GLTFSkin[]<class_GLTFSkin>` | :ref:`get_skins<class_GLTFState_method_get_skins>` **(** **)** |
@@ -121,8 +119,6 @@ Methods
+-------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_nodes<class_GLTFState_method_set_nodes>` **(** :ref:`GLTFNode[]<class_GLTFNode>` nodes **)** |
+-------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_skeleton_to_node<class_GLTFState_method_set_skeleton_to_node>` **(** :ref:`Dictionary<class_Dictionary>` skeleton_to_node **)** |
+-------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_skeletons<class_GLTFState_method_set_skeletons>` **(** :ref:`GLTFSkeleton[]<class_GLTFSkeleton>` skeletons **)** |
+-------------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_skins<class_GLTFState_method_set_skins>` **(** :ref:`GLTFSkin[]<class_GLTFSkin>` skins **)** |
@@ -589,20 +585,6 @@ The argument should be the :ref:`GLTFDocumentExtension<class_GLTFDocumentExtensi
----
.. _class_GLTFState_method_get_skeleton_to_node:
.. rst-class:: classref-method
:ref:`Dictionary<class_Dictionary>` **get_skeleton_to_node** **(** **)**
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. rst-class:: classref-item-separator
----
.. _class_GLTFState_method_get_skeletons:
.. rst-class:: classref-method
@@ -839,20 +821,6 @@ void **set_nodes** **(** :ref:`GLTFNode[]<class_GLTFNode>` nodes **)**
----
.. _class_GLTFState_method_set_skeleton_to_node:
.. rst-class:: classref-method
void **set_skeleton_to_node** **(** :ref:`Dictionary<class_Dictionary>` skeleton_to_node **)**
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. rst-class:: classref-item-separator
----
.. _class_GLTFState_method_set_skeletons:
.. rst-class:: classref-method

View File

@@ -652,9 +652,7 @@ Method Descriptions
:ref:`AABB<class_AABB>` **_get_aabb** **(** **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the :ref:`AABB<class_AABB>` for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -666,9 +664,7 @@ Method Descriptions
:ref:`int<class_int>` **_get_blend_shape_count** **(** **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the number of blend shapes for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -680,9 +676,7 @@ Method Descriptions
:ref:`StringName<class_StringName>` **_get_blend_shape_name** **(** :ref:`int<class_int>` index **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the retrieval of blend shape names for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -694,9 +688,7 @@ Method Descriptions
:ref:`int<class_int>` **_get_surface_count** **(** **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the surface count for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -708,9 +700,7 @@ Method Descriptions
void **_set_blend_shape_name** **(** :ref:`int<class_int>` index, :ref:`StringName<class_StringName>` name **)** |virtual|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the names of blend shapes for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -722,9 +712,7 @@ void **_set_blend_shape_name** **(** :ref:`int<class_int>` index, :ref:`StringNa
:ref:`int<class_int>` **_surface_get_array_index_len** **(** :ref:`int<class_int>` index **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the surface array index length for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -736,9 +724,7 @@ void **_set_blend_shape_name** **(** :ref:`int<class_int>` index, :ref:`StringNa
:ref:`int<class_int>` **_surface_get_array_len** **(** :ref:`int<class_int>` index **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the surface array length for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -750,9 +736,7 @@ void **_set_blend_shape_name** **(** :ref:`int<class_int>` index, :ref:`StringNa
:ref:`Array<class_Array>` **_surface_get_arrays** **(** :ref:`int<class_int>` index **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the surface arrays for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -764,9 +748,7 @@ void **_set_blend_shape_name** **(** :ref:`int<class_int>` index, :ref:`StringNa
:ref:`Array[]<class_Array>` **_surface_get_blend_shape_arrays** **(** :ref:`int<class_int>` index **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the blend shape arrays for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -778,9 +760,7 @@ void **_set_blend_shape_name** **(** :ref:`int<class_int>` index, :ref:`StringNa
:ref:`int<class_int>` **_surface_get_format** **(** :ref:`int<class_int>` index **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the surface format for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -792,9 +772,7 @@ void **_set_blend_shape_name** **(** :ref:`int<class_int>` index, :ref:`StringNa
:ref:`Dictionary<class_Dictionary>` **_surface_get_lods** **(** :ref:`int<class_int>` index **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the surface LODs for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -806,9 +784,7 @@ void **_set_blend_shape_name** **(** :ref:`int<class_int>` index, :ref:`StringNa
:ref:`Material<class_Material>` **_surface_get_material** **(** :ref:`int<class_int>` index **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the surface material for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -820,9 +796,7 @@ void **_set_blend_shape_name** **(** :ref:`int<class_int>` index, :ref:`StringNa
:ref:`int<class_int>` **_surface_get_primitive_type** **(** :ref:`int<class_int>` index **)** |virtual| |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the surface primitive type for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator
@@ -834,9 +808,7 @@ void **_set_blend_shape_name** **(** :ref:`int<class_int>` index, :ref:`StringNa
void **_surface_set_material** **(** :ref:`int<class_int>` index, :ref:`Material<class_Material>` material **)** |virtual|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Virtual method to override the setting of a ``material`` at the given ``index`` for a custom class extending **Mesh**.
.. rst-class:: classref-item-separator

View File

@@ -140,7 +140,7 @@ The :ref:`Mesh<class_Mesh>` resource for the instance.
- void **set_skin** **(** :ref:`Skin<class_Skin>` value **)**
- :ref:`Skin<class_Skin>` **get_skin** **(** **)**
Sets the skin to be used by this instance.
The :ref:`Skin<class_Skin>` to be used by this instance.
.. rst-class:: classref-section-separator
@@ -209,9 +209,7 @@ This helper creates a :ref:`StaticBody3D<class_StaticBody3D>` child node with a
:ref:`int<class_int>` **find_blend_shape_by_name** **(** :ref:`StringName<class_StringName>` name **)**
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Returns the index of the blend shape with the given ``name``. Returns ``-1`` if no blend shape with this name exists, including when :ref:`mesh<class_MeshInstance3D_property_mesh>` is ``null``.
.. rst-class:: classref-item-separator
@@ -223,7 +221,9 @@ This helper creates a :ref:`StaticBody3D<class_StaticBody3D>` child node with a
:ref:`Material<class_Material>` **get_active_material** **(** :ref:`int<class_int>` surface **)** |const|
Returns the :ref:`Material<class_Material>` that will be used by the :ref:`Mesh<class_Mesh>` when drawing. This can return the :ref:`GeometryInstance3D.material_override<class_GeometryInstance3D_property_material_override>`, the surface override :ref:`Material<class_Material>` defined in this **MeshInstance3D**, or the surface :ref:`Material<class_Material>` defined in the :ref:`Mesh<class_Mesh>`. For example, if :ref:`GeometryInstance3D.material_override<class_GeometryInstance3D_property_material_override>` is used, all surfaces will return the override material.
Returns the :ref:`Material<class_Material>` that will be used by the :ref:`Mesh<class_Mesh>` when drawing. This can return the :ref:`GeometryInstance3D.material_override<class_GeometryInstance3D_property_material_override>`, the surface override :ref:`Material<class_Material>` defined in this **MeshInstance3D**, or the surface :ref:`Material<class_Material>` defined in the :ref:`mesh<class_MeshInstance3D_property_mesh>`. For example, if :ref:`GeometryInstance3D.material_override<class_GeometryInstance3D_property_material_override>` is used, all surfaces will return the override material.
Returns ``null`` if no material is active, including when :ref:`mesh<class_MeshInstance3D_property_mesh>` is ``null``.
.. rst-class:: classref-item-separator
@@ -235,9 +235,7 @@ Returns the :ref:`Material<class_Material>` that will be used by the :ref:`Mesh<
:ref:`int<class_int>` **get_blend_shape_count** **(** **)** |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Returns the number of blend shapes available. Produces an error if :ref:`mesh<class_MeshInstance3D_property_mesh>` is ``null``.
.. rst-class:: classref-item-separator
@@ -249,9 +247,7 @@ Returns the :ref:`Material<class_Material>` that will be used by the :ref:`Mesh<
:ref:`float<class_float>` **get_blend_shape_value** **(** :ref:`int<class_int>` blend_shape_idx **)** |const|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Returns the value of the blend shape at the given ``blend_shape_idx``. Returns ``0.0`` and produces an error if :ref:`mesh<class_MeshInstance3D_property_mesh>` is ``null`` or doesn't have a blend shape at that index.
.. rst-class:: classref-item-separator
@@ -263,7 +259,7 @@ Returns the :ref:`Material<class_Material>` that will be used by the :ref:`Mesh<
:ref:`Material<class_Material>` **get_surface_override_material** **(** :ref:`int<class_int>` surface **)** |const|
Returns the override :ref:`Material<class_Material>` for the specified surface of the :ref:`Mesh<class_Mesh>` resource.
Returns the override :ref:`Material<class_Material>` for the specified ``surface`` of the :ref:`Mesh<class_Mesh>` resource.
.. rst-class:: classref-item-separator
@@ -287,9 +283,7 @@ Returns the number of surface override materials. This is equivalent to :ref:`Me
void **set_blend_shape_value** **(** :ref:`int<class_int>` blend_shape_idx, :ref:`float<class_float>` value **)**
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
Sets the value of the blend shape at ``blend_shape_idx`` to ``value``. Produces an error if :ref:`mesh<class_MeshInstance3D_property_mesh>` is ``null`` or doesn't have a blend shape at that index.
.. rst-class:: classref-item-separator
@@ -301,7 +295,7 @@ void **set_blend_shape_value** **(** :ref:`int<class_int>` blend_shape_idx, :ref
void **set_surface_override_material** **(** :ref:`int<class_int>` surface, :ref:`Material<class_Material>` material **)**
Sets the override :ref:`Material<class_Material>` for the specified surface of the :ref:`Mesh<class_Mesh>` resource. This material is associated with this **MeshInstance3D** rather than with the :ref:`Mesh<class_Mesh>` resource.
Sets the override ``material`` for the specified ``surface`` of the :ref:`Mesh<class_Mesh>` resource. This material is associated with this **MeshInstance3D** rather than with :ref:`mesh<class_MeshInstance3D_property_mesh>`.
.. |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.)`

View File

@@ -29,8 +29,6 @@ Methods
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_add_named_global_constant<class_ScriptLanguageExtension_method__add_named_global_constant>` **(** :ref:`StringName<class_StringName>` name, :ref:`Variant<class_Variant>` value **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void* | :ref:`_alloc_instance_binding_data<class_ScriptLanguageExtension_method__alloc_instance_binding_data>` **(** :ref:`Object<class_Object>` object **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`String<class_String>` | :ref:`_auto_indent_code<class_ScriptLanguageExtension_method__auto_indent_code>` **(** :ref:`String<class_String>` code, :ref:`int<class_int>` from_line, :ref:`int<class_int>` to_line **)** |virtual| |const| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`_can_inherit_from_file<class_ScriptLanguageExtension_method__can_inherit_from_file>` **(** **)** |virtual| |const| |
@@ -59,16 +57,12 @@ Methods
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`String<class_String>` | :ref:`_debug_parse_stack_level_expression<class_ScriptLanguageExtension_method__debug_parse_stack_level_expression>` **(** :ref:`int<class_int>` level, :ref:`String<class_String>` expression, :ref:`int<class_int>` max_subitems, :ref:`int<class_int>` max_depth **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Error<enum_@GlobalScope_Error>` | :ref:`_execute_file<class_ScriptLanguageExtension_method__execute_file>` **(** :ref:`String<class_String>` path **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`int<class_int>` | :ref:`_find_function<class_ScriptLanguageExtension_method__find_function>` **(** :ref:`String<class_String>` class_name, :ref:`String<class_String>` function_name **)** |virtual| |const| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_finish<class_ScriptLanguageExtension_method__finish>` **(** **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_frame<class_ScriptLanguageExtension_method__frame>` **(** **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_free_instance_binding_data<class_ScriptLanguageExtension_method__free_instance_binding_data>` **(** void* data **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`Dictionary[]<class_Dictionary>` | :ref:`_get_built_in_templates<class_ScriptLanguageExtension_method__get_built_in_templates>` **(** :ref:`StringName<class_StringName>` object **)** |virtual| |const| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`PackedStringArray<class_PackedStringArray>` | :ref:`_get_comment_delimiters<class_ScriptLanguageExtension_method__get_comment_delimiters>` **(** **)** |virtual| |const| |
@@ -121,10 +115,6 @@ Methods
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_profiling_stop<class_ScriptLanguageExtension_method__profiling_stop>` **(** **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`_refcount_decremented_instance_binding<class_ScriptLanguageExtension_method__refcount_decremented_instance_binding>` **(** :ref:`Object<class_Object>` object **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_refcount_incremented_instance_binding<class_ScriptLanguageExtension_method__refcount_incremented_instance_binding>` **(** :ref:`Object<class_Object>` object **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_reload_all_scripts<class_ScriptLanguageExtension_method__reload_all_scripts>` **(** **)** |virtual| |
+---------------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_reload_tool_script<class_ScriptLanguageExtension_method__reload_tool_script>` **(** :ref:`Script<class_Script>` script, :ref:`bool<class_bool>` soft_reload **)** |virtual| |
@@ -416,20 +406,6 @@ void **_add_named_global_constant** **(** :ref:`StringName<class_StringName>` na
----
.. _class_ScriptLanguageExtension_method__alloc_instance_binding_data:
.. rst-class:: classref-method
void* **_alloc_instance_binding_data** **(** :ref:`Object<class_Object>` object **)** |virtual|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. rst-class:: classref-item-separator
----
.. _class_ScriptLanguageExtension_method__auto_indent_code:
.. rst-class:: classref-method
@@ -626,20 +602,6 @@ void* **_debug_get_stack_level_instance** **(** :ref:`int<class_int>` level **)*
----
.. _class_ScriptLanguageExtension_method__execute_file:
.. rst-class:: classref-method
:ref:`Error<enum_@GlobalScope_Error>` **_execute_file** **(** :ref:`String<class_String>` path **)** |virtual|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. rst-class:: classref-item-separator
----
.. _class_ScriptLanguageExtension_method__find_function:
.. rst-class:: classref-method
@@ -682,20 +644,6 @@ void **_frame** **(** **)** |virtual|
----
.. _class_ScriptLanguageExtension_method__free_instance_binding_data:
.. rst-class:: classref-method
void **_free_instance_binding_data** **(** void* data **)** |virtual|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. rst-class:: classref-item-separator
----
.. _class_ScriptLanguageExtension_method__get_built_in_templates:
.. rst-class:: classref-method
@@ -1060,34 +1008,6 @@ void **_profiling_stop** **(** **)** |virtual|
----
.. _class_ScriptLanguageExtension_method__refcount_decremented_instance_binding:
.. rst-class:: classref-method
:ref:`bool<class_bool>` **_refcount_decremented_instance_binding** **(** :ref:`Object<class_Object>` object **)** |virtual|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. rst-class:: classref-item-separator
----
.. _class_ScriptLanguageExtension_method__refcount_incremented_instance_binding:
.. rst-class:: classref-method
void **_refcount_incremented_instance_binding** **(** :ref:`Object<class_Object>` object **)** |virtual|
.. container:: contribute
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. rst-class:: classref-item-separator
----
.. _class_ScriptLanguageExtension_method__reload_all_scripts:
.. rst-class:: classref-method

View File

@@ -660,6 +660,8 @@ Resumes a paused or stopped **Tween**.
Sets the default ease type for :ref:`PropertyTweener<class_PropertyTweener>`\ s and :ref:`MethodTweener<class_MethodTweener>`\ s animated by this **Tween**.
If not specified, the default value is :ref:`EASE_IN_OUT<class_Tween_constant_EASE_IN_OUT>`.
.. rst-class:: classref-item-separator
----
@@ -740,6 +742,8 @@ Scales the speed of tweening. This affects all :ref:`Tweener<class_Tweener>`\ s
Sets the default transition type for :ref:`PropertyTweener<class_PropertyTweener>`\ s and :ref:`MethodTweener<class_MethodTweener>`\ s animated by this **Tween**.
If not specified, the default value is :ref:`TRANS_LINEAR<class_Tween_constant_TRANS_LINEAR>`.
.. rst-class:: classref-item-separator
----

View File

@@ -110,7 +110,9 @@ A negative value will result in the vehicle reversing.
- void **set_steering** **(** :ref:`float<class_float>` value **)**
- :ref:`float<class_float>` **get_steering** **(** **)**
The steering angle for the vehicle, in radians. Setting this to a non-zero value will result in the vehicle turning when it's moving. Wheels that have :ref:`VehicleWheel3D.use_as_steering<class_VehicleWheel3D_property_use_as_steering>` set to ``true`` will automatically be rotated.
The steering angle for the vehicle. Setting this to a non-zero value will result in the vehicle turning when it's moving. Wheels that have :ref:`VehicleWheel3D.use_as_steering<class_VehicleWheel3D_property_use_as_steering>` set to ``true`` will automatically be rotated.
\ **Note:** This property is edited in the inspector in degrees. In code the property is set in radians.
.. |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.)`