Browse Source

doc: Sync classref with current source

[ci skip]
Rémi Verschelde 8 years ago
parent
commit
62cb43bb8d

+ 4 - 0
doc/classes/AnimationTreePlayer.xml

@@ -659,5 +659,9 @@
 		<constant name="NODE_TRANSITION" value="9">
 		<constant name="NODE_TRANSITION" value="9">
 			Transition node.
 			Transition node.
 		</constant>
 		</constant>
+		<constant name="ANIMATION_PROCESS_FIXED" value="0">
+		</constant>
+		<constant name="ANIMATION_PROCESS_IDLE" value="1">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 10 - 0
doc/classes/Area.xml

@@ -493,5 +493,15 @@
 		</signal>
 		</signal>
 	</signals>
 	</signals>
 	<constants>
 	<constants>
+		<constant name="SPACE_OVERRIDE_DISABLED" value="0">
+		</constant>
+		<constant name="SPACE_OVERRIDE_COMBINE" value="1">
+		</constant>
+		<constant name="SPACE_OVERRIDE_COMBINE_REPLACE" value="2">
+		</constant>
+		<constant name="SPACE_OVERRIDE_REPLACE" value="3">
+		</constant>
+		<constant name="SPACE_OVERRIDE_REPLACE_COMBINE" value="4">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 10 - 0
doc/classes/AudioEffectDistortion.xml

@@ -93,5 +93,15 @@
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>
+		<constant name="MODE_CLIP" value="0">
+		</constant>
+		<constant name="MODE_ATAN" value="1">
+		</constant>
+		<constant name="MODE_LOFI" value="2">
+		</constant>
+		<constant name="MODE_OVERDRIVE" value="3">
+		</constant>
+		<constant name="MODE_WAVESHAPE" value="4">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 8 - 0
doc/classes/AudioEffectFilter.xml

@@ -77,5 +77,13 @@
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>
+		<constant name="FILTER_6DB" value="0">
+		</constant>
+		<constant name="FILTER_12DB" value="1">
+		</constant>
+		<constant name="FILTER_18DB" value="2">
+		</constant>
+		<constant name="FILTER_24DB" value="3">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 6 - 0
doc/classes/AudioServer.xml

@@ -307,5 +307,11 @@
 		</signal>
 		</signal>
 	</signals>
 	</signals>
 	<constants>
 	<constants>
+		<constant name="SPEAKER_MODE_STEREO" value="0">
+		</constant>
+		<constant name="SPEAKER_SURROUND_51" value="2">
+		</constant>
+		<constant name="SPEAKER_SURROUND_71" value="3">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 6 - 0
doc/classes/AudioStreamPlayer.xml

@@ -135,5 +135,11 @@
 		</signal>
 		</signal>
 	</signals>
 	</signals>
 	<constants>
 	<constants>
+		<constant name="MIX_TARGET_STEREO" value="0">
+		</constant>
+		<constant name="MIX_TARGET_SURROUND" value="1">
+		</constant>
+		<constant name="MIX_TARGET_CENTER" value="2">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 12 - 0
doc/classes/AudioStreamSample.xml

@@ -125,5 +125,17 @@
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>
+		<constant name="FORMAT_8_BITS" value="0">
+		</constant>
+		<constant name="FORMAT_16_BITS" value="1">
+		</constant>
+		<constant name="FORMAT_IMA_ADPCM" value="2">
+		</constant>
+		<constant name="LOOP_DISABLED" value="0">
+		</constant>
+		<constant name="LOOP_FORWARD" value="1">
+		</constant>
+		<constant name="LOOP_PING_PONG" value="2">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 4 - 0
doc/classes/CollisionPolygon2D.xml

@@ -84,5 +84,9 @@
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>
+		<constant name="BUILD_SOLIDS" value="0">
+		</constant>
+		<constant name="BUILD_SEGMENTS" value="1">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 6 - 0
doc/classes/Curve.xml

@@ -227,5 +227,11 @@
 		</signal>
 		</signal>
 	</signals>
 	</signals>
 	<constants>
 	<constants>
