Browse Source

doc: Sync classref with current source

Rémi Verschelde 5 years ago
parent
commit
d9a560d783

+ 1 - 11
doc/classes/DisplayServer.xml

@@ -92,7 +92,7 @@
 			</argument>
 			<argument index="1" name="description" type="String">
 			</argument>
-			<argument index="2" name="existing_text" type="PackedStringArray">
+			<argument index="2" name="existing_text" type="String">
 			</argument>
 			<argument index="3" name="callback" type="Callable">
 			</argument>
@@ -1017,16 +1017,6 @@
 		</constant>
 		<constant name="WINDOW_FLAG_MAX" value="5" enum="WindowFlags">
 		</constant>
-		<constant name="WINDOW_FLAG_RESIZE_DISABLED_BIT" value="1" enum="WindowFlags">
-		</constant>
-		<constant name="WINDOW_FLAG_BORDERLESS_BIT" value="2" enum="WindowFlags">
-		</constant>
-		<constant name="WINDOW_FLAG_ALWAYS_ON_TOP_BIT" value="4" enum="WindowFlags">
-		</constant>
-		<constant name="WINDOW_FLAG_TRANSPARENT_BIT" value="8" enum="WindowFlags">
-		</constant>
-		<constant name="WINDOW_FLAG_NO_FOCUS_BIT" value="16" enum="WindowFlags">
-		</constant>
 		<constant name="LATIN_KEYBOARD_QWERTY" value="0" enum="LatinKeyboardVariant">
 		</constant>
 		<constant name="LATIN_KEYBOARD_QWERTZ" value="1" enum="LatinKeyboardVariant">

+ 8 - 0
doc/classes/EditorExportPlugin.xml

@@ -94,6 +94,14 @@
 			<description>
 			</description>
 		</method>
+		<method name="add_ios_project_static_lib">
+			<return type="void">
+			</return>
+			<argument index="0" name="path" type="String">
+			</argument>
+			<description>
+			</description>
+		</method>
 		<method name="add_shared_object">
 			<return type="void">
 			</return>

+ 0 - 3
doc/classes/Environment.xml

@@ -208,9 +208,6 @@
 		<member name="ss_reflections_max_steps" type="int" setter="set_ssr_max_steps" getter="get_ssr_max_steps" default="64">
 			The maximum number of steps for screen-space reflections. Higher values are slower.
 		</member>
-		<member name="ss_reflections_roughness" type="bool" setter="set_ssr_rough" getter="is_ssr_rough" default="true">
-			If [code]true[/code], screen-space reflections will take the material roughness into account.
-		</member>
 		<member name="ssao_ao_channel_affect" type="float" setter="set_ssao_ao_channel_affect" getter="get_ssao_ao_channel_affect" default="0.0">
 			The screen-space ambient occlusion intensity on materials that have an AO texture defined. Values higher than [code]0[/code] will make the SSAO effect visible in areas darkened by AO textures.
 		</member>

+ 1 - 1
doc/classes/Image.xml

@@ -99,7 +99,7 @@
 			</return>
 			<argument index="0" name="mode" type="int" enum="Image.CompressMode">
 			</argument>
-			<argument index="1" name="channels" type="int" enum="Image.CompressSource">
+			<argument index="1" name="channels" type="int" enum="Image.UsedChannels">
 			</argument>
 			<argument index="2" name="lossy_quality" type="float" default="0.7">
 			</argument>

+ 2 - 0
doc/classes/ProjectSettings.xml

@@ -1060,6 +1060,8 @@
 		<member name="rendering/quality/reflections/texture_array_reflections.mobile" type="bool" setter="" getter="" default="false">
 			Lower-end override for [member rendering/quality/reflections/texture_array_reflections] on mobile devices, due to performance concerns or driver support.
 		</member>
+		<member name="rendering/quality/screen_space_reflection/roughness_quality" type="int" setter="" getter="" default="1">
+		</member>
 		<member name="rendering/quality/shading/force_blinn_over_ggx" type="bool" setter="" getter="" default="false">
 			If [code]true[/code], uses faster but lower-quality Blinn model to generate blurred reflections instead of the GGX model.
 		</member>

+ 0 - 2
doc/classes/RenderingServer.xml

@@ -838,8 +838,6 @@
 			</argument>
 			<argument index="5" name="depth_tolerance" type="float">
 			</argument>
-			<argument index="6" name="roughness" type="bool">
-			</argument>
 			<description>
 				Sets the variables to be used with the "screen space reflections" post-process effect. See [Environment] for more details.
 			</description>