From c991379b81e660e6c9d28620d61b87e9c0cb5233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Tue, 30 Apr 2019 14:23:59 +0200 Subject: doc: Sync classref with current source --- doc/classes/AudioStreamPlayer.xml | 9 --------- doc/classes/ColorPicker.xml | 4 ++++ doc/classes/Object.xml | 8 ++++++++ doc/classes/Physics2DServer.xml | 8 ++++++-- doc/classes/PhysicsServer.xml | 28 ++++++++++++++++++++++++++++ doc/classes/TextEdit.xml | 6 ++++++ 6 files changed, 52 insertions(+), 11 deletions(-) diff --git a/doc/classes/AudioStreamPlayer.xml b/doc/classes/AudioStreamPlayer.xml index 07d7c875db..c6ec45f15e 100644 --- a/doc/classes/AudioStreamPlayer.xml +++ b/doc/classes/AudioStreamPlayer.xml @@ -10,15 +10,6 @@ https://docs.godotengine.org/en/latest/tutorials/audio/audio_streams.html - - - - - Returns the actual amount of time this stream player was mixing since play() was pressed. - To know the exact position this song is mixing right now, add the value to [method AudioServer.get_time_since_last_mix]. - Also consider substracting [method AudioServer.get_output_latency] to that result. - - diff --git a/doc/classes/ColorPicker.xml b/doc/classes/ColorPicker.xml index d0a81ad8ae..a58edb5ca8 100644 --- a/doc/classes/ColorPicker.xml +++ b/doc/classes/ColorPicker.xml @@ -45,6 +45,10 @@ If [code]true[/code], shows an alpha channel slider (transparency). + + + + If [code]true[/code], allows the color R, G, B component values to go beyond 1.0, which can be used for certain special operations that require it (like tinting without darkening or rendering sprites in HDR). diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index 4fe43814d1..9c2a65ce5b 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -327,6 +327,14 @@ + + + + + + + + diff --git a/doc/classes/Physics2DServer.xml b/doc/classes/Physics2DServer.xml index 641e1898ff..172420e4ca 100644 --- a/doc/classes/Physics2DServer.xml +++ b/doc/classes/Physics2DServer.xml @@ -18,6 +18,8 @@ + + Adds a shape to the area, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. @@ -251,7 +253,7 @@ - + Disables a given shape in an area. @@ -346,6 +348,8 @@ + + Adds a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. @@ -746,7 +750,7 @@ - + Disables shape in body if [code]disable[/code] is [code]true[/code]. diff --git a/doc/classes/PhysicsServer.xml b/doc/classes/PhysicsServer.xml index 25869a853c..78a6ed8ac0 100644 --- a/doc/classes/PhysicsServer.xml +++ b/doc/classes/PhysicsServer.xml @@ -18,6 +18,8 @@ + + Adds a shape to the area, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. @@ -246,6 +248,18 @@ Substitutes a given area shape by another. The old shape is selected by its index, the new one by its [RID]. + + + + + + + + + + + + @@ -334,6 +348,8 @@ + + Adds a shape to the body, along with a transform matrix. Shapes are usually referenced by their index, so you should track which shape has a given index. @@ -750,6 +766,18 @@ Substitutes a given body shape by another. The old shape is selected by its index, the new one by its [RID]. + + + + + + + + + + + + diff --git a/doc/classes/TextEdit.xml b/doc/classes/TextEdit.xml index fa78fbe305..0210815d75 100644 --- a/doc/classes/TextEdit.xml +++ b/doc/classes/TextEdit.xml @@ -524,8 +524,14 @@ + + + + + + -- cgit v1.2.3