+		<constant name="TANGENT_FREE" value="0">
+		</constant>
+		<constant name="TANGENT_LINEAR" value="1">
+		</constant>
+		<constant name="TANGENT_MODE_COUNT" value="2">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 61 - 0
doc/classes/EditorExportPlugin.xml

@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<class name="EditorExportPlugin" inherits="Reference" category="Core" version="3.0.alpha.custom_build">
+	<brief_description>
+	</brief_description>
+	<description>
+	</description>
+	<tutorials>
+	</tutorials>
+	<demos>
+	</demos>
+	<methods>
+		<method name="_export_begin" qualifiers="virtual">
+			<return type="void">
+			</return>
+			<argument index="0" name="features" type="PoolStringArray">
+			</argument>
+			<description>
+			</description>
+		</method>
+		<method name="_export_file" qualifiers="virtual">
+			<return type="void">
+			</return>
+			<argument index="0" name="path" type="String">
+			</argument>
+			<argument index="1" name="type" type="String">
+			</argument>
+			<argument index="2" name="features" type="PoolStringArray">
+			</argument>
+			<description>
+			</description>
+		</method>
+		<method name="add_file">
+			<return type="void">
+			</return>
+			<argument index="0" name="path" type="String">
+			</argument>
+			<argument index="1" name="file" type="PoolByteArray">
+			</argument>
+			<argument index="2" name="remap" type="bool">
+			</argument>
+			<description>
+			</description>
+		</method>
+		<method name="add_shared_object">
+			<return type="void">
+			</return>
+			<argument index="0" name="path" type="String">
+			</argument>
+			<description>
+			</description>
+		</method>
+		<method name="skip">
+			<return type="void">
+			</return>
+			<description>
+			</description>
+		</method>
+	</methods>
+	<constants>
+	</constants>
+</class>

+ 4 - 0
doc/classes/EditorFileDialog.xml

@@ -185,5 +185,9 @@
 		</constant>
 		</constant>
 		<constant name="ACCESS_FILESYSTEM" value="2">
 		<constant name="ACCESS_FILESYSTEM" value="2">
 		</constant>
 		</constant>
+		<constant name="DISPLAY_THUMBNAILS" value="0">
+		</constant>
+		<constant name="DISPLAY_LIST" value="1">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 16 - 0
doc/classes/EditorPlugin.xml

@@ -66,6 +66,14 @@
 				During run-time, this will be a simple object with a script so this function does not need to be called then.
 				During run-time, this will be a simple object with a script so this function does not need to be called then.
 			</description>
 			</description>
 		</method>
 		</method>
+		<method name="add_export_plugin">
+			<return type="void">
+			</return>
+			<argument index="0" name="exporter" type="EditorExportPlugin">
+			</argument>
+			<description>
+			</description>
+		</method>
 		<method name="add_import_plugin">
 		<method name="add_import_plugin">
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
@@ -266,6 +274,14 @@
 				Remove a custom type added by [method EditorPlugin.add_custom_type]
 				Remove a custom type added by [method EditorPlugin.add_custom_type]
 			</description>
 			</description>
 		</method>
 		</method>
+		<method name="remove_export_plugin">
+			<return type="void">
+			</return>
+			<argument index="0" name="exporter" type="EditorExportPlugin">
+			</argument>
+			<description>
+			</description>
+		</method>
 		<method name="remove_import_plugin">
 		<method name="remove_import_plugin">
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>

+ 7 - 5
doc/classes/GeometryInstance.xml

@@ -149,15 +149,17 @@
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>
-		<constant name="FLAG_MAX" value="1" enum="">
+		<constant name="SHADOW_CASTING_SETTING_OFF" value="0">
 		</constant>
 		</constant>
-		<constant name="SHADOW_CASTING_SETTING_OFF" value="0" enum="">
+		<constant name="SHADOW_CASTING_SETTING_ON" value="1">
 		</constant>
 		</constant>
-		<constant name="SHADOW_CASTING_SETTING_ON" value="1" enum="">
+		<constant name="SHADOW_CASTING_SETTING_DOUBLE_SIDED" value="2">
 		</constant>
 		</constant>
-		<constant name="SHADOW_CASTING_SETTING_DOUBLE_SIDED" value="2" enum="">
+		<constant name="SHADOW_CASTING_SETTING_SHADOWS_ONLY" value="3">
 		</constant>
 		</constant>
