From fee29570d0a5ee2de5b6b8e28621636489ac9bb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 19 Feb 2018 10:47:16 +0100 Subject: doc: Sync classref with current source --- doc/classes/@GDScript.xml | 8 +- doc/classes/ArrayMesh.xml | 10 + doc/classes/AudioStream.xml | 6 + doc/classes/AudioStreamPlayer.xml | 2 + doc/classes/AudioStreamPlayer2D.xml | 2 + doc/classes/AudioStreamPlayer3D.xml | 2 + doc/classes/OS.xml | 26 + doc/classes/StreamPeerTCP.xml | 20 +- doc/classes/Viewport.xml | 2 +- doc/classes/VisualServer.xml | 2238 +++++++++++++++++++++++++++--- doc/classes/WebSocketClient.xml | 53 + doc/classes/WebSocketMultiplayerPeer.xml | 31 + doc/classes/WebSocketPeer.xml | 51 + doc/classes/WebSocketServer.xml | 69 + 14 files changed, 2311 insertions(+), 209 deletions(-) create mode 100644 doc/classes/WebSocketClient.xml create mode 100644 doc/classes/WebSocketMultiplayerPeer.xml create mode 100644 doc/classes/WebSocketPeer.xml create mode 100644 doc/classes/WebSocketServer.xml diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml index f12e300e4b..2444dc4cba 100644 --- a/doc/classes/@GDScript.xml +++ b/doc/classes/@GDScript.xml @@ -20,7 +20,7 @@ - + Returns a 32 bit color with red, green, blue and alpha channels. Each channel has 8 bits of information ranging from 0 to 255. @@ -38,7 +38,7 @@ - + Returns a color according to the standardised [code]name[/code] with [code]alpha[/code] ranging from 0 to 1. @@ -1131,9 +1131,9 @@ - + - + Stops the function execution and returns the current state. Call [method GDScriptFunctionState.resume] on the state to resume execution. This invalidates the state. diff --git a/doc/classes/ArrayMesh.xml b/doc/classes/ArrayMesh.xml index e4fee6a45f..9ea76e2702 100644 --- a/doc/classes/ArrayMesh.xml +++ b/doc/classes/ArrayMesh.xml @@ -66,6 +66,16 @@ Return the amount of surfaces that the [code]ArrayMesh[/code] holds. + + + + + + + + + + diff --git a/doc/classes/AudioStream.xml b/doc/classes/AudioStream.xml index 2c7546ebb1..cbb16c3198 100644 --- a/doc/classes/AudioStream.xml +++ b/doc/classes/AudioStream.xml @@ -12,6 +12,12 @@ + + + + + + diff --git a/doc/classes/AudioStreamPlayer.xml b/doc/classes/AudioStreamPlayer.xml index 6bf985640c..f7c8f76182 100644 --- a/doc/classes/AudioStreamPlayer.xml +++ b/doc/classes/AudioStreamPlayer.xml @@ -56,6 +56,8 @@ If the audio configuration has more than two speakers, this sets the target channels. See [code]MIX_TARGET_*[/code] constants. + + If [code]true[/code] audio is playing. diff --git a/doc/classes/AudioStreamPlayer2D.xml b/doc/classes/AudioStreamPlayer2D.xml index c0584eb811..6594c9c8b9 100644 --- a/doc/classes/AudioStreamPlayer2D.xml +++ b/doc/classes/AudioStreamPlayer2D.xml @@ -62,6 +62,8 @@ Maximum distance from which audio is still hearable. + + If [code]true[/code] audio is playing. diff --git a/doc/classes/AudioStreamPlayer3D.xml b/doc/classes/AudioStreamPlayer3D.xml index a9090db8d4..7eb1ff2b91 100644 --- a/doc/classes/AudioStreamPlayer3D.xml +++ b/doc/classes/AudioStreamPlayer3D.xml @@ -86,6 +86,8 @@ Decides if audio should pause when source is outside of 'max_distance' range. + + If [code]true[/code], audio is playing. diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index ec01fbc32a..f37c80efc9 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -36,6 +36,12 @@ Returns [code]true[/code] if the current host platform is using multiple threads. + + + + + + @@ -232,6 +238,12 @@ Returns the number of cores available in the host machine. + + + + + + @@ -458,6 +470,12 @@ If [code]true[/code], the [code]user://[/code] file system is persistent, so that its state is the same after a player quits and starts the game again. Relevant to the HTML5 platform, where this persistence may be unavailable. + + + + + + @@ -586,6 +604,14 @@ Enables backup saves if [code]enabled[/code] is [code]true[/code]. + + + + + + + + diff --git a/doc/classes/StreamPeerTCP.xml b/doc/classes/StreamPeerTCP.xml index 942aa9d27a..ef856551bb 100644 --- a/doc/classes/StreamPeerTCP.xml +++ b/doc/classes/StreamPeerTCP.xml @@ -29,16 +29,6 @@ Disconnect from host. - - - - - - - Disable Nagle algorithm to improve latency for small packets. - Note that for applications that send large packets, or need to transfer a lot of data, this can reduce total bandwidth. - - @@ -66,6 +56,16 @@ + + + + + + + Disable Nagle algorithm to improve latency for small packets. + Note that for applications that send large packets, or need to transfer a lot of data, this can reduce total bandwidth. + + diff --git a/doc/classes/Viewport.xml b/doc/classes/Viewport.xml index 0ec4eb9cfd..b3568321ad 100644 --- a/doc/classes/Viewport.xml +++ b/doc/classes/Viewport.xml @@ -302,7 +302,7 @@ Amount of objects in frame. - Amount of vertices in frame. + Amount of vertices in frame. Amount of material changes in frame. diff --git a/doc/classes/VisualServer.xml b/doc/classes/VisualServer.xml index b9034205f2..204a4a6704 100644 --- a/doc/classes/VisualServer.xml +++ b/doc/classes/VisualServer.xml @@ -42,6 +42,80 @@ Sets margin size, where black bars (or images, if [method black_bars_set_images] was used) are rendered. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -881,6 +955,12 @@ Modulates all colors in the given canvas. + + + + + + @@ -890,455 +970,2049 @@ Draws a frame. - - + + - Removes buffers and clears testcubes. - + - + + + + + + + + + + + - Draws a frame. Same as [method draw]. - + + + + + + + + + - Syncronizes threads. - + - + + + - Tries to free an object in the VisualServer. - - + + - + + + - Returns a certain information, see RENDER_INFO_* for options. - - + + + + + + - Returns the id of the test cube. Creates one if none exists. - - + + + + + + - Returns the id of the test texture. Creates one if none exists. - - + + + + + + + + + + + + + + - Returns the id of a white texture. Creates one if none exists. - - + + + + + + + + + + + + + + - Returns [code]true[/code] if changes have been made to the VisualServer's data. [method draw] is usually called if this happens. - - + + - + + + + + + + + + - - + + - + + + + + + + + + + + - Returns true, if the OS supports a certain feature. Features might be s3tc, etc, etc2 and pvrtc, - + + + + + + + + + + + - Initializes the visual server. - - + + - + - + - + + + + + + + + + + + + + + + - Returns a mesh of a sphere with the given amount of horizontal and vertical subdivisions. - - + + + + + + - Returns an empty material. - - + + - + - + - Returns the value of a certain material's parameter. - - + + - + + + + + + + + + + + + + + + + + + + + + + + - Returns the shader of a certain material's shader. Returns an empty RID if the material doesn't have a shader. - + - + - + + + + + + + + + + + - Sets a materials line width. - + - + - + + + + + + + + + + + + + + + - Sets an objects next material. - + - - - - - + + Removes buffers and clears testcubes. + + + + + + - Sets a materials parameter. + Draws a frame. Same as [method draw]. - + - + + Syncronizes threads. + + + + + + - + + Tries to free an object in the VisualServer. + + + + + + + + + Returns a certain information, see RENDER_INFO_* for options. + + + + + + + Returns the id of the test cube. Creates one if none exists. + + + + + + + Returns the id of the test texture. Creates one if none exists. + + + + + + + Returns the id of a white texture. Creates one if none exists. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns [code]true[/code] if changes have been made to the VisualServer's data. [method draw] is usually called if this happens. + + + + + + + + + + + + + + + + + Returns true, if the OS supports a certain feature. Features might be s3tc, etc, etc2 and pvrtc, + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Initializes the visual server. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Returns a mesh of a sphere with the given amount of horizontal and vertical subdivisions. + + + + + + + Returns an empty material. + + + + + + + + + + + Returns the value of a certain material's parameter. + + + + + + + + + Returns the shader of a certain material's shader. Returns an empty RID if the material doesn't have a shader. + + + + + + + + + + + Sets a materials line width. + + + + + + + + + + + Sets an objects next material. + + + + + + + + + + + + + Sets a materials parameter. + + + + + + + + + + + Sets a material's render priority. + + + + + + + + + + + Sets a shader material's shader. + + + + + + + + + + + + + + + + + Adds a surface generated from the Arrays to a mesh. See PRIMITIVE_TYPE_* constants for types. + + + + + + + + + Removes all surfaces from a mesh. + + + + + + + Creates a new mesh. + + + + + + + + + Returns a mesh's blend shape count. + + + + + + + + + Returns a mesh's blend shape mode. + + + + + + + + + Returns a mesh's custom aabb. + + + + + + + + + Returns a mesh's number of surfaces. + + + + + + + + + + + Removes a mesh's surface. + + + + + + + + + + + Sets a mesh's blend shape count. + + + + + + + + + + + Sets a mesh's blend shape mode. + + + + + + + + + + + Sets a mesh's custom aabb. + + + + + + + + + + + Returns a mesh's surface's aabb. + + + + + + + + + + + Returns a mesh's surface's vertex buffer. + + + + + + + + + + + Returns a mesh's surface's amount of indices. + + + + + + + + + + + Returns a mesh's surface's amount of vertices. + + + + + + + + + + + Returns a mesh's surface's buffer arrays. + + + + + + + + + + + Returns a mesh's surface's arrays for blend shapes + + + + + + + + + + + Returns the format of a mesh's surface. + + + + + + + + + + + Returns a mesh's surface's index buffer. + + + + + + + + + + + Returns a mesh's surface's material. + + + + + + + + + + + Returns the primitive type of a mesh's surface. + + + + + + + + + + + Returns the aabb of a mesh's surface's skeleton. + + + + + + + + + + + + + Sets a mesh's surface's material. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - Sets a material's render priority. - + - + - + - Sets a shader material's shader. - + - - - - - - - + - + - Adds a surface generated from the Arrays to a mesh. See PRIMITIVE_TYPE_* constants for types. - + - + + + - Removes all surfaces from a mesh. - - + + + + + + - Creates a new mesh. - - + + - + + + - Returns a mesh's blend shape count. - - + + - + + + - Returns a mesh's blend shape mode. - - + + - - - Returns a mesh's custom aabb. - - + + - + + + - Returns a mesh's number of surfaces. - + - + - + - Removes a mesh's surface. - + - + - + - Sets a mesh's blend shape count. - + - + - + - Sets a mesh's blend shape mode. - + - + - + - Sets a mesh's custom aabb. - - + + - + - + - Returns a mesh's surface's aabb. - - + + - + - + - Returns a mesh's surface's vertex buffer. - - + + - + - + - Returns a mesh's surface's amount of indices. - - + + - + - + - Returns a mesh's surface's amount of vertices. - - + + - + - + - Returns a mesh's surface's buffer arrays. - - + + - + - + - Returns a mesh's surface's arrays for blend shapes - - + + - + - + - Returns the format of a mesh's surface. - - + + - + - + + + - Returns a mesh's surface's index buffer. + Schedules a callback to the corresponding named 'method' on 'where' after a frame has been drawn. + The callback method must use only 1 argument which will be called with 'userdata'. - + - - - - - Returns a mesh's surface's material. - - + + - + - + - Returns the primitive type of a mesh's surface. - - + + - + - + - Returns the aabb of a mesh's surface's skeleton. - + - + - - - + - Sets a mesh's surface's material. - + - + - + - + - Schedules a callback to the corresponding named 'method' on 'where' after a frame has been drawn. - The callback method must use only 1 argument which will be called with 'userdata'. @@ -1430,6 +3104,76 @@ Sets a shader's default texture. Overwrites the texture given by name. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1450,6 +3194,12 @@ Sets a sky's texture. + + + + + + @@ -2214,6 +3964,24 @@ The light parameters endpoint. Used internally. + + + + + + + + + + + + + + + + + + @@ -2323,6 +4091,18 @@ A combination of the flags of geometry instances (mesh, multimesh, immediate and particles). + + + + + + + + + + + + The nine patch gets stretched where needed. @@ -2398,5 +4178,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/WebSocketClient.xml b/doc/classes/WebSocketClient.xml new file mode 100644 index 0000000000..9c0685031c --- /dev/null +++ b/doc/classes/WebSocketClient.xml @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/WebSocketMultiplayerPeer.xml b/doc/classes/WebSocketMultiplayerPeer.xml new file mode 100644 index 0000000000..b49d4c48e0 --- /dev/null +++ b/doc/classes/WebSocketMultiplayerPeer.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/WebSocketPeer.xml b/doc/classes/WebSocketPeer.xml new file mode 100644 index 0000000000..fba8322889 --- /dev/null +++ b/doc/classes/WebSocketPeer.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/WebSocketServer.xml b/doc/classes/WebSocketServer.xml new file mode 100644 index 0000000000..887df696ff --- /dev/null +++ b/doc/classes/WebSocketServer.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3