diff --git a/doc/classes/BaseButton.xml b/doc/classes/BaseButton.xml index 21f46efe843..0128e7b2208 100644 --- a/doc/classes/BaseButton.xml +++ b/doc/classes/BaseButton.xml @@ -112,6 +112,7 @@ The state of buttons are disabled. + The state of buttons are both hovered and pressed. Require just a press to consider the button clicked. diff --git a/doc/classes/CollisionObject2D.xml b/doc/classes/CollisionObject2D.xml index b9ec9480cf8..bbc2e44dc07 100644 --- a/doc/classes/CollisionObject2D.xml +++ b/doc/classes/CollisionObject2D.xml @@ -44,6 +44,7 @@ + Returns the [code]one_way_collision_margin[/code] of the shape owner identified by given [code]owner_id[/code]. @@ -199,6 +200,7 @@ + Sets the [code]one_way_collision_margin[/code] of the shape owner identified by given [code]owner_id[/code] to [code]margin[/code] pixels. diff --git a/doc/classes/ColorPickerButton.xml b/doc/classes/ColorPickerButton.xml index e8c78fb6bf6..37116b096a9 100644 --- a/doc/classes/ColorPickerButton.xml +++ b/doc/classes/ColorPickerButton.xml @@ -43,10 +43,12 @@ + Emitted when the [ColorPicker] is created (the button is pressed for the first time). + Emitted when the [ColorPicker] is closed. diff --git a/doc/classes/MainLoop.xml b/doc/classes/MainLoop.xml index d5ca39e09a5..606c898a358 100644 --- a/doc/classes/MainLoop.xml +++ b/doc/classes/MainLoop.xml @@ -69,6 +69,7 @@ + Called when the user performs an action in the system global menu (e.g. the Mac OS menu bar). diff --git a/doc/classes/NinePatchRect.xml b/doc/classes/NinePatchRect.xml index 8935ac9d94d..7a7973684d7 100644 --- a/doc/classes/NinePatchRect.xml +++ b/doc/classes/NinePatchRect.xml @@ -15,6 +15,7 @@ + Returns the size of the margin identified by the given [enum Margin] constant. @@ -25,6 +26,7 @@ + Sets the size of the margin identified by the given [enum Margin] constant to [code]value[/code] in pixels. diff --git a/doc/classes/PoolByteArray.xml b/doc/classes/PoolByteArray.xml index 867f042cd2d..83c348f6be5 100644 --- a/doc/classes/PoolByteArray.xml +++ b/doc/classes/PoolByteArray.xml @@ -78,6 +78,11 @@ + Returns a hexadecimal representation of this array as a [String]. + [codeblock] + var array = PoolByteArray([11, 46, 255]) + print(array.hex_encode()) # Prints: 0b2eff + [/codeblock] diff --git a/doc/classes/ShaderMaterial.xml b/doc/classes/ShaderMaterial.xml index ef355c44178..0f39b703ca0 100644 --- a/doc/classes/ShaderMaterial.xml +++ b/doc/classes/ShaderMaterial.xml @@ -25,6 +25,7 @@ + Returns [code]true[/code] if the property identified by [code]name[/code] can be reverted to a default value. @@ -33,6 +34,7 @@ + Returns the default value of the material property with given [code]name[/code]. diff --git a/doc/classes/SpriteFrames.xml b/doc/classes/SpriteFrames.xml index f28192519e1..2f2075074cb 100644 --- a/doc/classes/SpriteFrames.xml +++ b/doc/classes/SpriteFrames.xml @@ -170,6 +170,7 @@ + Compatibility property, always equals to an empty array. diff --git a/doc/classes/StyleBox.xml b/doc/classes/StyleBox.xml index 1d873ef0b1d..1a119047920 100644 --- a/doc/classes/StyleBox.xml +++ b/doc/classes/StyleBox.xml @@ -17,18 +17,22 @@ + Draws this stylebox using a [CanvasItem] with given [RID]. + You can get a [RID] value using [method Object.get_instance_id] on a [CanvasItem]-derived node. + Returns the size of this [StyleBox] without the margins. + Returns the [CanvasItem] that handles its [constant CanvasItem.NOTIFICATION_DRAW] or [method CanvasItem._draw] callback at this moment. @@ -37,6 +41,7 @@ + Returns the default value of the specified [enum Margin]. @@ -45,7 +50,7 @@ - Returns the content margin offset for the specified margin. + Returns the content margin offset for the specified [enum Margin]. Positive values reduce size inwards, unlike [Control]'s margin values. @@ -71,6 +76,7 @@ + Sets the default value of the specified [enum Margin] to given [code]offset[/code] in pixels. diff --git a/doc/classes/Thread.xml b/doc/classes/Thread.xml index 25e40d4c1f1..e56ea2325e4 100644 --- a/doc/classes/Thread.xml +++ b/doc/classes/Thread.xml @@ -50,10 +50,13 @@ + A thread running with lower priority than normally. + A thread with a standard priority. + A thread running with higher priority than normally.