-		<constant name="SHADOW_CASTING_SETTING_SHADOWS_ONLY" value="3" enum="">
+		<constant name="FLAG_USE_BAKED_LIGHT" value="0">
+		</constant>
+		<constant name="FLAG_MAX" value="1">
 		</constant>
 		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 12 - 0
doc/classes/Light2D.xml

@@ -395,5 +395,17 @@
 		<constant name="MODE_MASK" value="3">
 		<constant name="MODE_MASK" value="3">
 			The light texture of the Light2D is used as a mask, hiding or revealing parts of the screen underneath depending on the value of each pixel of the light (mask) texture.
 			The light texture of the Light2D is used as a mask, hiding or revealing parts of the screen underneath depending on the value of each pixel of the light (mask) texture.
 		</constant>
 		</constant>
+		<constant name="SHADOW_FILTER_NONE" value="0">
+		</constant>
+		<constant name="SHADOW_FILTER_PCF3" value="1">
+		</constant>
+		<constant name="SHADOW_FILTER_PCF5" value="2">
+		</constant>
+		<constant name="SHADOW_FILTER_PCF7" value="3">
+		</constant>
+		<constant name="SHADOW_FILTER_PCF9" value="4">
+		</constant>
+		<constant name="SHADOW_FILTER_PCF13" value="5">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 12 - 12
doc/classes/Line2D.xml

@@ -21,7 +21,7 @@
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_begin_cap_mode" qualifiers="const">
 		<method name="get_begin_cap_mode" qualifiers="const">
-			<return type="int" enum="LineCapMode">
+			<return type="int" enum="Line2D.LineCapMode">
 			</return>
 			</return>
 			<description>
 			<description>
 			</description>
 			</description>
@@ -33,7 +33,7 @@
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_end_cap_mode" qualifiers="const">
 		<method name="get_end_cap_mode" qualifiers="const">
-			<return type="int" enum="LineCapMode">
+			<return type="int" enum="Line2D.LineCapMode">
 			</return>
 			</return>
 			<description>
 			<description>
 			</description>
 			</description>
@@ -45,7 +45,7 @@
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_joint_mode" qualifiers="const">
 		<method name="get_joint_mode" qualifiers="const">
-			<return type="int" enum="LineJointMode">
+			<return type="int" enum="Line2D.LineJointMode">
 			</return>
 			</return>
 			<description>
 			<description>
 			</description>
 			</description>
@@ -89,7 +89,7 @@
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_texture_mode" qualifiers="const">
 		<method name="get_texture_mode" qualifiers="const">
-			<return type="int" enum="LineTextureMode">
+			<return type="int" enum="Line2D.LineTextureMode">
 			</return>
 			</return>
 			<description>
 			<description>
 			</description>
 			</description>
@@ -112,7 +112,7 @@
 		<method name="set_begin_cap_mode">
 		<method name="set_begin_cap_mode">
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
-			<argument index="0" name="mode" type="int" enum="LineCapMode">
+			<argument index="0" name="mode" type="int" enum="Line2D.LineCapMode">
 			</argument>
 			</argument>
 			<description>
 			<description>
 			</description>
 			</description>
@@ -128,7 +128,7 @@
 		<method name="set_end_cap_mode">
 		<method name="set_end_cap_mode">
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
-			<argument index="0" name="mode" type="int" enum="LineCapMode">
+			<argument index="0" name="mode" type="int" enum="Line2D.LineCapMode">
 			</argument>
 			</argument>
 			<description>
 			<description>
 			</description>
 			</description>
@@ -144,7 +144,7 @@
 		<method name="set_joint_mode">
 		<method name="set_joint_mode">
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
-			<argument index="0" name="mode" type="int" enum="LineJointMode">
+			<argument index="0" name="mode" type="int" enum="Line2D.LineJointMode">
 			</argument>
 			</argument>
 			<description>
 			<description>
 			</description>
 			</description>
@@ -194,7 +194,7 @@
 		<method name="set_texture_mode">
 		<method name="set_texture_mode">
 			<return type="void">
 			<return type="void">
 			</return>
 			</return>
