mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
classref: Sync with current master branch (4a01602)
This commit is contained in:
@@ -187,6 +187,8 @@ Properties
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`debug/gdscript/warnings/enable<class_ProjectSettings_property_debug/gdscript/warnings/enable>` | ``true`` |
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`debug/gdscript/warnings/enum_variable_without_default<class_ProjectSettings_property_debug/gdscript/warnings/enum_variable_without_default>` | ``1`` |
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`debug/gdscript/warnings/exclude_addons<class_ProjectSettings_property_debug/gdscript/warnings/exclude_addons>` | ``true`` |
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`debug/gdscript/warnings/function_used_as_property<class_ProjectSettings_property_debug/gdscript/warnings/function_used_as_property>` | ``1`` |
|
||||
@@ -285,6 +287,8 @@ Properties
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`debug/shader_language/warnings/formatting_error<class_ProjectSettings_property_debug/shader_language/warnings/formatting_error>` | ``true`` |
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`debug/shader_language/warnings/magic_position_write<class_ProjectSettings_property_debug/shader_language/warnings/magic_position_write>` | ``true`` |
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`debug/shader_language/warnings/treat_warnings_as_errors<class_ProjectSettings_property_debug/shader_language/warnings/treat_warnings_as_errors>` | ``false`` |
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`debug/shader_language/warnings/unused_constant<class_ProjectSettings_property_debug/shader_language/warnings/unused_constant>` | ``true`` |
|
||||
@@ -735,6 +739,8 @@ Properties
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`internationalization/rendering/force_right_to_left_layout_direction<class_ProjectSettings_property_internationalization/rendering/force_right_to_left_layout_direction>` | ``false`` |
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`bool<class_bool>` | :ref:`internationalization/rendering/root_node_auto_translate<class_ProjectSettings_property_internationalization/rendering/root_node_auto_translate>` | ``true`` |
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`int<class_int>` | :ref:`internationalization/rendering/root_node_layout_direction<class_ProjectSettings_property_internationalization/rendering/root_node_layout_direction>` | ``0`` |
|
||||
+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------------------+
|
||||
| :ref:`String<class_String>` | :ref:`internationalization/rendering/text_driver<class_ProjectSettings_property_internationalization/rendering/text_driver>` | ``""`` |
|
||||
@@ -2604,6 +2610,18 @@ If ``true``, enables specific GDScript warnings (see ``debug/gdscript/warnings/*
|
||||
|
||||
----
|
||||
|
||||
.. _class_ProjectSettings_property_debug/gdscript/warnings/enum_variable_without_default:
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`int<class_int>` **debug/gdscript/warnings/enum_variable_without_default** = ``1``
|
||||
|
||||
When set to ``warn`` or ``error``, produces a warning or an error respectively when a variable has an enum type but no explicit default value, but only if the enum does not contain ``0`` as a valid value.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
----
|
||||
|
||||
.. _class_ProjectSettings_property_debug/gdscript/warnings/exclude_addons:
|
||||
|
||||
.. rst-class:: classref-property
|
||||
@@ -3200,6 +3218,18 @@ When set to ``true``, produces a warning upon encountering certain formatting er
|
||||
|
||||
----
|
||||
|
||||
.. _class_ProjectSettings_property_debug/shader_language/warnings/magic_position_write:
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`bool<class_bool>` **debug/shader_language/warnings/magic_position_write** = ``true``
|
||||
|
||||
When set to ``true``, produces a warning when the shader contains ``POSITION = vec4(vertex,`` as this was very common code written in Godot 4.2 and earlier that was paired with a QuadMesh to produce a full screen post processes pass. With the switch to reversed z in 4.3, this trick no longer works, as it implicitly relied on the ``VERTEX.z`` being 0.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
----
|
||||
|
||||
.. _class_ProjectSettings_property_debug/shader_language/warnings/treat_warnings_as_errors:
|
||||
|
||||
.. rst-class:: classref-property
|
||||
@@ -6168,6 +6198,20 @@ Force layout direction and text writing direction to RTL for all controls.
|
||||
|
||||
----
|
||||
|
||||
.. _class_ProjectSettings_property_internationalization/rendering/root_node_auto_translate:
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`bool<class_bool>` **internationalization/rendering/root_node_auto_translate** = ``true``
|
||||
|
||||
If ``true``, root node will use :ref:`Node.AUTO_TRANSLATE_MODE_ALWAYS<class_Node_constant_AUTO_TRANSLATE_MODE_ALWAYS>`, otherwise :ref:`Node.AUTO_TRANSLATE_MODE_DISABLED<class_Node_constant_AUTO_TRANSLATE_MODE_DISABLED>` will be used.
|
||||
|
||||
\ **Note:** This property is only read when the project starts. To change the auto translate mode at runtime, set :ref:`Node.auto_translate_mode<class_Node_property_auto_translate_mode>` of :ref:`SceneTree.root<class_SceneTree_property_root>` instead.
|
||||
|
||||
.. rst-class:: classref-item-separator
|
||||
|
||||
----
|
||||
|
||||
.. _class_ProjectSettings_property_internationalization/rendering/root_node_layout_direction:
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
Reference in New Issue
Block a user