Quellcode durchsuchen

Merge pull request #62132 from timothyqiu/doc-fixes

Rémi Verschelde vor 3 Jahren
Ursprung
Commit
4463dd9d89

+ 1 - 1
doc/classes/@GlobalScope.xml

@@ -2501,7 +2501,7 @@
 			Hints that an integer property is a bitmask using the optionally named 3D physics layers.
 			Hints that an integer property is a bitmask using the optionally named 3D physics layers.
 		</constant>
 		</constant>
 		<constant name="PROPERTY_HINT_LAYERS_3D_NAVIGATION" value="14" enum="PropertyHint">
 		<constant name="PROPERTY_HINT_LAYERS_3D_NAVIGATION" value="14" enum="PropertyHint">
-			Hints that an integer property is a bitmask using the optionally named 2D navigation layers.
+			Hints that an integer property is a bitmask using the optionally named 3D navigation layers.
 		</constant>
 		</constant>
 		<constant name="PROPERTY_HINT_FILE" value="15" enum="PropertyHint">
 		<constant name="PROPERTY_HINT_FILE" value="15" enum="PropertyHint">
 			Hints that a string property is a path to a file. Editing it will show a file dialog for picking the path. The hint string can be a set of filters with wildcards like [code]"*.png,*.jpg"[/code].
 			Hints that a string property is a path to a file. Editing it will show a file dialog for picking the path. The hint string can be a set of filters with wildcards like [code]"*.png,*.jpg"[/code].

+ 2 - 2
doc/classes/NavigationRegion2D.xml

@@ -26,7 +26,7 @@
 			Determines if the [NavigationRegion2D] is enabled or disabled.
 			Determines if the [NavigationRegion2D] is enabled or disabled.
 		</member>
 		</member>
 		<member name="enter_cost" type="float" setter="set_enter_cost" getter="get_enter_cost" default="0.0">
 		<member name="enter_cost" type="float" setter="set_enter_cost" getter="get_enter_cost" default="0.0">
-			When pathfinding enters this regions navmesh from another regions navmesh the [code]enter_cost[/code] value is added to the path distance for determining the shortest path.
+			When pathfinding enters this region's navmesh from another regions navmesh the [code]enter_cost[/code] value is added to the path distance for determining the shortest path.
 		</member>
 		</member>
 		<member name="navigation_layers" type="int" setter="set_navigation_layers" getter="get_navigation_layers" default="1">
 		<member name="navigation_layers" type="int" setter="set_navigation_layers" getter="get_navigation_layers" default="1">
 			A bitfield determining all navigation layers the region belongs to. These navigation layers can be checked upon when requesting a path with [method NavigationServer2D.map_get_path].
 			A bitfield determining all navigation layers the region belongs to. These navigation layers can be checked upon when requesting a path with [method NavigationServer2D.map_get_path].
@@ -35,7 +35,7 @@
 			The [NavigationPolygon] resource to use.
 			The [NavigationPolygon] resource to use.
 		</member>
 		</member>
 		<member name="travel_cost" type="float" setter="set_travel_cost" getter="get_travel_cost" default="1.0">
 		<member name="travel_cost" type="float" setter="set_travel_cost" getter="get_travel_cost" default="1.0">
-			When pathfinding moves inside this regions navmesh the traveled distances are multiplied with [code]travel_cost[/code] for determining the shortest path.
+			When pathfinding moves inside this region's navmesh the traveled distances are multiplied with [code]travel_cost[/code] for determining the shortest path.
 		</member>
 		</member>
 	</members>
 	</members>
 </class>
 </class>

+ 2 - 2
doc/classes/NavigationRegion3D.xml

@@ -33,7 +33,7 @@
 			Determines if the [NavigationRegion3D] is enabled or disabled.
 			Determines if the [NavigationRegion3D] is enabled or disabled.
 		</member>
 		</member>
 		<member name="enter_cost" type="float" setter="set_enter_cost" getter="get_enter_cost" default="0.0">
 		<member name="enter_cost" type="float" setter="set_enter_cost" getter="get_enter_cost" default="0.0">
-			When pathfinding enters this regions navmesh from another regions navmesh the [code]enter_cost[/code] value is added to the path distance for determining the shortest path.
+			When pathfinding enters this region's navmesh from another regions navmesh the [code]enter_cost[/code] value is added to the path distance for determining the shortest path.
 		</member>
 		</member>
 		<member name="navigation_layers" type="int" setter="set_navigation_layers" getter="get_navigation_layers" default="1">
 		<member name="navigation_layers" type="int" setter="set_navigation_layers" getter="get_navigation_layers" default="1">
 			A bitfield determining all navigation layers the region belongs to. These navigation layers can be checked upon when requesting a path with [method NavigationServer3D.map_get_path].
 			A bitfield determining all navigation layers the region belongs to. These navigation layers can be checked upon when requesting a path with [method NavigationServer3D.map_get_path].
@@ -42,7 +42,7 @@
 			The [NavigationMesh] resource to use.
 			The [NavigationMesh] resource to use.
 		</member>
 		</member>
 		<member name="travel_cost" type="float" setter="set_travel_cost" getter="get_travel_cost" default="1.0">
 		<member name="travel_cost" type="float" setter="set_travel_cost" getter="get_travel_cost" default="1.0">
-			When pathfinding moves inside this regions navmesh the traveled distances are multiplied with [code]travel_cost[/code] for determining the shortest path.
+			When pathfinding moves inside this region's navmesh the traveled distances are multiplied with [code]travel_cost[/code] for determining the shortest path.
 		</member>
 		</member>
 	</members>
 	</members>
 	<signals>
 	<signals>

+ 1 - 1
doc/classes/World3D.xml

@@ -19,7 +19,7 @@
 			The World3D's [Environment].
 			The World3D's [Environment].
 		</member>
 		</member>
 		<member name="fallback_environment" type="Environment" setter="set_fallback_environment" getter="get_fallback_environment">
 		<member name="fallback_environment" type="Environment" setter="set_fallback_environment" getter="get_fallback_environment">
-			The World3D's fallback_environment will be used if the World3D's [Environment] fails or is missing.
+			The World3D's fallback environment will be used if [member environment] fails or is missing.
 		</member>
 		</member>
 		<member name="navigation_map" type="RID" setter="" getter="get_navigation_map">
 		<member name="navigation_map" type="RID" setter="" getter="get_navigation_map">
 			The [RID] of this world's navigation map. Used by the [NavigationServer3D].
 			The [RID] of this world's navigation map. Used by the [NavigationServer3D].