-			<argument index="0" name="mode" type="int" enum="LineTextureMode">
+			<argument index="0" name="mode" type="int" enum="Line2D.LineTextureMode">
 			</argument>
 			</argument>
 			<description>
 			<description>
 			</description>
 			</description>
@@ -209,15 +209,15 @@
 		</method>
 		</method>
 	</methods>
 	</methods>
 	<members>
 	<members>
-		<member name="begin_cap_mode" type="int" setter="set_begin_cap_mode" getter="get_begin_cap_mode" enum="LineCapMode">
+		<member name="begin_cap_mode" type="int" setter="set_begin_cap_mode" getter="get_begin_cap_mode" enum="Line2D.LineCapMode">
 		</member>
 		</member>
 		<member name="default_color" type="Color" setter="set_default_color" getter="get_default_color">
 		<member name="default_color" type="Color" setter="set_default_color" getter="get_default_color">
 		</member>
 		</member>
-		<member name="end_cap_mode" type="int" setter="set_end_cap_mode" getter="get_end_cap_mode" enum="LineCapMode">
+		<member name="end_cap_mode" type="int" setter="set_end_cap_mode" getter="get_end_cap_mode" enum="Line2D.LineCapMode">
 		</member>
 		</member>
 		<member name="gradient" type="Gradient" setter="set_gradient" getter="get_gradient">
 		<member name="gradient" type="Gradient" setter="set_gradient" getter="get_gradient">
 		</member>
 		</member>
-		<member name="joint_mode" type="int" setter="set_joint_mode" getter="get_joint_mode" enum="LineJointMode">
+		<member name="joint_mode" type="int" setter="set_joint_mode" getter="get_joint_mode" enum="Line2D.LineJointMode">
 		</member>
 		</member>
 		<member name="points" type="PoolVector2Array" setter="set_points" getter="get_points">
 		<member name="points" type="PoolVector2Array" setter="set_points" getter="get_points">
 		</member>
 		</member>
@@ -227,7 +227,7 @@
 		</member>
 		</member>
 		<member name="texture" type="Texture" setter="set_texture" getter="get_texture">
 		<member name="texture" type="Texture" setter="set_texture" getter="get_texture">
 		</member>
 		</member>
-		<member name="texture_mode" type="int" setter="set_texture_mode" getter="get_texture_mode" enum="LineTextureMode">
+		<member name="texture_mode" type="int" setter="set_texture_mode" getter="get_texture_mode" enum="Line2D.LineTextureMode">
 		</member>
 		</member>
 		<member name="width" type="float" setter="set_width" getter="get_width">
 		<member name="width" type="float" setter="set_width" getter="get_width">
 		</member>
 		</member>

+ 68 - 0
doc/classes/Mesh.xml

@@ -71,5 +71,73 @@
 		<constant name="PRIMITIVE_TRIANGLE_FAN" value="6">
 		<constant name="PRIMITIVE_TRIANGLE_FAN" value="6">
 			Render array as triangle fans.
 			Render array as triangle fans.
 		</constant>
 		</constant>
