diff options
Diffstat (limited to 'doc/classes')
| -rw-r--r-- | doc/classes/AudioServer.xml | 10 | ||||
| -rw-r--r-- | doc/classes/ItemList.xml | 6 | ||||
| -rw-r--r-- | doc/classes/Joint2D.xml | 8 | ||||
| -rw-r--r-- | doc/classes/Joint3D.xml | 8 | ||||
| -rw-r--r-- | doc/classes/Line2D.xml | 13 | ||||
| -rw-r--r-- | doc/classes/ProjectSettings.xml | 3 | ||||
| -rw-r--r-- | doc/classes/Vector2i.xml | 6 | ||||
| -rw-r--r-- | doc/classes/Vector3i.xml | 6 | ||||
| -rw-r--r-- | doc/classes/Vector4i.xml | 6 |
9 files changed, 61 insertions, 5 deletions
diff --git a/doc/classes/AudioServer.xml b/doc/classes/AudioServer.xml index 5d3d7a0591..21ad817c6c 100644 --- a/doc/classes/AudioServer.xml +++ b/doc/classes/AudioServer.xml @@ -317,7 +317,15 @@ <signals> <signal name="bus_layout_changed"> <description> - Emitted when the [AudioBusLayout] changes. + Emitted when an audio bus is added, deleted, or moved. + </description> + </signal> + <signal name="bus_renamed"> + <param index="0" name="bus_index" type="int" /> + <param index="1" name="old_name" type="StringName" /> + <param index="2" name="new_name" type="StringName" /> + <description> + Emitted when the audio bus at [param bus_index] is renamed from [param old_name] to [param new_name]. </description> </signal> </signals> diff --git a/doc/classes/ItemList.xml b/doc/classes/ItemList.xml index f6ad422234..593f41bc70 100644 --- a/doc/classes/ItemList.xml +++ b/doc/classes/ItemList.xml @@ -57,6 +57,12 @@ Ensure current selection is visible, adjusting the scroll position as necessary. </description> </method> + <method name="force_update_list_size"> + <return type="void" /> + <description> + Forces an update to the list size based on its items. This happens automatically whenever size of the items, or other relevant settings like [member auto_height], change. The method can be used to trigger the update ahead of next drawing pass. + </description> + </method> <method name="get_item_at_position" qualifiers="const"> <return type="int" /> <param index="0" name="position" type="Vector2" /> diff --git a/doc/classes/Joint2D.xml b/doc/classes/Joint2D.xml index 6a43180561..9fb9154827 100644 --- a/doc/classes/Joint2D.xml +++ b/doc/classes/Joint2D.xml @@ -8,6 +8,14 @@ </description> <tutorials> </tutorials> + <methods> + <method name="get_rid" qualifiers="const"> + <return type="RID" /> + <description> + Returns the joint's [RID]. + </description> + </method> + </methods> <members> <member name="bias" type="float" setter="set_bias" getter="get_bias" default="0.0"> When [member node_a] and [member node_b] move in different directions the [code]bias[/code] controls how fast the joint pulls them back to their original position. The lower the [code]bias[/code] the more the two bodies can pull on the joint. diff --git a/doc/classes/Joint3D.xml b/doc/classes/Joint3D.xml index d848bdc0cd..9e0b753701 100644 --- a/doc/classes/Joint3D.xml +++ b/doc/classes/Joint3D.xml @@ -9,6 +9,14 @@ <tutorials> <link title="3D Truck Town Demo">https://godotengine.org/asset-library/asset/524</link> </tutorials> + <methods> + <method name="get_rid" qualifiers="const"> + <return type="RID" /> + <description> + Returns the joint's [RID]. + </description> + </method> + </methods> <members> <member name="exclude_nodes_from_collision" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision" default="true"> If [code]true[/code], the two bodies of the nodes are not able to collide with each other. diff --git a/doc/classes/Line2D.xml b/doc/classes/Line2D.xml index 7e02a520a0..4c444721f4 100644 --- a/doc/classes/Line2D.xml +++ b/doc/classes/Line2D.xml @@ -63,16 +63,21 @@ [b]Note:[/b] [Line2D] is not accelerated by batching when being anti-aliased. </member> <member name="begin_cap_mode" type="int" setter="set_begin_cap_mode" getter="get_begin_cap_mode" enum="Line2D.LineCapMode" default="0"> - The style of the beginning of the polyline. Use [enum LineCapMode] constants. + The style of the beginning of the polyline, if [member closed] is [code]false[/code]. Use [enum LineCapMode] constants. + </member> + <member name="closed" type="bool" setter="set_closed" getter="is_closed" default="false"> + If [code]true[/code] and the polyline has more than 2 points, the last point and the first one will be connected by a segment. + [b]Note:[/b] The shape of the closing segment is not guaranteed to be seamless if a [member width_curve] is provided. + [b]Note:[/b] The joint between the closing segment and the first segment is drawn first and it samples the [member gradient] and the [member width_curve] at the beginning. This is an implementation detail that might change in a future version. </member> <member name="default_color" type="Color" setter="set_default_color" getter="get_default_color" default="Color(1, 1, 1, 1)"> The color of the polyline. Will not be used if a gradient is set. </member> <member name="end_cap_mode" type="int" setter="set_end_cap_mode" getter="get_end_cap_mode" enum="Line2D.LineCapMode" default="0"> - The style of the end of the polyline. Use [enum LineCapMode] constants. + The style of the end of the polyline, if [member closed] is [code]false[/code]. Use [enum LineCapMode] constants. </member> <member name="gradient" type="Gradient" setter="set_gradient" getter="get_gradient"> - The gradient is drawn through the whole line from start to finish. The default color will not be used if a gradient is set. + The gradient is drawn through the whole line from start to finish. The [member default_color] will not be used if this property is set. </member> <member name="joint_mode" type="int" setter="set_joint_mode" getter="get_joint_mode" enum="Line2D.LineJointMode" default="0"> The style of the connections between segments of the polyline. Use [enum LineJointMode] constants. @@ -93,7 +98,7 @@ The style to render the [member texture] of the polyline. Use [enum LineTextureMode] constants. </member> <member name="width" type="float" setter="set_width" getter="get_width" default="10.0"> - The polyline's width + The polyline's width. </member> <member name="width_curve" type="Curve" setter="set_curve" getter="get_curve"> The polyline's width curve. The width of the polyline over its length will be equivalent to the value of the width curve over its domain. diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index 6f900e06dd..87c642c6d3 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -400,6 +400,9 @@ <member name="audio/video/video_delay_compensation_ms" type="int" setter="" getter="" default="0"> Setting to hardcode audio delay when playing video. Best to leave this untouched unless you know what you are doing. </member> + <member name="collada/use_ambient" type="bool" setter="" getter="" default="false"> + If [code]true[/code], ambient lights will be imported from COLLADA models as [DirectionalLight3D]. If [code]false[/code], ambient lights will be ignored. + </member> <member name="compression/formats/gzip/compression_level" type="int" setter="" getter="" default="-1"> The default compression level for gzip. Affects compressed scenes and resources. Higher levels result in smaller files at the cost of compression speed. Decompression speed is mostly unaffected by the compression level. [code]-1[/code] uses the default gzip compression level, which is identical to [code]6[/code] but could change in the future due to underlying zlib updates. </member> diff --git a/doc/classes/Vector2i.xml b/doc/classes/Vector2i.xml index ccb5bb7815..2100cd7612 100644 --- a/doc/classes/Vector2i.xml +++ b/doc/classes/Vector2i.xml @@ -124,6 +124,12 @@ <constant name="ONE" value="Vector2i(1, 1)"> One vector, a vector with all components set to [code]1[/code]. </constant> + <constant name="MIN" value="Vector2i(-2147483648, -2147483648)"> + Min vector, a vector with all components equal to [code]INT32_MIN[/code]. Can be used as a negative integer equivalent of [constant Vector2.INF]. + </constant> + <constant name="MAX" value="Vector2i(2147483647, 2147483647)"> + Max vector, a vector with all components equal to [code]INT32_MAX[/code]. Can be used as an integer equivalent of [constant Vector2.INF]. + </constant> <constant name="LEFT" value="Vector2i(-1, 0)"> Left unit vector. Represents the direction of left. </constant> diff --git a/doc/classes/Vector3i.xml b/doc/classes/Vector3i.xml index 90cb70f347..8906bf0aa7 100644 --- a/doc/classes/Vector3i.xml +++ b/doc/classes/Vector3i.xml @@ -125,6 +125,12 @@ <constant name="ONE" value="Vector3i(1, 1, 1)"> One vector, a vector with all components set to [code]1[/code]. </constant> + <constant name="MIN" value="Vector3i(-2147483648, -2147483648, -2147483648)"> + Min vector, a vector with all components equal to [code]INT32_MIN[/code]. Can be used as a negative integer equivalent of [constant Vector3.INF]. + </constant> + <constant name="MAX" value="Vector3i(2147483647, 2147483647, 2147483647)"> + Max vector, a vector with all components equal to [code]INT32_MAX[/code]. Can be used as an integer equivalent of [constant Vector3.INF]. + </constant> <constant name="LEFT" value="Vector3i(-1, 0, 0)"> Left unit vector. Represents the local direction of left, and the global direction of west. </constant> diff --git a/doc/classes/Vector4i.xml b/doc/classes/Vector4i.xml index f2eb353b5a..a612c135dd 100644 --- a/doc/classes/Vector4i.xml +++ b/doc/classes/Vector4i.xml @@ -129,6 +129,12 @@ <constant name="ONE" value="Vector4i(1, 1, 1, 1)"> One vector, a vector with all components set to [code]1[/code]. </constant> + <constant name="MIN" value="Vector4i(-2147483648, -2147483648, -2147483648, -2147483648)"> + Min vector, a vector with all components equal to [code]INT32_MIN[/code]. Can be used as a negative integer equivalent of [constant Vector4.INF]. + </constant> + <constant name="MAX" value="Vector4i(2147483647, 2147483647, 2147483647, 2147483647)"> + Max vector, a vector with all components equal to [code]INT32_MAX[/code]. Can be used as an integer equivalent of [constant Vector4.INF]. + </constant> </constants> <operators> <operator name="operator !="> |
