瀏覽代碼

Sync classref with current source

Rémi Verschelde 6 年之前
父節點
當前提交
e5653ec576

File diff suppressed because it is too large
+ 18 - 1029
classes/class_animatedtexture.rst


+ 9 - 8
classes/class_multiplayerapi.rst

@@ -95,13 +95,14 @@ Enumerations
 enum **RPCMode**:
 
 - **RPC_MODE_DISABLED** = **0** --- Used with :ref:`Node.rpc_config<class_Node_rpc_config>` or :ref:`Node.rset_config<class_Node_rset_config>` to disable a method or property for all RPC calls, making it unavailable. Default for all methods.
-- **RPC_MODE_REMOTE** = **1** --- Used with :ref:`Node.rpc_config<class_Node_rpc_config>` or :ref:`Node.rset_config<class_Node_rset_config>` to set a method to be called or a property to be changed only on the remote end, not locally. Analogous to the ``remote`` keyword. Calls and property changes are accepted from all remote peers, no matter if they are node's master or slaves.
-- **RPC_MODE_SYNC** = **2** --- Behave like ``RPC_MODE_REMOTE`` but also make the call or property change locally. Analogous to the ``sync`` keyword.
-- **RPC_MODE_MASTER** = **3** --- Used with :ref:`Node.rpc_config<class_Node_rpc_config>` or :ref:`Node.rset_config<class_Node_rset_config>` to set a method to be called or a property to be changed only on the network master for this node. Analogous to the ``master`` keyword. Only accepts calls or property changes from the node's network slaves, see :ref:`Node.set_network_master<class_Node_set_network_master>`.
-- **RPC_MODE_SLAVE** = **4** --- Used with :ref:`Node.rpc_config<class_Node_rpc_config>` or :ref:`Node.rset_config<class_Node_rset_config>` to set a method to be called or a property to be changed only on slaves for this node. Analogous to the ``slave`` keyword. Only accepts calls or property changes from the node's network master, see :ref:`Node.set_network_master<class_Node_set_network_master>`.
-- **RPC_MODE_REMOTESYNC** = **5** --- Behave like ``RPC_MODE_REMOTE`` but also make the call or property change locally. Same as ``RPC_MODE_SYNC`` which is only kept for compatibility. Analogous to the ``remotesync`` keyword.
-- **RPC_MODE_MASTERSYNC** = **6** --- Behave like ``RPC_MODE_MASTER`` but also make the call or property change locally. Analogous to the ``mastersync`` keyword.
-- **RPC_MODE_SLAVESYNC** = **7** --- Behave like ``RPC_MODE_SLAVE`` but also make the call or property change locally. Analogous to the ``slavesync`` keyword.
+- **RPC_MODE_REMOTE** = **1** --- Used with :ref:`Node.rpc_config<class_Node_rpc_config>` or :ref:`Node.rset_config<class_Node_rset_config>` to set a method to be called or a property to be changed only on the remote end, not locally. Analogous to the ``remote`` keyword. Calls and property changes are accepted from all remote peers, no matter if they are node's master or puppets.
+- **RPC_MODE_MASTER** = **2** --- Used with :ref:`Node.rpc_config<class_Node_rpc_config>` or :ref:`Node.rset_config<class_Node_rset_config>` to set a method to be called or a property to be changed only on the network master for this node. Analogous to the ``master`` keyword. Only accepts calls or property changes from the node's network puppets, see :ref:`Node.set_network_master<class_Node_set_network_master>`.
+- **RPC_MODE_PUPPET** = **3** --- Used with :ref:`Node.rpc_config<class_Node_rpc_config>` or :ref:`Node.rset_config<class_Node_rset_config>` to set a method to be called or a property to be changed only on puppets for this node. Analogous to the ``puppet`` keyword. Only accepts calls or property changes from the node's network master, see :ref:`Node.set_network_master<class_Node_set_network_master>`.
+- **RPC_MODE_SLAVE** = **3** --- Deprecated. Use ``RPC_MODE_PUPPET`` instead. Analogous to the ``slave`` keyword.
+- **RPC_MODE_REMOTESYNC** = **4** --- Behave like ``RPC_MODE_REMOTE`` but also make the call or property change locally. Analogous to the ``remotesync`` keyword.
+- **RPC_MODE_SYNC** = **4** --- Deprecated. Use ``RPC_MODE_REMOTESYNC`` instead. Analogous to the ``sync`` keyword.
+- **RPC_MODE_MASTERSYNC** = **5** --- Behave like ``RPC_MODE_MASTER`` but also make the call or property change locally. Analogous to the ``mastersync`` keyword.
+- **RPC_MODE_PUPPETSYNC** = **6** --- Behave like ``RPC_MODE_PUPPET`` but also make the call or property change locally. Analogous to the ``puppetsync`` keyword.
 
 Description
 -----------