+		<constant name="BLEND_SHAPE_MODE_NORMALIZED" value="0">
+		</constant>
+		<constant name="BLEND_SHAPE_MODE_RELATIVE" value="1">
+		</constant>
+		<constant name="ARRAY_FORMAT_VERTEX" value="1">
+		</constant>
+		<constant name="ARRAY_FORMAT_NORMAL" value="2">
+		</constant>
+		<constant name="ARRAY_FORMAT_TANGENT" value="4">
+		</constant>
+		<constant name="ARRAY_FORMAT_COLOR" value="8">
+		</constant>
+		<constant name="ARRAY_FORMAT_TEX_UV" value="16">
+		</constant>
+		<constant name="ARRAY_FORMAT_TEX_UV2" value="32">
+		</constant>
+		<constant name="ARRAY_FORMAT_BONES" value="64">
+		</constant>
+		<constant name="ARRAY_FORMAT_WEIGHTS" value="128">
+		</constant>
+		<constant name="ARRAY_FORMAT_INDEX" value="256">
+		</constant>
+		<constant name="ARRAY_COMPRESS_BASE" value="9">
+		</constant>
+		<constant name="ARRAY_COMPRESS_VERTEX" value="512">
+		</constant>
+		<constant name="ARRAY_COMPRESS_NORMAL" value="1024">
+		</constant>
+		<constant name="ARRAY_COMPRESS_TANGENT" value="2048">
+		</constant>
+		<constant name="ARRAY_COMPRESS_COLOR" value="4096">
+		</constant>
+		<constant name="ARRAY_COMPRESS_TEX_UV" value="8192">
+		</constant>
+		<constant name="ARRAY_COMPRESS_TEX_UV2" value="16384">
+		</constant>
+		<constant name="ARRAY_COMPRESS_BONES" value="32768">
+		</constant>
+		<constant name="ARRAY_COMPRESS_WEIGHTS" value="65536">
+		</constant>
+		<constant name="ARRAY_COMPRESS_INDEX" value="131072">
+		</constant>
+		<constant name="ARRAY_FLAG_USE_2D_VERTICES" value="262144">
+		</constant>
+		<constant name="ARRAY_FLAG_USE_16_BIT_BONES" value="524288">
+		</constant>
+		<constant name="ARRAY_COMPRESS_DEFAULT" value="97792">
+		</constant>
+		<constant name="ARRAY_VERTEX" value="0">
+		</constant>
+		<constant name="ARRAY_NORMAL" value="1">
+		</constant>
+		<constant name="ARRAY_TANGENT" value="2">
+		</constant>
+		<constant name="ARRAY_COLOR" value="3">
+		</constant>
+		<constant name="ARRAY_TEX_UV" value="4">
+		</constant>
+		<constant name="ARRAY_TEX_UV2" value="5">
+		</constant>
+		<constant name="ARRAY_BONES" value="6">
+		</constant>
+		<constant name="ARRAY_WEIGHTS" value="7">
+		</constant>
+		<constant name="ARRAY_INDEX" value="8">
+		</constant>
+		<constant name="ARRAY_MAX" value="9">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 6 - 6
doc/classes/OS.xml

@@ -233,7 +233,7 @@
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="get_power_state">
 		<method name="get_power_state">
-			<return type="int" enum="PowerState">
+			<return type="int" enum="OS.PowerState">
 			</return>
 			</return>
 			<description>
 			<description>
 			</description>
 			</description>
@@ -840,15 +840,15 @@
 		</constant>
 		</constant>
 		<constant name="SYSTEM_DIR_RINGTONES" value="7">
 		<constant name="SYSTEM_DIR_RINGTONES" value="7">
 		</constant>
 		</constant>
-		<constant name="POWERSTATE_UNKNOWN" value="0">
+		<constant name="OS::POWERSTATE_UNKNOWN" value="0">
 		</constant>
 		</constant>
-		<constant name="POWERSTATE_ON_BATTERY" value="1">
+		<constant name="OS::POWERSTATE_ON_BATTERY" value="1">
 		</constant>
 		</constant>
-		<constant name="POWERSTATE_NO_BATTERY" value="2">
+		<constant name="OS::POWERSTATE_NO_BATTERY" value="2">
 		</constant>
 		</constant>
-		<constant name="POWERSTATE_CHARGING" value="3">
+		<constant name="OS::POWERSTATE_CHARGING" value="3">
 		</constant>
 		</constant>
-		<constant name="POWERSTATE_CHARGED" value="4">
+		<constant name="OS::POWERSTATE_CHARGED" value="4">
 		</constant>
 		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 8 - 0
doc/classes/OmniLight.xml

@@ -51,5 +51,13 @@
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>
+		<constant name="SHADOW_DUAL_PARABOLOID" value="0">
+		</constant>
+		<constant name="SHADOW_CUBE" value="1">
+		</constant>
+		<constant name="SHADOW_DETAIL_VERTICAL" value="0">
+		</constant>
+		<constant name="SHADOW_DETAIL_HORIZONTAL" value="1">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 24 - 0
doc/classes/PhysicsServer.xml

@@ -1248,5 +1248,29 @@
 		</constant>
 		</constant>
 		<constant name="INFO_ISLAND_COUNT" value="2">
 		<constant name="INFO_ISLAND_COUNT" value="2">
 		</constant>
 		</constant>
