diff --git a/doc/classes/String.xml b/doc/classes/String.xml index b2f5e0601b3..3a6ef3d28b5 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -385,7 +385,10 @@ - Converts a string containing a hexadecimal number into an integer. + Converts a string containing a hexadecimal number into an integer. Hexadecimal strings are expected to be prefixed with "[code]0x[/code]" otherwise [code]0[/code] is returned. + [codeblock] + print("0xff".hex_to_int()) # Print "255" + [/codeblock] diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml index ec860732e50..5d24cee5b42 100644 --- a/doc/classes/Viewport.xml +++ b/doc/classes/Viewport.xml @@ -140,13 +140,6 @@ Returns [code]true[/code] if the size override is enabled. See [method set_size_override]. - - - - - Returns [code]true[/code] if the size stretch override is enabled. See [method set_size_override_stretch]. - - @@ -174,15 +167,6 @@ Sets the size override of the viewport. If the [code]enable[/code] parameter is [code]true[/code] the override is used, otherwise it uses the default size. If the size parameter is [code](-1, -1)[/code], it won't update the size. - - - - - - - If [code]true[/code], the size override affects stretch as well. - -