@@ -125,7 +126,7 @@ Property Descriptions
 | *Getter* | get_network_peer()      |
 +----------+-------------------------+
 
-The peer object to handle the RPC system (effectively enabling networking when set). Depending on the peer itself, the MultiplayerAPI will become a network server (check with :ref:`is_network_server<class_MultiplayerAPI_is_network_server>`) and will set root node's network mode to master (see NETWORK_MODE\_\* constants in :ref:`Node<class_Node>`), or it will become a regular peer with root node set to slave. All child nodes are set to inherit the network mode by default. Handling of networking-related events (connection, disconnection, new clients) is done by connecting to MultiplayerAPI's signals.
+The peer object to handle the RPC system (effectively enabling networking when set). Depending on the peer itself, the MultiplayerAPI will become a network server (check with :ref:`is_network_server<class_MultiplayerAPI_is_network_server>`) and will set root node's network mode to master (see NETWORK_MODE\_\* constants in :ref:`Node<class_Node>`), or it will become a regular peer with root node set to puppet. All child nodes are set to inherit the network mode by default. Handling of networking-related events (connection, disconnection, new clients) is done by connecting to MultiplayerAPI's signals.
 
   .. _class_MultiplayerAPI_refuse_new_network_connections:
 

+ 5 - 3
classes/class_node.rst