+		<constant name="SPACE_PARAM_CONTACT_RECYCLE_RADIUS" value="0">
+		</constant>
+		<constant name="SPACE_PARAM_CONTACT_MAX_SEPARATION" value="1">
+		</constant>
+		<constant name="SPACE_PARAM_BODY_MAX_ALLOWED_PENETRATION" value="2">
+		</constant>
+		<constant name="SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD" value="3">
+		</constant>
+		<constant name="SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD" value="4">
+		</constant>
+		<constant name="SPACE_PARAM_BODY_TIME_TO_SLEEP" value="5">
+		</constant>
+		<constant name="SPACE_PARAM_BODY_ANGULAR_VELOCITY_DAMP_RATIO" value="6">
+		</constant>
+		<constant name="SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS" value="7">
+		</constant>
+		<constant name="BODY_AXIS_LOCK_DISABLED" value="0">
+		</constant>
+		<constant name="BODY_AXIS_LOCK_X" value="1">
+		</constant>
+		<constant name="BODY_AXIS_LOCK_Y" value="2">
+		</constant>
+		<constant name="BODY_AXIS_LOCK_Z" value="3">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 1 - 1
doc/classes/Reference.xml

@@ -18,7 +18,7 @@
 			</description>
 			</description>
 		</method>
 		</method>
 		<method name="reference">
 		<method name="reference">
-			<return type="void">
+			<return type="bool">
 			</return>
 			</return>
 			<description>
 			<description>
 				Increase the internal reference counter. Use this only if you really know what you are doing.
 				Increase the internal reference counter. Use this only if you really know what you are doing.

+ 8 - 0
doc/classes/RigidBody.xml

@@ -437,5 +437,13 @@
 		<constant name="MODE_CHARACTER" value="2">
 		<constant name="MODE_CHARACTER" value="2">
 			Character body. This behaves like a rigid body, but can not rotate.
 			Character body. This behaves like a rigid body, but can not rotate.
 		</constant>
 		</constant>
+		<constant name="AXIS_LOCK_DISABLED" value="0">
+		</constant>
+		<constant name="AXIS_LOCK_X" value="1">
+		</constant>
+		<constant name="AXIS_LOCK_Y" value="2">
+		</constant>
+		<constant name="AXIS_LOCK_Z" value="3">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 6 - 0
doc/classes/TabContainer.xml

@@ -190,6 +190,12 @@
 		</signal>
 		</signal>
 	</signals>
 	</signals>
 	<constants>
 	<constants>
+		<constant name="ALIGN_LEFT" value="0">
+		</constant>
+		<constant name="ALIGN_CENTER" value="1">
+		</constant>
+		<constant name="ALIGN_RIGHT" value="2">
+		</constant>
 	</constants>
 	</constants>
 	<theme_items>
 	<theme_items>
 		<theme_item name="decrement" type="Texture">
 		<theme_item name="decrement" type="Texture">

+ 4 - 0
doc/classes/TouchScreenButton.xml

@@ -173,5 +173,9 @@
 		</signal>
 		</signal>
 	</signals>
 	</signals>
 	<constants>
 	<constants>
+		<constant name="VISIBILITY_ALWAYS" value="0">
+		</constant>
+		<constant name="VISIBILITY_TOUCHSCREEN_ONLY" value="1">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 6 - 0
doc/classes/TreeItem.xml

@@ -545,5 +545,11 @@
 		</constant>
 		</constant>
 		<constant name="CELL_MODE_CUSTOM" value="5">
 		<constant name="CELL_MODE_CUSTOM" value="5">
 		</constant>
 		</constant>
+		<constant name="ALIGN_LEFT" value="0">
+		</constant>
+		<constant name="ALIGN_CENTER" value="1">
+		</constant>
+		<constant name="ALIGN_RIGHT" value="2">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 14 - 0
doc/classes/Viewport.xml

@@ -650,5 +650,19 @@
 		</constant>
 		</constant>
 		<constant name="MSAA_16X" value="4">
 		<constant name="MSAA_16X" value="4">
 		</constant>
 		</constant>
