diff --git a/classes/class_animationnode.rst b/classes/class_animationnode.rst index 57f7bb9bd..b9facd0a2 100644 --- a/classes/class_animationnode.rst +++ b/classes/class_animationnode.rst @@ -209,7 +209,7 @@ Return ``true`` whether you want the blend tree editor to display filter editing - :ref:`bool` **is_path_filtered** **(** :ref:`NodePath` path **)** const -Return ``true`` wether a given path is filtered. +Return ``true`` whether a given path is filtered. .. _class_AnimationNode_method_process: diff --git a/classes/class_animationnodestatemachine.rst b/classes/class_animationnodestatemachine.rst index 2cd9897b4..905a0e5a9 100644 --- a/classes/class_animationnodestatemachine.rst +++ b/classes/class_animationnodestatemachine.rst @@ -68,7 +68,7 @@ Methods Description ----------- -Contains multiple root nodes as children in a graph. Each node is used as a state, and provides multiple functions to alternate between states. Retrieve the AnimationNodeStateMachinePlayback object from the :ref:`AnimationTree` node to control it programatically. +Contains multiple root nodes as children in a graph. Each node is used as a state, and provides multiple functions to alternate between states. Retrieve the AnimationNodeStateMachinePlayback object from the :ref:`AnimationTree` node to control it programmatically. :: diff --git a/classes/class_animationnodestatemachinetransition.rst b/classes/class_animationnodestatemachinetransition.rst index d2fa69397..f4e8f3f68 100644 --- a/classes/class_animationnodestatemachinetransition.rst +++ b/classes/class_animationnodestatemachinetransition.rst @@ -72,7 +72,11 @@ Property Descriptions | *Getter* | get_advance_condition() | +----------+------------------------------+ -Turn on auto advance when this condition is set. This is a custom text field that can be filled with a variable name. The variable can be modified from code. +Turn on auto advance when this condition is set. The provided name will become a boolean parameter on the :ref:`AnimationTree` that can be controlled from code (see :ref:`https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html#controlling-from-code`). For example, if :ref:`AnimationTree.tree_root` is an :ref:`AnimationNodeStateMachine` and :ref:`advance_condition` is set to "idle": + +:: + + $animation_tree["parameters/conditions/idle"] = is_on_floor and linear_velocity.x == 0 .. _class_AnimationNodeStateMachineTransition_property_auto_advance: diff --git a/classes/class_control.rst b/classes/class_control.rst index 6e5b370b4..7087780bf 100644 --- a/classes/class_control.rst +++ b/classes/class_control.rst @@ -195,7 +195,7 @@ Methods +----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_anchors_and_margins_preset` **(** :ref:`LayoutPreset` preset, :ref:`LayoutPresetMode` resize_mode=0, :ref:`int` margin=0 **)** | +----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| void | :ref:`set_anchors_preset` **(** :ref:`LayoutPreset` preset, :ref:`bool` keep_margin=false **)** | +| void | :ref:`set_anchors_preset` **(** :ref:`LayoutPreset` preset, :ref:`bool` keep_margins=false **)** | +----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_begin` **(** :ref:`Vector2` position **)** | +----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -205,10 +205,16 @@ Methods +----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_end` **(** :ref:`Vector2` position **)** | +----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| void | :ref:`set_global_position` **(** :ref:`Vector2` position, :ref:`bool` keep_margins=false **)** | ++----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_margins_preset` **(** :ref:`LayoutPreset` preset, :ref:`LayoutPresetMode` resize_mode=0, :ref:`int` margin=0 **)** | +----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| void | :ref:`set_position` **(** :ref:`Vector2` position, :ref:`bool` keep_margins=false **)** | ++----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_rotation` **(** :ref:`float` radians **)** | +----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| void | :ref:`set_size` **(** :ref:`Vector2` size, :ref:`bool` keep_margins=false **)** | ++----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`show_modal` **(** :ref:`bool` exclusive=false **)** | +----------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`warp_mouse` **(** :ref:`Vector2` to_position **)** | @@ -1275,7 +1281,7 @@ Give up the focus. No other control will be able to receive keyboard input. .. _class_Control_method_set_anchors_preset: -- void **set_anchors_preset** **(** :ref:`LayoutPreset` preset, :ref:`bool` keep_margin=false **)** +- void **set_anchors_preset** **(** :ref:`LayoutPreset` preset, :ref:`bool` keep_margins=false **)** .. _class_Control_method_set_begin: @@ -1326,16 +1332,28 @@ Shows the given control at the mouse pointer. A good time to call this method is Sets :ref:`margin_right` and :ref:`margin_bottom` at the same time. +.. _class_Control_method_set_global_position: + +- void **set_global_position** **(** :ref:`Vector2` position, :ref:`bool` keep_margins=false **)** + .. _class_Control_method_set_margins_preset: - void **set_margins_preset** **(** :ref:`LayoutPreset` preset, :ref:`LayoutPresetMode` resize_mode=0, :ref:`int` margin=0 **)** +.. _class_Control_method_set_position: + +- void **set_position** **(** :ref:`Vector2` position, :ref:`bool` keep_margins=false **)** + .. _class_Control_method_set_rotation: - void **set_rotation** **(** :ref:`float` radians **)** Sets the rotation (in radians). +.. _class_Control_method_set_size: + +- void **set_size** **(** :ref:`Vector2` size, :ref:`bool` keep_margins=false **)** + .. _class_Control_method_show_modal: - void **show_modal** **(** :ref:`bool` exclusive=false **)** diff --git a/classes/class_editorinspectorplugin.rst b/classes/class_editorinspectorplugin.rst index 956c615de..dbbbbf426 100644 --- a/classes/class_editorinspectorplugin.rst +++ b/classes/class_editorinspectorplugin.rst @@ -61,7 +61,7 @@ Method Descriptions - void **add_custom_control** **(** :ref:`Control` control **)** -Add a custom control, not necesarily a property editor. +Add a custom control, not necessarily a property editor. .. _class_EditorInspectorPlugin_method_add_property_editor: diff --git a/classes/class_editorplugin.rst b/classes/class_editorplugin.rst index de8186e0e..ef2615a58 100644 --- a/classes/class_editorplugin.rst +++ b/classes/class_editorplugin.rst @@ -560,3 +560,5 @@ Restore the plugin GUI layout saved by :ref:`get_window_layout` **update_overlays** **(** **)** const +Updates the overlays of the editor (2D/3D) viewport. + diff --git a/classes/class_image.rst b/classes/class_image.rst index dd5b4a650..d5b0f1ce9 100644 --- a/classes/class_image.rst +++ b/classes/class_image.rst @@ -297,6 +297,8 @@ enum **Format**: .. _class_Image_constant_INTERPOLATE_TRILINEAR: +.. _class_Image_constant_INTERPOLATE_LANCZOS: + enum **Interpolation**: - **INTERPOLATE_NEAREST** = **0** @@ -313,6 +315,8 @@ If the image does not have mipmaps, they will be generated and used internally, On the other hand, if the image already has mipmaps, they will be used, and a new set will be generated for the resulting image. +- **INTERPOLATE_LANCZOS** = **4** + .. _enum_Image_AlphaMode: .. _class_Image_constant_ALPHA_NONE: diff --git a/classes/class_networkedmultiplayerenet.rst b/classes/class_networkedmultiplayerenet.rst index 57161ec96..7761d015e 100644 --- a/classes/class_networkedmultiplayerenet.rst +++ b/classes/class_networkedmultiplayerenet.rst @@ -116,7 +116,7 @@ Always use ``TRANSFER_MODE_ORDERED`` in place of ``TRANSFER_MODE_UNRELIABLE``. T | *Getter* | get_channel_count() | +----------+--------------------------+ -The number of channels to be used by ENet. Default: ``3``. Channels are used to separate different kinds of data. In realiable or ordered mode, for example, the packet delivery order is ensured on a per channel basis. +The number of channels to be used by ENet. Default: ``3``. Channels are used to separate different kinds of data. In reliable or ordered mode, for example, the packet delivery order is ensured on a per channel basis. .. _class_NetworkedMultiplayerENet_property_compression_mode: diff --git a/classes/class_object.rst b/classes/class_object.rst index 670850fed..895064aa4 100644 --- a/classes/class_object.rst +++ b/classes/class_object.rst @@ -30,6 +30,8 @@ Methods +-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`_set` **(** :ref:`String` property, :ref:`Variant` value **)** virtual | +-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| :ref:`String` | :ref:`_to_string` **(** **)** virtual | ++-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_user_signal` **(** :ref:`String` signal, :ref:`Array` arguments=[ ] **)** | +-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Variant` | :ref:`call` **(** :ref:`String` method, ... **)** vararg | @@ -106,6 +108,8 @@ Methods +-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_script` **(** :ref:`Reference` script **)** | +-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ +| :ref:`String` | :ref:`to_string` **(** **)** | ++-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`String` | :ref:`tr` **(** :ref:`String` message **)** const | +-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ @@ -200,6 +204,14 @@ Notify the object internally using an ID. Sets a property. Returns ``true`` if the ``property`` exists. +.. _class_Object_method__to_string: + +- :ref:`String` **_to_string** **(** **)** virtual + +Returns a :ref:`String` representing the object. Default is ``"[ClassName:RID]"``. + +Override this method to customize the :ref:`String` representation of the object when it's being converted to a string, for example: ``print(obj)``. + .. _class_Object_method_add_user_signal: - void **add_user_signal** **(** :ref:`String` signal, :ref:`Array` arguments=[ ] **)** @@ -430,6 +442,14 @@ Set a metadata into the object. Metadata is serialized. Metadata can be *anythin Set a script into the object, scripts extend the object functionality. +.. _class_Object_method_to_string: + +- :ref:`String` **to_string** **(** **)** + +Returns a :ref:`String` representing the object. Default is ``"[ClassName:RID]"``. + +Override the method :ref:`_to_string` to customize the :ref:`String` representation. + .. _class_Object_method_tr: - :ref:`String` **tr** **(** :ref:`String` message **)** const diff --git a/classes/class_physicsbody.rst b/classes/class_physicsbody.rst index 3e09278aa..616c1452c 100644 --- a/classes/class_physicsbody.rst +++ b/classes/class_physicsbody.rst @@ -71,10 +71,12 @@ Property Descriptions The physics layers this area is in. -Collidable objects can exist in any of 32 different layers. These layers work like a tagging system, and are not visual. A collidable can use these layers to select with which objects it can collide, using the collision_mask property. +Collidable objects can exist in any of 32 different layers. These layers work like a tagging system, and are not visual. A collidable can use these layers to select with which objects it can collide, using the :ref:`collision_mask` property. A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. +Default value: 1 (the first layer/bit is enabled). + .. _class_PhysicsBody_property_collision_mask: - :ref:`int` **collision_mask** @@ -87,6 +89,8 @@ A contact is detected if object A is in any of the layers that object B scans, o The physics layers this area scans for collisions. +Default value: 1 (the first layer/bit is enabled). + Method Descriptions ------------------- @@ -106,13 +110,13 @@ Returns an array of nodes that were added as collision exceptions for this body. - :ref:`bool` **get_collision_layer_bit** **(** :ref:`int` bit **)** const -Returns an individual bit on the collision mask. +Returns an individual bit on the :ref:`collision_layer`. .. _class_PhysicsBody_method_get_collision_mask_bit: - :ref:`bool` **get_collision_mask_bit** **(** :ref:`int` bit **)** const -Returns an individual bit on the collision mask. +Returns an individual bit on the :ref:`collision_mask`. .. _class_PhysicsBody_method_remove_collision_exception_with: @@ -124,11 +128,11 @@ Removes a body from the list of bodies that this body can't collide with. - void **set_collision_layer_bit** **(** :ref:`int` bit, :ref:`bool` value **)** -Sets individual bits on the layer mask. Use this if you only need to change one layer's value. +Sets individual bits on the :ref:`collision_layer` bitmask. Use this if you only need to change one layer's value. .. _class_PhysicsBody_method_set_collision_mask_bit: - void **set_collision_mask_bit** **(** :ref:`int` bit, :ref:`bool` value **)** -Sets individual bits on the collision mask. Use this if you only need to change one layer's value. +Sets individual bits on the :ref:`collision_mask` bitmask. Use this if you only need to change one layer's value. diff --git a/classes/class_physicsbody2d.rst b/classes/class_physicsbody2d.rst index 01e5f4102..318dccb66 100644 --- a/classes/class_physicsbody2d.rst +++ b/classes/class_physicsbody2d.rst @@ -73,10 +73,12 @@ Property Descriptions The physics layers this area is in. -Collidable objects can exist in any of 32 different layers. These layers work like a tagging system, and are not visual. A collidable can use these layers to select with which objects it can collide, using the collision_mask property. +Collidable objects can exist in any of 32 different layers. These layers work like a tagging system, and are not visual. A collidable can use these layers to select with which objects it can collide, using the :ref:`collision_mask` property. A contact is detected if object A is in any of the layers that object B scans, or object B is in any layer scanned by object A. +Default value: 1 (the first layer/bit is enabled). + .. _class_PhysicsBody2D_property_collision_mask: - :ref:`int` **collision_mask** @@ -89,6 +91,8 @@ A contact is detected if object A is in any of the layers that object B scans, o The physics layers this area scans for collisions. +Default value: 1 (the first layer/bit is enabled). + .. _class_PhysicsBody2D_property_layers: - :ref:`int` **layers** @@ -114,13 +118,13 @@ Returns an array of nodes that were added as collision exceptions for this body. - :ref:`bool` **get_collision_layer_bit** **(** :ref:`int` bit **)** const -Returns an individual bit on the collision mask. +Returns an individual bit on the :ref:`collision_layer`. .. _class_PhysicsBody2D_method_get_collision_mask_bit: - :ref:`bool` **get_collision_mask_bit** **(** :ref:`int` bit **)** const -Returns an individual bit on the collision mask. +Returns an individual bit on the :ref:`collision_mask`. .. _class_PhysicsBody2D_method_remove_collision_exception_with: @@ -132,11 +136,11 @@ Removes a body from the list of bodies that this body can't collide with. - void **set_collision_layer_bit** **(** :ref:`int` bit, :ref:`bool` value **)** -Sets individual bits on the layer mask. Use this if you only need to change one layer's value. +Sets individual bits on the :ref:`collision_layer` bitmask. Use this if you only need to change one layer's value. .. _class_PhysicsBody2D_method_set_collision_mask_bit: - void **set_collision_mask_bit** **(** :ref:`int` bit, :ref:`bool` value **)** -Sets individual bits on the collision mask. Use this if you only need to change one layer's value. +Sets individual bits on the :ref:`collision_mask` bitmask. Use this if you only need to change one layer's value. diff --git a/classes/class_prismmesh.rst b/classes/class_prismmesh.rst index b5db40623..48ca37862 100644 --- a/classes/class_prismmesh.rst +++ b/classes/class_prismmesh.rst @@ -49,7 +49,7 @@ Property Descriptions | *Getter* | get_left_to_right() | +----------+--------------------------+ -Displacement of the upper edge along the x-axis. 0.0 positions edge straight above the bottome left edge. Defaults to 0.5 (positioned on the midpoint). +Displacement of the upper edge along the x-axis. 0.0 positions edge straight above the bottom left edge. Defaults to 0.5 (positioned on the midpoint). .. _class_PrismMesh_property_size: diff --git a/classes/class_string.rst b/classes/class_string.rst index cfd057b04..1dd067680 100644 --- a/classes/class_string.rst +++ b/classes/class_string.rst @@ -214,6 +214,11 @@ Description This is the built-in string class (and the one used by GDScript). It supports Unicode and provides all necessary means for string handling. Strings are reference counted and use a copy-on-write approach, so passing them around is cheap in resources. +Tutorials +--------- + +- :doc:`../getting_started/scripting/gdscript/gdscript_format_string` + Method Descriptions ------------------- diff --git a/classes/class_textedit.rst b/classes/class_textedit.rst index e5e8e5ab5..230198ab6 100644 --- a/classes/class_textedit.rst +++ b/classes/class_textedit.rst @@ -32,6 +32,8 @@ Properties +-----------------------------+-------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`context_menu_enabled` | +-----------------------------+-------------------------------------------------------------------------------------------+ +| :ref:`bool` | :ref:`draw_spaces` | ++-----------------------------+-------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`draw_tabs` | +-----------------------------+-------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`fold_gutter` | @@ -154,6 +156,8 @@ Theme Properties +---------------------------------+-----------------------------+ | :ref:`Color` | background_color | +---------------------------------+-----------------------------+ +| :ref:`Color` | bookmark_color | ++---------------------------------+-----------------------------+ | :ref:`Color` | brace_mismatch_color | +---------------------------------+-----------------------------+ | :ref:`Color` | breakpoint_color | @@ -218,6 +222,8 @@ Theme Properties +---------------------------------+-----------------------------+ | :ref:`Color` | selection_color | +---------------------------------+-----------------------------+ +| :ref:`Texture` | space | ++---------------------------------+-----------------------------+ | :ref:`Color` | symbol_color | +---------------------------------+-----------------------------+ | :ref:`Texture` | tab | @@ -397,6 +403,18 @@ If ``false``, the context menu disregards mouse location. If ``true``, a right click displays the context menu. +.. _class_TextEdit_property_draw_spaces: + +- :ref:`bool` **draw_spaces** + ++----------+------------------------+ +| *Setter* | set_draw_spaces(value) | ++----------+------------------------+ +| *Getter* | is_drawing_spaces() | ++----------+------------------------+ + +If ``true``, the "space" character will have a visible representation. + .. _class_TextEdit_property_draw_tabs: - :ref:`bool` **draw_tabs** diff --git a/classes/class_visualshadernode.rst b/classes/class_visualshadernode.rst index b6cfb9a59..1d124a13f 100644 --- a/classes/class_visualshadernode.rst +++ b/classes/class_visualshadernode.rst @@ -9,7 +9,7 @@ VisualShaderNode **Inherits:** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` -**Inherited By:** :ref:`VisualShaderNodeBooleanConstant`, :ref:`VisualShaderNodeColorConstant`, :ref:`VisualShaderNodeColorFunc`, :ref:`VisualShaderNodeColorOp`, :ref:`VisualShaderNodeCubeMap`, :ref:`VisualShaderNodeCubeMapUniform`, :ref:`VisualShaderNodeDeterminant`, :ref:`VisualShaderNodeDotProduct`, :ref:`VisualShaderNodeFaceForward`, :ref:`VisualShaderNodeIf`, :ref:`VisualShaderNodeInput`, :ref:`VisualShaderNodeOuterProduct`, :ref:`VisualShaderNodeOutput`, :ref:`VisualShaderNodeScalarClamp`, :ref:`VisualShaderNodeScalarConstant`, :ref:`VisualShaderNodeScalarDerivativeFunc`, :ref:`VisualShaderNodeScalarFunc`, :ref:`VisualShaderNodeScalarInterp`, :ref:`VisualShaderNodeScalarOp`, :ref:`VisualShaderNodeScalarSmoothStep`, :ref:`VisualShaderNodeSwitch`, :ref:`VisualShaderNodeTexture`, :ref:`VisualShaderNodeTransformCompose`, :ref:`VisualShaderNodeTransformConstant`, :ref:`VisualShaderNodeTransformDecompose`, :ref:`VisualShaderNodeTransformFunc`, :ref:`VisualShaderNodeTransformMult`, :ref:`VisualShaderNodeTransformVecMult`, :ref:`VisualShaderNodeUniform`, :ref:`VisualShaderNodeVec3Constant`, :ref:`VisualShaderNodeVectorClamp`, :ref:`VisualShaderNodeVectorCompose`, :ref:`VisualShaderNodeVectorDecompose`, :ref:`VisualShaderNodeVectorDerivativeFunc`, :ref:`VisualShaderNodeVectorDistance`, :ref:`VisualShaderNodeVectorFunc`, :ref:`VisualShaderNodeVectorInterp`, :ref:`VisualShaderNodeVectorLen`, :ref:`VisualShaderNodeVectorOp`, :ref:`VisualShaderNodeVectorRefract`, :ref:`VisualShaderNodeVectorScalarSmoothStep`, :ref:`VisualShaderNodeVectorScalarStep`, :ref:`VisualShaderNodeVectorSmoothStep` +**Inherited By:** :ref:`VisualShaderNodeBooleanConstant`, :ref:`VisualShaderNodeColorConstant`, :ref:`VisualShaderNodeColorFunc`, :ref:`VisualShaderNodeColorOp`, :ref:`VisualShaderNodeCubeMap`, :ref:`VisualShaderNodeCubeMapUniform`, :ref:`VisualShaderNodeDeterminant`, :ref:`VisualShaderNodeDotProduct`, :ref:`VisualShaderNodeFaceForward`, :ref:`VisualShaderNodeFresnel`, :ref:`VisualShaderNodeIf`, :ref:`VisualShaderNodeInput`, :ref:`VisualShaderNodeOuterProduct`, :ref:`VisualShaderNodeOutput`, :ref:`VisualShaderNodeScalarClamp`, :ref:`VisualShaderNodeScalarConstant`, :ref:`VisualShaderNodeScalarDerivativeFunc`, :ref:`VisualShaderNodeScalarFunc`, :ref:`VisualShaderNodeScalarInterp`, :ref:`VisualShaderNodeScalarOp`, :ref:`VisualShaderNodeScalarSmoothStep`, :ref:`VisualShaderNodeSwitch`, :ref:`VisualShaderNodeTexture`, :ref:`VisualShaderNodeTransformCompose`, :ref:`VisualShaderNodeTransformConstant`, :ref:`VisualShaderNodeTransformDecompose`, :ref:`VisualShaderNodeTransformFunc`, :ref:`VisualShaderNodeTransformMult`, :ref:`VisualShaderNodeTransformVecMult`, :ref:`VisualShaderNodeUniform`, :ref:`VisualShaderNodeVec3Constant`, :ref:`VisualShaderNodeVectorClamp`, :ref:`VisualShaderNodeVectorCompose`, :ref:`VisualShaderNodeVectorDecompose`, :ref:`VisualShaderNodeVectorDerivativeFunc`, :ref:`VisualShaderNodeVectorDistance`, :ref:`VisualShaderNodeVectorFunc`, :ref:`VisualShaderNodeVectorInterp`, :ref:`VisualShaderNodeVectorLen`, :ref:`VisualShaderNodeVectorOp`, :ref:`VisualShaderNodeVectorRefract`, :ref:`VisualShaderNodeVectorScalarSmoothStep`, :ref:`VisualShaderNodeVectorScalarStep`, :ref:`VisualShaderNodeVectorSmoothStep` **Category:** Core diff --git a/classes/class_visualshadernodefresnel.rst b/classes/class_visualshadernodefresnel.rst new file mode 100644 index 000000000..d43ef4cac --- /dev/null +++ b/classes/class_visualshadernodefresnel.rst @@ -0,0 +1,18 @@ +.. Generated automatically by doc/tools/makerst.py in Godot's source tree. +.. DO NOT EDIT THIS FILE, but the VisualShaderNodeFresnel.xml source instead. +.. The source is found in doc/classes or modules//doc_classes. + +.. _class_VisualShaderNodeFresnel: + +VisualShaderNodeFresnel +======================= + +**Inherits:** :ref:`VisualShaderNode` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` + +**Category:** Core + +Brief Description +----------------- + + + diff --git a/classes/class_visualshadernodescalarfunc.rst b/classes/class_visualshadernodescalarfunc.rst index 2503bf4ca..f685a7687 100644 --- a/classes/class_visualshadernodescalarfunc.rst +++ b/classes/class_visualshadernodescalarfunc.rst @@ -90,6 +90,8 @@ Enumerations .. _class_VisualShaderNodeScalarFunc_constant_FUNC_TRUNC: +.. _class_VisualShaderNodeScalarFunc_constant_FUNC_ONEMINUS: + enum **Function**: - **FUNC_SIN** = **0** @@ -154,6 +156,8 @@ enum **Function**: - **FUNC_TRUNC** = **30** +- **FUNC_ONEMINUS** = **31** + Property Descriptions --------------------- diff --git a/classes/class_visualshadernodevectorfunc.rst b/classes/class_visualshadernodevectorfunc.rst index 56ab7919b..38db44d90 100644 --- a/classes/class_visualshadernodevectorfunc.rst +++ b/classes/class_visualshadernodevectorfunc.rst @@ -96,6 +96,8 @@ Enumerations .. _class_VisualShaderNodeVectorFunc_constant_FUNC_TRUNC: +.. _class_VisualShaderNodeVectorFunc_constant_FUNC_ONEMINUS: + enum **Function**: - **FUNC_NORMALIZE** = **0** @@ -166,6 +168,8 @@ enum **Function**: - **FUNC_TRUNC** = **33** +- **FUNC_ONEMINUS** = **34** + Property Descriptions ---------------------