@@ -514,6 +514,8 @@ Finds a descendant of this node whose name matches ``mask`` as in :ref:`String.m
 
 Returns a child node by its index (see :ref:`get_child_count<class_Node_get_child_count>`). This method is often used for iterating all children of a node.
 
+To access a child node via its name, use :ref:`get_node<class_Node_get_node>`.
+
   .. _class_Node_get_child_count:
 
 - :ref:`int<class_int>` **get_child_count** **(** **)** const
@@ -826,7 +828,7 @@ Sends a remote procedure call request for the given ``method`` to peers on the n
 
 - void **rpc_config** **(** :ref:`String<class_String>` method, :ref:`RPCMode<enum_MultiplayerAPI_RPCMode>` mode **)**
 
-Changes the RPC mode for the given ``method`` to the given ``mode``. See :ref:`RPCMode<enum_MultiplayerAPI_RPCMode>`. An alternative is annotating methods and properties with the corresponding keywords (``remote``, ``sync``, ``master``, ``slave``). By default, methods are not exposed to networking (and RPCs). Also see :ref:`rset<class_Node_rset>` and :ref:`rset_config<class_Node_rset_config>` for properties.
+Changes the RPC mode for the given ``method`` to the given ``mode``. See :ref:`RPCMode<enum_MultiplayerAPI_RPCMode>`. An alternative is annotating methods and properties with the corresponding keywords (``remote``, ``master``, ``puppet``, ``remotesync``, ``mastersync``, ``puppetsync``). By default, methods are not exposed to networking (and RPCs). Also see :ref:`rset<class_Node_rset>` and :ref:`rset_config<class_Node_rset_config>` for properties.
 
   .. _class_Node_rpc_id:
 
@@ -856,7 +858,7 @@ Remotely changes a property's value on other peers (and locally). Behaviour depe
 
 - void **rset_config** **(** :ref:`String<class_String>` property, :ref:`RPCMode<enum_MultiplayerAPI_RPCMode>` mode **)**
 
-Changes the RPC mode for the given ``property`` to the given ``mode``. See :ref:`RPCMode<enum_MultiplayerAPI_RPCMode>`. An alternative is annotating methods and properties with the corresponding keywords (``remote``, ``sync``, ``master``, ``slave``). By default, properties are not exposed to networking (and RPCs). Also see :ref:`rpc<class_Node_rpc>` and :ref:`rpc_config<class_Node_rpc_config>` for methods.
+Changes the RPC mode for the given ``property`` to the given ``mode``. See :ref:`RPCMode<enum_MultiplayerAPI_RPCMode>`. An alternative is annotating methods and properties with the corresponding keywords (``remote``, ``master``, ``puppet``, ``remotesync``, ``mastersync``, ``puppetsync``). By default, properties are not exposed to networking (and RPCs). Also see :ref:`rpc<class_Node_rpc>` and :ref:`rpc_config<class_Node_rpc_config>` for methods.
 
   .. _class_Node_rset_id:
 
@@ -886,7 +888,7 @@ Sets the folded state of the node in the Scene dock.
 
 - void **set_network_master** **(** :ref:`int<class_int>` id, :ref:`bool<class_bool>` recursive=true **)**
 
-Sets the node's network master to the peer with the given peer ID. The network master is the peer that has authority over the node on the network. Useful in conjunction with the ``master`` and ``slave`` keywords. Inherited from the parent node by default, which ultimately defaults to peer ID 1 (the server). If ``recursive``, the given peer is recursively set as the master for all children of this node.
+Sets the node's network master to the peer with the given peer ID. The network master is the peer that has authority over the node on the network. Useful in conjunction with the ``master`` and ``puppet`` keywords. Inherited from the parent node by default, which ultimately defaults to peer ID 1 (the server). If ``recursive``, the given peer is recursively set as the master for all children of this node.
 
   .. _class_Node_set_physics_process:
 

+ 113 - 0
classes/class_noisetexture.rst

@@ -0,0 +1,113 @@
+.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
+.. DO NOT EDIT THIS FILE, but the NoiseTexture.xml source instead.
+.. The source is found in doc/classes or modules/<name>/doc_classes.
+
+.. _class_NoiseTexture:
+
+NoiseTexture
+============
+
+**Inherits:** :ref:`Texture<class_Texture>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
+
+**Category:** Core
+
+Brief Description
+-----------------
+
+:ref:`SimplexNoise<class_SimplexNoise>` filled texture.
+
+Properties
+----------
+
++-----------------------------------------+------------------------------------------------------+
+| :ref:`bool<class_bool>`                 | :ref:`as_normalmap<class_NoiseTexture_as_normalmap>` |
++-----------------------------------------+------------------------------------------------------+
+| :ref:`SimplexNoise<class_SimplexNoise>` | :ref:`noise<class_NoiseTexture_noise>`               |
++-----------------------------------------+------------------------------------------------------+
+| :ref:`bool<class_bool>`                 | :ref:`seamless<class_NoiseTexture_seamless>`         |
++-----------------------------------------+------------------------------------------------------+
+| :ref:`Vector2<class_Vector2>`           | :ref:`size<class_NoiseTexture_size>`                 |
++-----------------------------------------+------------------------------------------------------+
+
+Methods
+-------
+
++-------+-------------------------------------------------------------------------------------------+
+| void  | :ref:`set_height<class_NoiseTexture_set_height>` **(** :ref:`int<class_int>` height **)** |
++-------+-------------------------------------------------------------------------------------------+
+| void  | :ref:`set_width<class_NoiseTexture_set_width>` **(** :ref:`int<class_int>` width **)**    |
++-------+-------------------------------------------------------------------------------------------+
+
+Description
+-----------
+
+Uses a :ref:`SimplexNoise<class_SimplexNoise>` to fill the texture data. You can specify the texture size but keep in mind that larger textures will take longer to generate and seamless noise only works with square sized textures.
+
+NoiseTexture can also generate normalmap textures.
+
+Property Descriptions
+---------------------
+
+  .. _class_NoiseTexture_as_normalmap:
+
+- :ref:`bool<class_bool>` **as_normalmap**
+
++----------+-------------------------+
+| *Setter* | set_as_normalmap(value) |
++----------+-------------------------+
+| *Getter* | is_normalmap()          |
++----------+-------------------------+
+
+If true, the resulting texture contains a normal map created from the original noise interpreted as a bump map.
+
+  .. _class_NoiseTexture_noise:
+
+- :ref:`SimplexNoise<class_SimplexNoise>` **noise**
+
++----------+------------------+
+| *Setter* | set_noise(value) |
++----------+------------------+
+| *Getter* | get_noise()      |
++----------+------------------+
+
+The :ref:`SimplexNoise<class_SimplexNoise>` instance used to generate the noise.
+
+  .. _class_NoiseTexture_seamless:
+
+- :ref:`bool<class_bool>` **seamless**
+
++----------+---------------------+
+| *Setter* | set_seamless(value) |
++----------+---------------------+
+| *Getter* | get_seamless()      |
++----------+---------------------+
+
+Whether the texture can be tiled without visible seams or not. Seamless textures take longer to generate.
+
+  .. _class_NoiseTexture_size:
+
+- :ref:`Vector2<class_Vector2>` **size**
+
++----------+-----------------+
+| *Setter* | set_size(value) |
++----------+-----------------+
+| *Getter* | get_size()      |
++----------+-----------------+
+
+Size of the generated texture.
+
+Method Descriptions
+-------------------
+
+  .. _class_NoiseTexture_set_height:
+
+- void **set_height** **(** :ref:`int<class_int>` height **)**
+
+Set texture height.
+
+  .. _class_NoiseTexture_set_width:
+
+- void **set_width** **(** :ref:`int<class_int>` width **)**
+
+Set texture width.
+