+		<constant name="USAGE_2D" value="0">
+		</constant>
+		<constant name="USAGE_2D_NO_SAMPLING" value="1">
+		</constant>
+		<constant name="USAGE_3D" value="2">
+		</constant>
+		<constant name="USAGE_3D_NO_EFFECTS" value="3">
+		</constant>
+		<constant name="CLEAR_MODE_ALWAYS" value="0">
+		</constant>
+		<constant name="CLEAR_MODE_NEVER" value="1">
+		</constant>
+		<constant name="CLEAR_MODE_ONLY_NEXT_FRAME" value="2">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 116 - 0
doc/classes/VisualScriptBuiltinFunc.xml

@@ -29,5 +29,121 @@
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>
+		<constant name="MATH_SIN" value="0">
+		</constant>
+		<constant name="MATH_COS" value="1">
+		</constant>
+		<constant name="MATH_TAN" value="2">
+		</constant>
+		<constant name="MATH_SINH" value="3">
+		</constant>
+		<constant name="MATH_COSH" value="4">
+		</constant>
+		<constant name="MATH_TANH" value="5">
+		</constant>
+		<constant name="MATH_ASIN" value="6">
+		</constant>
+		<constant name="MATH_ACOS" value="7">
+		</constant>
+		<constant name="MATH_ATAN" value="8">
+		</constant>
+		<constant name="MATH_ATAN2" value="9">
+		</constant>
+		<constant name="MATH_SQRT" value="10">
+		</constant>
+		<constant name="MATH_FMOD" value="11">
+		</constant>
+		<constant name="MATH_FPOSMOD" value="12">
+		</constant>
+		<constant name="MATH_FLOOR" value="13">
+		</constant>
+		<constant name="MATH_CEIL" value="14">
+		</constant>
+		<constant name="MATH_ROUND" value="15">
+		</constant>
+		<constant name="MATH_ABS" value="16">
+		</constant>
+		<constant name="MATH_SIGN" value="17">
+		</constant>
+		<constant name="MATH_POW" value="18">
+		</constant>
+		<constant name="MATH_LOG" value="19">
+		</constant>
+		<constant name="MATH_EXP" value="20">
+		</constant>
+		<constant name="MATH_ISNAN" value="21">
+		</constant>
+		<constant name="MATH_ISINF" value="22">
+		</constant>
+		<constant name="MATH_EASE" value="23">
+		</constant>
+		<constant name="MATH_DECIMALS" value="24">
+		</constant>
+		<constant name="MATH_STEPIFY" value="25">
+		</constant>
+		<constant name="MATH_LERP" value="26">
+		</constant>
+		<constant name="MATH_DECTIME" value="27">
+		</constant>
+		<constant name="MATH_RANDOMIZE" value="28">
+		</constant>
+		<constant name="MATH_RAND" value="29">
+		</constant>
+		<constant name="MATH_RANDF" value="30">
+		</constant>
+		<constant name="MATH_RANDOM" value="31">
+		</constant>
+		<constant name="MATH_SEED" value="32">
+		</constant>
+		<constant name="MATH_RANDSEED" value="33">
+		</constant>
+		<constant name="MATH_DEG2RAD" value="34">
+		</constant>
+		<constant name="MATH_RAD2DEG" value="35">
+		</constant>
+		<constant name="MATH_LINEAR2DB" value="36">
+		</constant>
+		<constant name="MATH_DB2LINEAR" value="37">
+		</constant>
+		<constant name="LOGIC_MAX" value="38">
+		</constant>
+		<constant name="LOGIC_MIN" value="39">
+		</constant>
+		<constant name="LOGIC_CLAMP" value="40">
+		</constant>
+		<constant name="LOGIC_NEAREST_PO2" value="41">
+		</constant>
+		<constant name="OBJ_WEAKREF" value="42">
+		</constant>
+		<constant name="FUNC_FUNCREF" value="43">
+		</constant>
+		<constant name="TYPE_CONVERT" value="44">
+		</constant>
+		<constant name="TYPE_OF" value="45">
+		</constant>
+		<constant name="TYPE_EXISTS" value="46">
+		</constant>
+		<constant name="TEXT_CHAR" value="47">
+		</constant>
+		<constant name="TEXT_STR" value="48">
+		</constant>
+		<constant name="TEXT_PRINT" value="49">
+		</constant>
+		<constant name="TEXT_PRINTERR" value="50">
+		</constant>
+		<constant name="TEXT_PRINTRAW" value="51">
+		</constant>
+		<constant name="VAR_TO_STR" value="52">
+		</constant>
+		<constant name="STR_TO_VAR" value="53">
+		</constant>
+		<constant name="VAR_TO_BYTES" value="54">
+		</constant>
+		<constant name="BYTES_TO_VAR" value="55">
+		</constant>
+		<constant name="COLORN" value="56">
+		</constant>
+		<constant name="FUNC_MAX" value="57">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 12 - 0
doc/classes/VisualScriptFunctionCall.xml

