Bladeren bron

Add missing classref changes after #62942

Rémi Verschelde 2 jaren geleden
bovenliggende
commit
518b9e5801
3 gewijzigde bestanden met toevoegingen van 17 en 3 verwijderingen
  1. 2 2
      doc/classes/String.xml
  2. 7 1
      doc/classes/StringName.xml
  3. 8 0
      modules/gltf/doc_classes/GLTFState.xml

+ 2 - 2
doc/classes/String.xml

@@ -1005,13 +1005,13 @@
 		<method name="validate_filename" qualifiers="const">
 			<return type="String" />
 			<description>
-				Replace all characters that are not allowed in [method is_valid_filename] with underscores.
+				Returns a copy of the string with all characters that are not allowed in [method is_valid_filename] replaced with underscores.
 			</description>
 		</method>
 		<method name="validate_node_name" qualifiers="const">
 			<return type="String" />
 			<description>
-				Removes all characters that are not allowed in [member Node.name] from the string ([code].[/code] [code]:[/code] [code]@[/code] [code]/[/code] [code]"[/code] [code]%[/code]).
+				Returns a copy of the string with all characters that are not allowed in [member Node.name] removed ([code].[/code] [code]:[/code] [code]@[/code] [code]/[/code] [code]"[/code] [code]%[/code]).
 			</description>
 		</method>
 		<method name="xml_escape" qualifiers="const">

+ 7 - 1
doc/classes/StringName.xml

@@ -909,10 +909,16 @@
 				[/codeblocks]
 			</description>
 		</method>
+		<method name="validate_filename" qualifiers="const">
+			<return type="String" />
+			<description>
+				Returns a copy of the string with all characters that are not allowed in [method is_valid_filename] replaced with underscores.
+			</description>
+		</method>
 		<method name="validate_node_name" qualifiers="const">
 			<return type="String" />
 			<description>
-				Removes all characters that are not allowed in [member Node.name] from the string ([code].[/code] [code]:[/code] [code]@[/code] [code]/[/code] [code]"[/code] [code]%[/code]).
+				Returns a copy of the string with all characters that are not allowed in [member Node.name] removed ([code].[/code] [code]:[/code] [code]@[/code] [code]/[/code] [code]"[/code] [code]%[/code]).
 			</description>
 		</method>
 		<method name="xml_escape" qualifiers="const">

+ 8 - 0
modules/gltf/doc_classes/GLTFState.xml

@@ -262,4 +262,12 @@
 		<member name="use_named_skin_binds" type="bool" setter="set_use_named_skin_binds" getter="get_use_named_skin_binds" default="false">
 		</member>
 	</members>
+	<constants>
+		<constant name="HANDLE_BINARY_DISCARD_TEXTURES" value="0">
+		</constant>
+		<constant name="HANDLE_BINARY_EXTRACT_TEXTURES" value="1">
+		</constant>
+		<constant name="HANDLE_BINARY_EMBED_AS_BASISU" value="2">
+		</constant>
+	</constants>
 </class>