+ 13 - 1
classes/class_projectsettings.rst

@@ -19,6 +19,8 @@ Contains global variables accessible from everywhere.
 Properties
 ----------
 
++-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`Color<class_Color>`           | :ref:`application/boot_splash/bg_color<class_ProjectSettings_application/boot_splash/bg_color>`                                                             |
 +-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`bool<class_bool>`             | :ref:`application/boot_splash/fullsize<class_ProjectSettings_application/boot_splash/fullsize>`                                                             |
 +-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -68,6 +70,8 @@ Properties
 +-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`bool<class_bool>`             | :ref:`debug/gdscript/warnings/constant_used_as_function<class_ProjectSettings_debug/gdscript/warnings/constant_used_as_function>`                           |
 +-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`bool<class_bool>`             | :ref:`debug/gdscript/warnings/deprecated_keyword<class_ProjectSettings_debug/gdscript/warnings/deprecated_keyword>`                                         |
++-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`bool<class_bool>`             | :ref:`debug/gdscript/warnings/enable<class_ProjectSettings_debug/gdscript/warnings/enable>`                                                                 |
 +-------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`bool<class_bool>`             | :ref:`debug/gdscript/warnings/function_conflicts_constant<class_ProjectSettings_debug/gdscript/warnings/function_conflicts_constant>`                       |
@@ -558,6 +562,10 @@ Contains global variables accessible from everywhere. Use "ProjectSettings.get_s
 Property Descriptions
 ---------------------
 
+  .. _class_ProjectSettings_application/boot_splash/bg_color:
+
+- :ref:`Color<class_Color>` **application/boot_splash/bg_color**
+
   .. _class_ProjectSettings_application/boot_splash/fullsize:
 
 - :ref:`bool<class_bool>` **application/boot_splash/fullsize**
@@ -696,6 +704,10 @@ Enable long distance matching in zstd.
 
 - :ref:`bool<class_bool>` **debug/gdscript/warnings/constant_used_as_function**
 
+  .. _class_ProjectSettings_debug/gdscript/warnings/deprecated_keyword:
+
+- :ref:`bool<class_bool>` **debug/gdscript/warnings/deprecated_keyword**
+
   .. _class_ProjectSettings_debug/gdscript/warnings/enable:
 
 - :ref:`bool<class_bool>` **debug/gdscript/warnings/enable**
@@ -1506,7 +1518,7 @@ Fix to improve physics jitter, specially on monitors where refresh rate is diffe
 
 - :ref:`Color<class_Color>` **rendering/environment/default_clear_color**
 