@@ -183,5 +183,17 @@
 		</constant>
 		</constant>
 		<constant name="CALL_MODE_BASIC_TYPE" value="3">
 		<constant name="CALL_MODE_BASIC_TYPE" value="3">
 		</constant>
 		</constant>
+		<constant name="CALL_MODE_SINGLETON" value="4">
+		</constant>
+		<constant name="RPC_DISABLED" value="0">
+		</constant>
+		<constant name="RPC_RELIABLE" value="1">
+		</constant>
+		<constant name="RPC_UNRELIABLE" value="2">
+		</constant>
+		<constant name="RPC_RELIABLE_TO_ID" value="3">
+		</constant>
+		<constant name="RPC_UNRELIABLE_TO_ID" value="4">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 8 - 0
doc/classes/VisualScriptInputAction.xml

@@ -45,5 +45,13 @@
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>
+		<constant name="MODE_PRESSED" value="0">
+		</constant>
+		<constant name="MODE_RELEASED" value="1">
+		</constant>
+		<constant name="MODE_JUST_PRESSED" value="2">
+		</constant>
+		<constant name="MODE_JUST_RELEASED" value="3">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 18 - 0
doc/classes/VisualScriptMathConstant.xml

@@ -29,5 +29,23 @@
 		</member>
 		</member>
 	</members>
 	</members>
 	<constants>
 	<constants>
+		<constant name="MATH_CONSTANT_ONE" value="0">
+		</constant>
+		<constant name="MATH_CONSTANT_PI" value="1">
+		</constant>
+		<constant name="MATH_CONSTANT_2PI" value="2">
+		</constant>
+		<constant name="MATH_CONSTANT_HALF_PI" value="3">
+		</constant>
+		<constant name="MATH_CONSTANT_E" value="4">
+		</constant>
+		<constant name="MATH_CONSTANT_SQRT2" value="5">
+		</constant>
+		<constant name="MATH_CONSTANT_INF" value="6">
+		</constant>
+		<constant name="MATH_CONSTANT_NAN" value="7">
+		</constant>
+		<constant name="MATH_CONSTANT_MAX" value="8">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>

+ 24 - 0
doc/classes/VisualScriptPropertySet.xml

@@ -149,5 +149,29 @@
 		</constant>
 		</constant>
 		<constant name="CALL_MODE_INSTANCE" value="2">
 		<constant name="CALL_MODE_INSTANCE" value="2">
 		</constant>
 		</constant>
+		<constant name="CALL_MODE_BASIC_TYPE" value="3">
+		</constant>
+		<constant name="ASSIGN_OP_NONE" value="0">
+		</constant>
+		<constant name="ASSIGN_OP_ADD" value="1">
+		</constant>
+		<constant name="ASSIGN_OP_SUB" value="2">
+		</constant>
+		<constant name="ASSIGN_OP_MUL" value="3">
+		</constant>
+		<constant name="ASSIGN_OP_DIV" value="4">
+		</constant>
+		<constant name="ASSIGN_OP_MOD" value="5">
+		</constant>
+		<constant name="ASSIGN_OP_SHIFT_LEFT" value="6">
+		</constant>
+		<constant name="ASSIGN_OP_SHIFT_RIGHT" value="7">
+		</constant>
+		<constant name="ASSIGN_OP_BIT_AND" value="8">
+		</constant>
+		<constant name="ASSIGN_OP_BIT_OR" value="9">
+		</constant>
+		<constant name="ASSIGN_OP_BIT_XOR" value="10">
+		</constant>
 	</constants>
 	</constants>
 </class>
 </class>