-Default background clear color.
+Default background clear color. Overridable per :ref:`Viewport<class_Viewport>` using its :ref:`Environment<class_Environment>`. See :ref:`Environment.background_mode<class_Environment_background_mode>` and :ref:`Environment.background_color<class_Environment_background_color>` in particular. To change this default color programmatically, use :ref:`VisualServer.set_default_clear_color<class_VisualServer_set_default_clear_color>`.
 
   .. _class_ProjectSettings_rendering/limits/buffers/blend_shape_max_buffer_size_kb:
 

File diff suppressed because it is too large
+ 0 - 0
classes/class_resource.rst


+ 1 - 1
classes/class_scenetree.rst

@@ -304,7 +304,7 @@ When ``false`` you need to manually call :ref:`MultiplayerAPI.poll<class_Multipl
 | *Getter* | get_network_peer()      |
 +----------+-------------------------+
 
-The peer object to handle the RPC system (effectively enabling networking when set). Depending on the peer itself, the SceneTree will become a network server (check with :ref:`is_network_server()<class_SceneTree_is_network_server()>`) and will set root node's network mode to master (see NETWORK_MODE\_\* constants in :ref:`Node<class_Node>`), or it will become a regular peer with root node set to slave. All child nodes are set to inherit the network mode by default. Handling of networking-related events (connection, disconnection, new clients) is done by connecting to SceneTree's signals.
+The peer object to handle the RPC system (effectively enabling networking when set). Depending on the peer itself, the SceneTree will become a network server (check with :ref:`is_network_server()<class_SceneTree_is_network_server()>`) and will set root node's network mode to master (see NETWORK_MODE\_\* constants in :ref:`Node<class_Node>`), or it will become a regular peer with root node set to puppet. All child nodes are set to inherit the network mode by default. Handling of networking-related events (connection, disconnection, new clients) is done by connecting to SceneTree's signals.
 
   .. _class_SceneTree_paused:
 

+ 12 - 0
classes/class_shadermaterial.rst

@@ -29,6 +29,10 @@ Methods
 +--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`Variant<class_Variant>`  | :ref:`get_shader_param<class_ShaderMaterial_get_shader_param>` **(** :ref:`String<class_String>` param **)** const                                |
 +--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`bool<class_bool>`        | :ref:`property_can_revert<class_ShaderMaterial_property_can_revert>` **(** :ref:`String<class_String>` name **)**                                 |
++--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`Variant<class_Variant>`  | :ref:`property_get_revert<class_ShaderMaterial_property_get_revert>` **(** :ref:`String<class_String>` name **)**                                 |
++--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 | void                           | :ref:`set_shader_param<class_ShaderMaterial_set_shader_param>` **(** :ref:`String<class_String>` param, :ref:`Variant<class_Variant>` value **)** |
 +--------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------+
 
@@ -61,6 +65,14 @@ Method Descriptions
 
 Returns the current value set for this material of a uniform in the shader.
 
+  .. _class_ShaderMaterial_property_can_revert:
+
+- :ref:`bool<class_bool>` **property_can_revert** **(** :ref:`String<class_String>` name **)**
+
+  .. _class_ShaderMaterial_property_get_revert:
+
+- :ref:`Variant<class_Variant>` **property_get_revert** **(** :ref:`String<class_String>` name **)**
+
   .. _class_ShaderMaterial_set_shader_param:
 
 - void **set_shader_param** **(** :ref:`String<class_String>` param, :ref:`Variant<class_Variant>` value **)**

+ 191 - 0
classes/class_simplexnoise.rst

@@ -0,0 +1,191 @@
+.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
+.. DO NOT EDIT THIS FILE, but the SimplexNoise.xml source instead.
+.. The source is found in doc/classes or modules/<name>/doc_classes.
+
+.. _class_SimplexNoise:
+
+SimplexNoise
+============
+
+**Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
+
+**Category:** Core
+
+Brief Description
+-----------------
+
+Noise generator based on Open Simplex.
+
+Properties
+----------
+
++---------------------------+----------------------------------------------------+
+| :ref:`float<class_float>` | :ref:`lacunarity<class_SimplexNoise_lacunarity>`   |
++---------------------------+----------------------------------------------------+
+| :ref:`int<class_int>`     | :ref:`octaves<class_SimplexNoise_octaves>`         |
++---------------------------+----------------------------------------------------+
+| :ref:`float<class_float>` | :ref:`period<class_SimplexNoise_period>`           |
++---------------------------+----------------------------------------------------+
+| :ref:`float<class_float>` | :ref:`persistance<class_SimplexNoise_persistance>` |
++---------------------------+----------------------------------------------------+
+| :ref:`int<class_int>`     | :ref:`seed<class_SimplexNoise_seed>`               |
++---------------------------+----------------------------------------------------+
+
+Methods
+-------
+
++----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`Image<class_Image>`  | :ref:`get_image<class_SimplexNoise_get_image>` **(** :ref:`int<class_int>` width, :ref:`int<class_int>` height **)**                                                                |
++----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`float<class_float>`  | :ref:`get_noise_2d<class_SimplexNoise_get_noise_2d>` **(** :ref:`float<class_float>` x, :ref:`float<class_float>` y **)**                                                           |
++----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`float<class_float>`  | :ref:`get_noise_2dv<class_SimplexNoise_get_noise_2dv>` **(** :ref:`Vector2<class_Vector2>` pos **)**                                                                                |
++----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`float<class_float>`  | :ref:`get_noise_3d<class_SimplexNoise_get_noise_3d>` **(** :ref:`float<class_float>` x, :ref:`float<class_float>` y, :ref:`float<class_float>` z **)**                              |
++----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`float<class_float>`  | :ref:`get_noise_3dv<class_SimplexNoise_get_noise_3dv>` **(** :ref:`Vector3<class_Vector3>` pos **)**                                                                                |
++----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`float<class_float>`  | :ref:`get_noise_4d<class_SimplexNoise_get_noise_4d>` **(** :ref:`float<class_float>` x, :ref:`float<class_float>` y, :ref:`float<class_float>` z, :ref:`float<class_float>` w **)** |
++----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`Image<class_Image>`  | :ref:`get_seamless_image<class_SimplexNoise_get_seamless_image>` **(** :ref:`int<class_int>` size **)**                                                                             |
++----------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+
+Description
+-----------
+
+This resource allows you to configure and sample a fractal noise space.
+
+
+
+Here is a brief usage example that configures a SimplexNoise and gets samples at various positions and dimensions:
+
+::
+
+    var noise = SimplexNoise.new()
+    
+    # Configure
+    noise.seed = randi()
+    noise.octaves = 4
+    noise.period = 20.0
+    noise.persistance = 0.8
+    
+    #Sample
+    print("Values:")
+    print(noise.get_noise_2d(1.0,1.0))
+    print(noise.get_noise_3d(0.5,3.0,15.0))
+    print(noise.get_noise_3d(0.5,1.9,4.7,0.0))
+
+Property Descriptions
+---------------------
+
+  .. _class_SimplexNoise_lacunarity:
+
+- :ref:`float<class_float>` **lacunarity**
+
++----------+-----------------------+
+| *Setter* | set_lacunarity(value) |
++----------+-----------------------+
+| *Getter* | get_lacunarity()      |
++----------+-----------------------+
+
+Difference in period between :ref:`octaves<class_SimplexNoise_octaves>`.
+
+  .. _class_SimplexNoise_octaves:
+
+- :ref:`int<class_int>` **octaves**
+
++----------+--------------------+
+| *Setter* | set_octaves(value) |
++----------+--------------------+
+| *Getter* | get_octaves()      |
++----------+--------------------+
+
+Number of Simplex Noise layers that are sampled to get the fractal noise.
+
+  .. _class_SimplexNoise_period:
+
+- :ref:`float<class_float>` **period**
+
++----------+-------------------+
+| *Setter* | set_period(value) |
++----------+-------------------+
+| *Getter* | get_period()      |
++----------+-------------------+
+
+Period of the base octave. 
+
+A lower period results in a higher frequancy noise (more value changes across the same distance).
+
+  .. _class_SimplexNoise_persistance:
+
+- :ref:`float<class_float>` **persistance**
+
++----------+------------------------+
+| *Setter* | set_persistance(value) |
++----------+------------------------+
+| *Getter* | get_persistance()      |
++----------+------------------------+
+
+Contribuiton factor of the different octaves. 
+
+A ``persistance`` value of 1 means all the octaves have the same contribution, a value of 0.5 means each octave contributes half as much as the previous one.
+
+  .. _class_SimplexNoise_seed:
+
+- :ref:`int<class_int>` **seed**
+
++----------+-----------------+
+| *Setter* | set_seed(value) |
++----------+-----------------+
+| *Getter* | get_seed()      |
++----------+-----------------+
+
+Seed used to generate random values, different seeds will generate different noise maps.
+
+Method Descriptions
+-------------------
+
+  .. _class_SimplexNoise_get_image:
+
+- :ref:`Image<class_Image>` **get_image** **(** :ref:`int<class_int>` width, :ref:`int<class_int>` height **)**
+
+Generate a noise image with the requested ``width`` and ``height``, based on the current noise parameters.
+
+  .. _class_SimplexNoise_get_noise_2d:
+
+- :ref:`float<class_float>` **get_noise_2d** **(** :ref:`float<class_float>` x, :ref:`float<class_float>` y **)**
+
+2D noise value -1,1 at position ``x``,``y``.
+
+  .. _class_SimplexNoise_get_noise_2dv:
+
+- :ref:`float<class_float>` **get_noise_2dv** **(** :ref:`Vector2<class_Vector2>` pos **)**
+
+2D noise value -1,1 at position ``pos.x``,``pos.y``.
+
+  .. _class_SimplexNoise_get_noise_3d:
+
+- :ref:`float<class_float>` **get_noise_3d** **(** :ref:`float<class_float>` x, :ref:`float<class_float>` y, :ref:`float<class_float>` z **)**
+
+3D noise value -1,1 at position ``x``,``y``,``z``.
+
+  .. _class_SimplexNoise_get_noise_3dv:
+
+- :ref:`float<class_float>` **get_noise_3dv** **(** :ref:`Vector3<class_Vector3>` pos **)**
+
+3D noise value -1,1 at position ``pos.x``,``pos.y``,``pos.z``.
+
+  .. _class_SimplexNoise_get_noise_4d:
+
+- :ref:`float<class_float>` **get_noise_4d** **(** :ref:`float<class_float>` x, :ref:`float<class_float>` y, :ref:`float<class_float>` z, :ref:`float<class_float>` w **)**
+
+4D noise value -1,1 at position ``x``,``y``,``z``,``w``.
+
+  .. _class_SimplexNoise_get_seamless_image:
+
+- :ref:`Image<class_Image>` **get_seamless_image** **(** :ref:`int<class_int>` size **)**
+
+Generate a tileable noise image, based on the current noise parameters. 
+
+Generated seamless images are always square (``size``\ x``size``).
+

+ 2 - 2
classes/class_streampeertcp.rst

@@ -28,7 +28,7 @@ Methods
 +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`int<class_int>`                     | :ref:`get_connected_port<class_StreamPeerTCP_get_connected_port>` **(** **)** const                                                  |
 +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+
-| :ref:`Status<enum_StreamPeerTCP_Status>`  | :ref:`get_status<class_StreamPeerTCP_get_status>` **(** **)** const                                                                  |
+| :ref:`Status<enum_StreamPeerTCP_Status>`  | :ref:`get_status<class_StreamPeerTCP_get_status>` **(** **)**                                                                        |
 +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`bool<class_bool>`                   | :ref:`is_connected_to_host<class_StreamPeerTCP_is_connected_to_host>` **(** **)** const                                              |
 +-------------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------+
@@ -81,7 +81,7 @@ Return the port of this peer.
 
   .. _class_StreamPeerTCP_get_status:
 
-- :ref:`Status<enum_StreamPeerTCP_Status>` **get_status** **(** **)** const
+- :ref:`Status<enum_StreamPeerTCP_Status>` **get_status** **(** **)**
 
 Return the status of the connection, one of STATUS\_\* enum.
 

+ 1 - 1
classes/class_texture.rst

@@ -9,7 +9,7 @@ Texture
 
 **Inherits:** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
 
-**Inherited By:** :ref:`CurveTexture<class_CurveTexture>`, :ref:`AtlasTexture<class_AtlasTexture>`, :ref:`ProxyTexture<class_ProxyTexture>`, :ref:`GradientTexture<class_GradientTexture>`, :ref:`ViewportTexture<class_ViewportTexture>`, :ref:`AnimatedTexture<class_AnimatedTexture>`, :ref:`StreamTexture<class_StreamTexture>`, :ref:`ImageTexture<class_ImageTexture>`, :ref:`LargeTexture<class_LargeTexture>`
+**Inherited By:** :ref:`CurveTexture<class_CurveTexture>`, :ref:`NoiseTexture<class_NoiseTexture>`, :ref:`AtlasTexture<class_AtlasTexture>`, :ref:`ProxyTexture<class_ProxyTexture>`, :ref:`GradientTexture<class_GradientTexture>`, :ref:`ViewportTexture<class_ViewportTexture>`, :ref:`AnimatedTexture<class_AnimatedTexture>`, :ref:`StreamTexture<class_StreamTexture>`, :ref:`ImageTexture<class_ImageTexture>`, :ref:`LargeTexture<class_LargeTexture>`
 
 **Category:** Core
 

+ 8 - 0
classes/class_viewport.rst

@@ -87,6 +87,8 @@ Methods
 +------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`Transform2D<class_Transform2D>`          | :ref:`get_final_transform<class_Viewport_get_final_transform>` **(** **)** const                                                                                                                                  |
 +------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`Control<class_Control>`                  | :ref:`get_modal_stack_top<class_Viewport_get_modal_stack_top>` **(** **)** const                                                                                                                                  |
++------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`Vector2<class_Vector2>`                  | :ref:`get_mouse_position<class_Viewport_get_mouse_position>` **(** **)** const                                                                                                                                    |
 +------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`int<class_int>`                          | :ref:`get_render_info<class_Viewport_get_render_info>` **(** :ref:`RenderInfo<enum_Viewport_RenderInfo>` info **)**                                                                                               |
@@ -580,6 +582,12 @@ Returns the active 3D camera.
 
 Returns the total transform of the viewport.
 
+  .. _class_Viewport_get_modal_stack_top:
+
+- :ref:`Control<class_Control>` **get_modal_stack_top** **(** **)** const
+
+Returns the topmost modal in the stack.
+
   .. _class_Viewport_get_mouse_position:
 
 - :ref:`Vector2<class_Vector2>` **get_mouse_position** **(** **)** const

+ 6 - 0
classes/class_visualserver.rst

@@ -410,6 +410,8 @@ Methods
 +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`Variant<class_Variant>`                            | :ref:`material_get_param<class_VisualServer_material_get_param>` **(** :ref:`RID<class_RID>` material, :ref:`String<class_String>` parameter **)** const                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
 +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| :ref:`Variant<class_Variant>`                            | :ref:`material_get_param_default<class_VisualServer_material_get_param_default>` **(** :ref:`RID<class_RID>` material, :ref:`String<class_String>` parameter **)** const                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
++----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | :ref:`RID<class_RID>`                                    | :ref:`material_get_shader<class_VisualServer_material_get_shader>` **(** :ref:`RID<class_RID>` shader_material **)** const                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
 +----------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | void                                                     | :ref:`material_set_line_width<class_VisualServer_material_set_line_width>` **(** :ref:`RID<class_RID>` material, :ref:`float<class_float>` width **)**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
@@ -2106,6 +2108,10 @@ Returns an empty material.
 
 Returns the value of a certain material's parameter.
 
+  .. _class_VisualServer_material_get_param_default:
+
+- :ref:`Variant<class_Variant>` **material_get_param_default** **(** :ref:`RID<class_RID>` material, :ref:`String<class_String>` parameter **)** const
+
   .. _class_VisualServer_material_get_shader:
 
 - :ref:`RID<class_RID>` **material_get_shader** **(** :ref:`RID<class_RID>` shader_material **)** const

Some files were not shown because too many files changed in this diff