doc: Add missing commas after "If true/false"
This commit is contained in:
parent
d8067e905c
commit
6cdcde7114
|
@ -60,7 +60,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="dialog_hide_on_ok" type="bool" setter="set_hide_on_ok" getter="get_hide_on_ok">
|
<member name="dialog_hide_on_ok" type="bool" setter="set_hide_on_ok" getter="get_hide_on_ok">
|
||||||
If [code]true[/code] the dialog is hidden when the OK button is pressed. You can set it to [code]false[/code] if you want to do e.g. input validation when receiving the [signal confirmed] signal, and handle hiding the dialog in your own logic. Default value: [code]true[/code].
|
If [code]true[/code], the dialog is hidden when the OK button is pressed. You can set it to [code]false[/code] if you want to do e.g. input validation when receiving the [signal confirmed] signal, and handle hiding the dialog in your own logic. Default value: [code]true[/code].
|
||||||
Note: Some nodes derived from this class can have a different default value, and potentially their own built-in logic overriding this setting. For example [FileDialog] defaults to [code]false[/code], and has its own input validation code that is called when you press OK, which eventually hides the dialog if the input is valid. As such this property can't be used in [FileDialog] to disable hiding the dialog when pressing OK.
|
Note: Some nodes derived from this class can have a different default value, and potentially their own built-in logic overriding this setting. For example [FileDialog] defaults to [code]false[/code], and has its own input validation code that is called when you press OK, which eventually hides the dialog if the input is valid. As such this property can't be used in [FileDialog] to disable hiding the dialog when pressing OK.
|
||||||
</member>
|
</member>
|
||||||
<member name="dialog_text" type="String" setter="set_text" getter="get_text">
|
<member name="dialog_text" type="String" setter="set_text" getter="get_text">
|
||||||
|
|
|
@ -40,13 +40,13 @@
|
||||||
The current animation from the [code]frames[/code] resource. If this value changes, the [code]frame[/code] counter is reset.
|
The current animation from the [code]frames[/code] resource. If this value changes, the [code]frame[/code] counter is reset.
|
||||||
</member>
|
</member>
|
||||||
<member name="centered" type="bool" setter="set_centered" getter="is_centered">
|
<member name="centered" type="bool" setter="set_centered" getter="is_centered">
|
||||||
If [code]true[/code] texture will be centered. Default value: [code]true[/code].
|
If [code]true[/code], texture will be centered. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h">
|
<member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h">
|
||||||
If [code]true[/code] texture is flipped horizontally. Default value: [code]false[/code].
|
If [code]true[/code], texture is flipped horizontally. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v">
|
<member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v">
|
||||||
If [code]true[/code] texture is flipped vertically. Default value: [code]false[/code].
|
If [code]true[/code], texture is flipped vertically. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="frame" type="int" setter="set_frame" getter="get_frame">
|
<member name="frame" type="int" setter="set_frame" getter="get_frame">
|
||||||
The displayed animation frame's index.
|
The displayed animation frame's index.
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
The texture's drawing offset.
|
The texture's drawing offset.
|
||||||
</member>
|
</member>
|
||||||
<member name="playing" type="bool" setter="_set_playing" getter="_is_playing">
|
<member name="playing" type="bool" setter="_set_playing" getter="_is_playing">
|
||||||
If [code]true[/code] the [member animation] is currently playing.
|
If [code]true[/code], the [member animation] is currently playing.
|
||||||
</member>
|
</member>
|
||||||
<member name="speed_scale" type="float" setter="set_speed_scale" getter="get_speed_scale">
|
<member name="speed_scale" type="float" setter="set_speed_scale" getter="get_speed_scale">
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
The [SpriteFrames] resource containing the animation(s).
|
The [SpriteFrames] resource containing the animation(s).
|
||||||
</member>
|
</member>
|
||||||
<member name="playing" type="bool" setter="_set_playing" getter="_is_playing">
|
<member name="playing" type="bool" setter="_set_playing" getter="_is_playing">
|
||||||
If [code]true[/code] the [member animation] is currently playing.
|
If [code]true[/code], the [member animation] is currently playing.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -513,7 +513,7 @@
|
||||||
<argument index="1" name="interpolation" type="bool">
|
<argument index="1" name="interpolation" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the track at [code]idx[/code] wraps the interpolation loop.
|
If [code]true[/code], the track at [code]idx[/code] wraps the interpolation loop.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="track_set_interpolation_type">
|
<method name="track_set_interpolation_type">
|
||||||
|
|
|
@ -607,7 +607,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="active" type="bool" setter="set_active" getter="is_active">
|
<member name="active" type="bool" setter="set_active" getter="is_active">
|
||||||
If [code]true[/code] the [code]AnimationTreePlayer[/code] is able to play animations. Default value: [code]false[/code].
|
If [code]true[/code], the [code]AnimationTreePlayer[/code] is able to play animations. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="base_path" type="NodePath" setter="set_base_path" getter="get_base_path">
|
<member name="base_path" type="NodePath" setter="set_base_path" getter="get_base_path">
|
||||||
The node from which to relatively access other nodes. Default value: [code]".."[/code].
|
The node from which to relatively access other nodes. Default value: [code]".."[/code].
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<argument index="0" name="area" type="Node">
|
<argument index="0" name="area" type="Node">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the given area overlaps the Area. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead.
|
If [code]true[/code], the given area overlaps the Area. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="overlaps_body" qualifiers="const">
|
<method name="overlaps_body" qualifiers="const">
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
<argument index="0" name="body" type="Node">
|
<argument index="0" name="body" type="Node">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the given body overlaps the Area. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead.
|
If [code]true[/code], the given body overlaps the Area. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_collision_layer_bit">
|
<method name="set_collision_layer_bit">
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
The name of the area's audio bus.
|
The name of the area's audio bus.
|
||||||
</member>
|
</member>
|
||||||
<member name="audio_bus_override" type="bool" setter="set_audio_bus_override" getter="is_overriding_audio_bus">
|
<member name="audio_bus_override" type="bool" setter="set_audio_bus_override" getter="is_overriding_audio_bus">
|
||||||
If [code]true[/code] the area's audio bus overrides the default audio bus. Default value: [code]false[/code].
|
If [code]true[/code], the area's audio bus overrides the default audio bus. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="collision_layer" type="int" setter="set_collision_layer" getter="get_collision_layer">
|
<member name="collision_layer" type="int" setter="set_collision_layer" getter="get_collision_layer">
|
||||||
The area's physics layer(s). Collidable objects can exist in any of 32 different layers. A contact is detected if object A is in any of the layers that object B scans, or object B is in any layers that object A scans. See also [code]collision_mask[/code].
|
The area's physics layer(s). Collidable objects can exist in any of 32 different layers. A contact is detected if object A is in any of the layers that object B scans, or object B is in any layers that object A scans. See also [code]collision_mask[/code].
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
The falloff factor for point gravity. The greater the value, the faster gravity decreases with distance.
|
The falloff factor for point gravity. The greater the value, the faster gravity decreases with distance.
|
||||||
</member>
|
</member>
|
||||||
<member name="gravity_point" type="bool" setter="set_gravity_is_point" getter="is_gravity_a_point">
|
<member name="gravity_point" type="bool" setter="set_gravity_is_point" getter="is_gravity_a_point">
|
||||||
If [code]true[/code] gravity is calculated from a point (set via [code]gravity_vec[/code]). Also see [code]space_override[/code]. Default value: [code]false[/code].
|
If [code]true[/code], gravity is calculated from a point (set via [code]gravity_vec[/code]). Also see [code]space_override[/code]. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="gravity_vec" type="Vector3" setter="set_gravity_vector" getter="get_gravity_vector">
|
<member name="gravity_vec" type="Vector3" setter="set_gravity_vector" getter="get_gravity_vector">
|
||||||
The area's gravity vector (not normalized). If gravity is a point (see [method is_gravity_a_point]), this will be the point of attraction.
|
The area's gravity vector (not normalized). If gravity is a point (see [method is_gravity_a_point]), this will be the point of attraction.
|
||||||
|
@ -116,10 +116,10 @@
|
||||||
The rate at which objects stop moving in this area. Represents the linear velocity lost per second. Values range from [code]0[/code] (no damping) to [code]1[/code] (full damping).
|
The rate at which objects stop moving in this area. Represents the linear velocity lost per second. Values range from [code]0[/code] (no damping) to [code]1[/code] (full damping).
|
||||||
</member>
|
</member>
|
||||||
<member name="monitorable" type="bool" setter="set_monitorable" getter="is_monitorable">
|
<member name="monitorable" type="bool" setter="set_monitorable" getter="is_monitorable">
|
||||||
If [code]true[/code] other monitoring areas can detect this area. Default value: [code]true[/code].
|
If [code]true[/code], other monitoring areas can detect this area. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="monitoring" type="bool" setter="set_monitoring" getter="is_monitoring">
|
<member name="monitoring" type="bool" setter="set_monitoring" getter="is_monitoring">
|
||||||
If [code]true[/code] the area detects bodies or areas entering and exiting it. Default value: [code]true[/code].
|
If [code]true[/code], the area detects bodies or areas entering and exiting it. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="priority" type="float" setter="set_priority" getter="get_priority">
|
<member name="priority" type="float" setter="set_priority" getter="get_priority">
|
||||||
The area's priority. Higher priority areas are processed first. Default value: 0.
|
The area's priority. Higher priority areas are processed first. Default value: 0.
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
The degree to which this area applies reverb to its associated audio. Ranges from [code]0[/code] to [code]1[/code] with [code]0.1[/code] precision.
|
The degree to which this area applies reverb to its associated audio. Ranges from [code]0[/code] to [code]1[/code] with [code]0.1[/code] precision.
|
||||||
</member>
|
</member>
|
||||||
<member name="reverb_bus_enable" type="bool" setter="set_use_reverb_bus" getter="is_using_reverb_bus">
|
<member name="reverb_bus_enable" type="bool" setter="set_use_reverb_bus" getter="is_using_reverb_bus">
|
||||||
If [code]true[/code] the area applies reverb to its associated audio.
|
If [code]true[/code], the area applies reverb to its associated audio.
|
||||||
</member>
|
</member>
|
||||||
<member name="reverb_bus_name" type="String" setter="set_reverb_bus" getter="get_reverb_bus">
|
<member name="reverb_bus_name" type="String" setter="set_reverb_bus" getter="get_reverb_bus">
|
||||||
The reverb bus name to use for this area's associated audio.
|
The reverb bus name to use for this area's associated audio.
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
<argument index="0" name="area" type="Node">
|
<argument index="0" name="area" type="Node">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the given area overlaps the Area2D. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead.
|
If [code]true[/code], the given area overlaps the Area2D. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="overlaps_body" qualifiers="const">
|
<method name="overlaps_body" qualifiers="const">
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
<argument index="0" name="body" type="Node">
|
<argument index="0" name="body" type="Node">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the given body overlaps the Area2D. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead.
|
If [code]true[/code], the given body overlaps the Area2D. Note that the result of this test is not immediate after moving objects. For performance, list of overlaps is updated once per frame and before the physics step. Consider using signals instead.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_collision_layer_bit">
|
<method name="set_collision_layer_bit">
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
The name of the area's audio bus.
|
The name of the area's audio bus.
|
||||||
</member>
|
</member>
|
||||||
<member name="audio_bus_override" type="bool" setter="set_audio_bus_override" getter="is_overriding_audio_bus">
|
<member name="audio_bus_override" type="bool" setter="set_audio_bus_override" getter="is_overriding_audio_bus">
|
||||||
If [code]true[/code] the area's audio bus overrides the default audio bus. Default value: [code]false[/code].
|
If [code]true[/code], the area's audio bus overrides the default audio bus. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="collision_layer" type="int" setter="set_collision_layer" getter="get_collision_layer">
|
<member name="collision_layer" type="int" setter="set_collision_layer" getter="get_collision_layer">
|
||||||
The area's physics layer(s). Collidable objects can exist in any of 32 different layers. A contact is detected if object A is in any of the layers that object B scans, or object B is in any layers that object A scans. See also [code]collision_mask[/code].
|
The area's physics layer(s). Collidable objects can exist in any of 32 different layers. A contact is detected if object A is in any of the layers that object B scans, or object B is in any layers that object A scans. See also [code]collision_mask[/code].
|
||||||
|
@ -107,7 +107,7 @@
|
||||||
The falloff factor for point gravity. The greater the value, the faster gravity decreases with distance.
|
The falloff factor for point gravity. The greater the value, the faster gravity decreases with distance.
|
||||||
</member>
|
</member>
|
||||||
<member name="gravity_point" type="bool" setter="set_gravity_is_point" getter="is_gravity_a_point">
|
<member name="gravity_point" type="bool" setter="set_gravity_is_point" getter="is_gravity_a_point">
|
||||||
If [code]true[/code] gravity is calculated from a point (set via [code]gravity_vec[/code]). Also see [code]space_override[/code]. Default value: [code]false[/code].
|
If [code]true[/code], gravity is calculated from a point (set via [code]gravity_vec[/code]). Also see [code]space_override[/code]. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="gravity_vec" type="Vector2" setter="set_gravity_vector" getter="get_gravity_vector">
|
<member name="gravity_vec" type="Vector2" setter="set_gravity_vector" getter="get_gravity_vector">
|
||||||
The area's gravity vector (not normalized). If gravity is a point (see [method is_gravity_a_point]), this will be the point of attraction.
|
The area's gravity vector (not normalized). If gravity is a point (see [method is_gravity_a_point]), this will be the point of attraction.
|
||||||
|
@ -116,10 +116,10 @@
|
||||||
The rate at which objects stop moving in this area. Represents the linear velocity lost per second. Values range from [code]0[/code] (no damping) to [code]1[/code] (full damping).
|
The rate at which objects stop moving in this area. Represents the linear velocity lost per second. Values range from [code]0[/code] (no damping) to [code]1[/code] (full damping).
|
||||||
</member>
|
</member>
|
||||||
<member name="monitorable" type="bool" setter="set_monitorable" getter="is_monitorable">
|
<member name="monitorable" type="bool" setter="set_monitorable" getter="is_monitorable">
|
||||||
If [code]true[/code] other monitoring areas can detect this area. Default value: [code]true[/code].
|
If [code]true[/code], other monitoring areas can detect this area. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="monitoring" type="bool" setter="set_monitoring" getter="is_monitoring">
|
<member name="monitoring" type="bool" setter="set_monitoring" getter="is_monitoring">
|
||||||
If [code]true[/code] the area detects bodies or areas entering and exiting it. Default value: [code]true[/code].
|
If [code]true[/code], the area detects bodies or areas entering and exiting it. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="priority" type="float" setter="set_priority" getter="get_priority">
|
<member name="priority" type="float" setter="set_priority" getter="get_priority">
|
||||||
The area's priority. Higher priority areas are processed first. Default value: 0.
|
The area's priority. Higher priority areas are processed first. Default value: 0.
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
The texture that contains the atlas. Can be any [Texture] subtype.
|
The texture that contains the atlas. Can be any [Texture] subtype.
|
||||||
</member>
|
</member>
|
||||||
<member name="filter_clip" type="bool" setter="set_filter_clip" getter="has_filter_clip">
|
<member name="filter_clip" type="bool" setter="set_filter_clip" getter="has_filter_clip">
|
||||||
If [code]true[/code] clips the area outside of the region to avoid bleeding of the surrounding texture pixels.
|
If [code]true[/code], clips the area outside of the region to avoid bleeding of the surrounding texture pixels.
|
||||||
</member>
|
</member>
|
||||||
<member name="margin" type="Rect2" setter="set_margin" getter="get_margin">
|
<member name="margin" type="Rect2" setter="set_margin" getter="get_margin">
|
||||||
The margin around the region. The [Rect2]'s 'size' parameter ('w' and 'h' in the editor) resizes the texture so it fits within the margin.
|
The margin around the region. The [Rect2]'s 'size' parameter ('w' and 'h' in the editor) resizes the texture so it fits within the margin.
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
Output percent of original sound. At 0, only delayed sounds are output. Value can range from 0 to 1. Default value: [code]1[/code].
|
Output percent of original sound. At 0, only delayed sounds are output. Value can range from 0 to 1. Default value: [code]1[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="feedback/active" type="bool" setter="set_feedback_active" getter="is_feedback_active">
|
<member name="feedback/active" type="bool" setter="set_feedback_active" getter="is_feedback_active">
|
||||||
If [code]true[/code] feedback is enabled. Default value: [code]false[/code].
|
If [code]true[/code], feedback is enabled. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="feedback/delay_ms" type="float" setter="set_feedback_delay_ms" getter="get_feedback_delay_ms">
|
<member name="feedback/delay_ms" type="float" setter="set_feedback_delay_ms" getter="get_feedback_delay_ms">
|
||||||
Feedback delay time in milliseconds. Default value: [code]340[/code].
|
Feedback delay time in milliseconds. Default value: [code]340[/code].
|
||||||
|
|
|
@ -187,7 +187,7 @@
|
||||||
<argument index="0" name="bus_idx" type="int">
|
<argument index="0" name="bus_idx" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the bus at index [code]bus_idx[/code] is bypassing effects.
|
If [code]true[/code], the bus at index [code]bus_idx[/code] is bypassing effects.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_bus_effect_enabled" qualifiers="const">
|
<method name="is_bus_effect_enabled" qualifiers="const">
|
||||||
|
@ -198,7 +198,7 @@
|
||||||
<argument index="1" name="effect_idx" type="int">
|
<argument index="1" name="effect_idx" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the effect at index [code]effect_idx[/code] on the bus at index [code]bus_idx[/code] is enabled.
|
If [code]true[/code], the effect at index [code]effect_idx[/code] on the bus at index [code]bus_idx[/code] is enabled.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_bus_mute" qualifiers="const">
|
<method name="is_bus_mute" qualifiers="const">
|
||||||
|
@ -207,7 +207,7 @@
|
||||||
<argument index="0" name="bus_idx" type="int">
|
<argument index="0" name="bus_idx" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the bus at index [code]bus_idx[/code] is muted.
|
If [code]true[/code], the bus at index [code]bus_idx[/code] is muted.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_bus_solo" qualifiers="const">
|
<method name="is_bus_solo" qualifiers="const">
|
||||||
|
@ -216,7 +216,7 @@
|
||||||
<argument index="0" name="bus_idx" type="int">
|
<argument index="0" name="bus_idx" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the bus at index [code]bus_idx[/code] is in solo mode.
|
If [code]true[/code], the bus at index [code]bus_idx[/code] is in solo mode.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="lock">
|
<method name="lock">
|
||||||
|
@ -265,7 +265,7 @@
|
||||||
<argument index="1" name="enable" type="bool">
|
<argument index="1" name="enable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the bus at index [code]bus_idx[/code] is bypassing effects.
|
If [code]true[/code], the bus at index [code]bus_idx[/code] is bypassing effects.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_bus_count">
|
<method name="set_bus_count">
|
||||||
|
@ -287,7 +287,7 @@
|
||||||
<argument index="2" name="enabled" type="bool">
|
<argument index="2" name="enabled" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the effect at index [code]effect_idx[/code] on the bus at index [code]bus_idx[/code] is enabled.
|
If [code]true[/code], the effect at index [code]effect_idx[/code] on the bus at index [code]bus_idx[/code] is enabled.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_bus_layout">
|
<method name="set_bus_layout">
|
||||||
|
@ -307,7 +307,7 @@
|
||||||
<argument index="1" name="enable" type="bool">
|
<argument index="1" name="enable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the bus at index [code]bus_idx[/code] is muted.
|
If [code]true[/code], the bus at index [code]bus_idx[/code] is muted.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_bus_name">
|
<method name="set_bus_name">
|
||||||
|
@ -340,7 +340,7 @@
|
||||||
<argument index="1" name="enable" type="bool">
|
<argument index="1" name="enable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the bus at index [code]bus_idx[/code] is in solo mode.
|
If [code]true[/code], the bus at index [code]bus_idx[/code] is in solo mode.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_bus_volume_db">
|
<method name="set_bus_volume_db">
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="autoplay" type="bool" setter="set_autoplay" getter="is_autoplay_enabled">
|
<member name="autoplay" type="bool" setter="set_autoplay" getter="is_autoplay_enabled">
|
||||||
If [code]true[/code] audio plays when added to scene tree. Default value: [code]false[/code].
|
If [code]true[/code], audio plays when added to scene tree. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="bus" type="String" setter="set_bus" getter="get_bus">
|
<member name="bus" type="String" setter="set_bus" getter="get_bus">
|
||||||
Bus on which this audio is playing.
|
Bus on which this audio is playing.
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
Changes the pitch and the tempo of the audio.
|
Changes the pitch and the tempo of the audio.
|
||||||
</member>
|
</member>
|
||||||
<member name="playing" type="bool" setter="_set_playing" getter="is_playing">
|
<member name="playing" type="bool" setter="_set_playing" getter="is_playing">
|
||||||
If [code]true[/code] audio is playing.
|
If [code]true[/code], audio is playing.
|
||||||
</member>
|
</member>
|
||||||
<member name="stream" type="AudioStream" setter="set_stream" getter="get_stream">
|
<member name="stream" type="AudioStream" setter="set_stream" getter="get_stream">
|
||||||
The [AudioStream] object to be played.
|
The [AudioStream] object to be played.
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
Dampens audio over distance with this as an exponent.
|
Dampens audio over distance with this as an exponent.
|
||||||
</member>
|
</member>
|
||||||
<member name="autoplay" type="bool" setter="set_autoplay" getter="is_autoplay_enabled">
|
<member name="autoplay" type="bool" setter="set_autoplay" getter="is_autoplay_enabled">
|
||||||
If [code]true[/code] audio plays when added to scene tree. Default value: [code]false[/code].
|
If [code]true[/code], audio plays when added to scene tree. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="bus" type="String" setter="set_bus" getter="get_bus">
|
<member name="bus" type="String" setter="set_bus" getter="get_bus">
|
||||||
Bus on which this audio is playing.
|
Bus on which this audio is playing.
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
Changes the pitch and the tempo of the audio.
|
Changes the pitch and the tempo of the audio.
|
||||||
</member>
|
</member>
|
||||||
<member name="playing" type="bool" setter="_set_playing" getter="is_playing">
|
<member name="playing" type="bool" setter="_set_playing" getter="is_playing">
|
||||||
If [code]true[/code] audio is playing.
|
If [code]true[/code], audio is playing.
|
||||||
</member>
|
</member>
|
||||||
<member name="stream" type="AudioStream" setter="set_stream" getter="get_stream">
|
<member name="stream" type="AudioStream" setter="set_stream" getter="get_stream">
|
||||||
The [AudioStream] object to be played.
|
The [AudioStream] object to be played.
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
Decides if audio should get quieter with distance linearly, quadratically or logarithmically.
|
Decides if audio should get quieter with distance linearly, quadratically or logarithmically.
|
||||||
</member>
|
</member>
|
||||||
<member name="autoplay" type="bool" setter="set_autoplay" getter="is_autoplay_enabled">
|
<member name="autoplay" type="bool" setter="set_autoplay" getter="is_autoplay_enabled">
|
||||||
If [code]true[/code] audio plays when added to scene tree. Default value: [code]false[/code].
|
If [code]true[/code], audio plays when added to scene tree. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="bus" type="String" setter="set_bus" getter="get_bus">
|
<member name="bus" type="String" setter="set_bus" getter="get_bus">
|
||||||
Bus on which this audio is playing.
|
Bus on which this audio is playing.
|
||||||
|
@ -72,7 +72,7 @@
|
||||||
The angle in which the audio reaches cameras undampened.
|
The angle in which the audio reaches cameras undampened.
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_angle_enabled" type="bool" setter="set_emission_angle_enabled" getter="is_emission_angle_enabled">
|
<member name="emission_angle_enabled" type="bool" setter="set_emission_angle_enabled" getter="is_emission_angle_enabled">
|
||||||
If [code]true[/code] the audio should be dampened according to the direction of the sound.
|
If [code]true[/code], the audio should be dampened according to the direction of the sound.
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_angle_filter_attenuation_db" type="float" setter="set_emission_angle_filter_attenuation_db" getter="get_emission_angle_filter_attenuation_db">
|
<member name="emission_angle_filter_attenuation_db" type="float" setter="set_emission_angle_filter_attenuation_db" getter="get_emission_angle_filter_attenuation_db">
|
||||||
dampens audio if camera is outside of 'emission_angle_degrees' and 'emission_angle_enabled' is set by this factor, in dB.
|
dampens audio if camera is outside of 'emission_angle_degrees' and 'emission_angle_enabled' is set by this factor, in dB.
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
Size of affected area.
|
Size of affected area.
|
||||||
</member>
|
</member>
|
||||||
<member name="bake_hdr" type="bool" setter="set_hdr" getter="is_hdr">
|
<member name="bake_hdr" type="bool" setter="set_hdr" getter="is_hdr">
|
||||||
If [code]true[/code] lightmap can capture light values greater than [code]1.0[/code]. Turning this off will result in a smaller lightmap. Default value:[code]false[/code].
|
If [code]true[/code], lightmap can capture light values greater than [code]1.0[/code]. Turning this off will result in a smaller lightmap. Default value:[code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="bake_mode" type="int" setter="set_bake_mode" getter="get_bake_mode" enum="BakedLightmap.BakeMode">
|
<member name="bake_mode" type="int" setter="set_bake_mode" getter="get_bake_mode" enum="BakedLightmap.BakeMode">
|
||||||
Lightmapping mode. See [enum BakeMode].
|
Lightmapping mode. See [enum BakeMode].
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
To allow both left-click and right-click, set this to 3, because it's BUTTON_MASK_LEFT | BUTTON_MASK_RIGHT.
|
To allow both left-click and right-click, set this to 3, because it's BUTTON_MASK_LEFT | BUTTON_MASK_RIGHT.
|
||||||
</member>
|
</member>
|
||||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled">
|
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled">
|
||||||
If [code]true[/code] the button is in disabled state and can't be clicked or toggled.
|
If [code]true[/code], the button is in disabled state and can't be clicked or toggled.
|
||||||
</member>
|
</member>
|
||||||
<member name="enabled_focus_mode" type="int" setter="set_enabled_focus_mode" getter="get_enabled_focus_mode" enum="Control.FocusMode">
|
<member name="enabled_focus_mode" type="int" setter="set_enabled_focus_mode" getter="get_enabled_focus_mode" enum="Control.FocusMode">
|
||||||
Focus access mode to use when switching between enabled/disabled (see [method Control.set_focus_mode] and [member disabled]).
|
Focus access mode to use when switching between enabled/disabled (see [method Control.set_focus_mode] and [member disabled]).
|
||||||
|
@ -60,16 +60,16 @@
|
||||||
[ButtonGroup] associated to the button.
|
[ButtonGroup] associated to the button.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
||||||
If [code]true[/code] the button's state is pressed. Means the button is pressed down or toggled (if toggle_mode is active).
|
If [code]true[/code], the button's state is pressed. Means the button is pressed down or toggled (if toggle_mode is active).
|
||||||
</member>
|
</member>
|
||||||
<member name="shortcut" type="ShortCut" setter="set_shortcut" getter="get_shortcut">
|
<member name="shortcut" type="ShortCut" setter="set_shortcut" getter="get_shortcut">
|
||||||
[Shortcut] associated to the button.
|
[Shortcut] associated to the button.
|
||||||
</member>
|
</member>
|
||||||
<member name="shortcut_in_tooltip" type="bool" setter="set_shortcut_in_tooltip" getter="is_shortcut_in_tooltip_enabled">
|
<member name="shortcut_in_tooltip" type="bool" setter="set_shortcut_in_tooltip" getter="is_shortcut_in_tooltip_enabled">
|
||||||
If [code]true[/code] the button will add information about its shortcut in the tooltip.
|
If [code]true[/code], the button will add information about its shortcut in the tooltip.
|
||||||
</member>
|
</member>
|
||||||
<member name="toggle_mode" type="bool" setter="set_toggle_mode" getter="is_toggle_mode">
|
<member name="toggle_mode" type="bool" setter="set_toggle_mode" getter="is_toggle_mode">
|
||||||
If [code]true[/code] the button is in toggle mode. Makes the button flip state between pressed and unpressed each time its area is clicked.
|
If [code]true[/code], the button is in toggle mode. Makes the button flip state between pressed and unpressed each time its area is clicked.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -110,7 +110,7 @@
|
||||||
Ascent (number of pixels above the baseline).
|
Ascent (number of pixels above the baseline).
|
||||||
</member>
|
</member>
|
||||||
<member name="distance_field" type="bool" setter="set_distance_field_hint" getter="is_distance_field_hint">
|
<member name="distance_field" type="bool" setter="set_distance_field_hint" getter="is_distance_field_hint">
|
||||||
If [code]true[/code] distance field hint is enabled.
|
If [code]true[/code], distance field hint is enabled.
|
||||||
</member>
|
</member>
|
||||||
<member name="fallback" type="BitmapFont" setter="set_fallback" getter="get_fallback">
|
<member name="fallback" type="BitmapFont" setter="set_fallback" getter="get_fallback">
|
||||||
The fallback font.
|
The fallback font.
|
||||||
|
|
|
@ -138,7 +138,7 @@
|
||||||
The culling mask that describes which 3D render layers are rendered by this camera.
|
The culling mask that describes which 3D render layers are rendered by this camera.
|
||||||
</member>
|
</member>
|
||||||
<member name="current" type="bool" setter="set_current" getter="is_current">
|
<member name="current" type="bool" setter="set_current" getter="is_current">
|
||||||
If [code]true[/code] the ancestor [Viewport] is currently using this Camera. Default value: [code]false[/code].
|
If [code]true[/code], the ancestor [Viewport] is currently using this Camera. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="doppler_tracking" type="int" setter="set_doppler_tracking" getter="get_doppler_tracking" enum="Camera.DopplerTracking">
|
<member name="doppler_tracking" type="int" setter="set_doppler_tracking" getter="get_doppler_tracking" enum="Camera.DopplerTracking">
|
||||||
If not [code]DOPPLER_TRACKING_DISABLED[/code] this Camera will simulate the Doppler effect for objects changed in particular [code]_process[/code] methods. Default value: [code]DOPPLER_TRACKING_DISABLED[/code].
|
If not [code]DOPPLER_TRACKING_DISABLED[/code] this Camera will simulate the Doppler effect for objects changed in particular [code]_process[/code] methods. Default value: [code]DOPPLER_TRACKING_DISABLED[/code].
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
The Camera2D's anchor point. See [code]ANCHOR_MODE_*[/code] constants.
|
The Camera2D's anchor point. See [code]ANCHOR_MODE_*[/code] constants.
|
||||||
</member>
|
</member>
|
||||||
<member name="current" type="bool" setter="_set_current" getter="is_current">
|
<member name="current" type="bool" setter="_set_current" getter="is_current">
|
||||||
If [code]true[/code] the camera is the active camera for the current scene. Only one camera can be current, so setting a different camera [code]current[/code] will disable this one.
|
If [code]true[/code], the camera is the active camera for the current scene. Only one camera can be current, so setting a different camera [code]current[/code] will disable this one.
|
||||||
</member>
|
</member>
|
||||||
<member name="custom_viewport" type="Node" setter="set_custom_viewport" getter="get_custom_viewport">
|
<member name="custom_viewport" type="Node" setter="set_custom_viewport" getter="get_custom_viewport">
|
||||||
The custom [Viewport] node attached to the [code]Camera2D[/code]. If null or not a [Viewport], uses the default viewport instead.
|
The custom [Viewport] node attached to the [code]Camera2D[/code]. If null or not a [Viewport], uses the default viewport instead.
|
||||||
|
@ -77,7 +77,7 @@
|
||||||
Bottom margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen.
|
Bottom margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen.
|
||||||
</member>
|
</member>
|
||||||
<member name="drag_margin_h_enabled" type="bool" setter="set_h_drag_enabled" getter="is_h_drag_enabled">
|
<member name="drag_margin_h_enabled" type="bool" setter="set_h_drag_enabled" getter="is_h_drag_enabled">
|
||||||
If [code]true[/code] the camera only moves when reaching the horizontal drag margins. If [code]false[/code] the camera moves horizontally regardless of margins. Default value: [code]true[/code].
|
If [code]true[/code], the camera only moves when reaching the horizontal drag margins. If [code]false[/code], the camera moves horizontally regardless of margins. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="drag_margin_left" type="float" setter="set_drag_margin" getter="get_drag_margin">
|
<member name="drag_margin_left" type="float" setter="set_drag_margin" getter="get_drag_margin">
|
||||||
Left margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen.
|
Left margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen.
|
||||||
|
@ -89,16 +89,16 @@
|
||||||
Top margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen.
|
Top margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen.
|
||||||
</member>
|
</member>
|
||||||
<member name="drag_margin_v_enabled" type="bool" setter="set_v_drag_enabled" getter="is_v_drag_enabled">
|
<member name="drag_margin_v_enabled" type="bool" setter="set_v_drag_enabled" getter="is_v_drag_enabled">
|
||||||
If [code]true[/code] the camera only moves when reaching the vertical drag margins. If [code]false[/code] the camera moves vertically regardless of margins. Default value: [code]true[/code].
|
If [code]true[/code], the camera only moves when reaching the vertical drag margins. If [code]false[/code], the camera moves vertically regardless of margins. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="editor_draw_drag_margin" type="bool" setter="set_margin_drawing_enabled" getter="is_margin_drawing_enabled">
|
<member name="editor_draw_drag_margin" type="bool" setter="set_margin_drawing_enabled" getter="is_margin_drawing_enabled">
|
||||||
If [code]true[/code] draws the camera's drag margin rectangle in the editor. Default value: [code]false[/code]
|
If [code]true[/code], draws the camera's drag margin rectangle in the editor. Default value: [code]false[/code]
|
||||||
</member>
|
</member>
|
||||||
<member name="editor_draw_limits" type="bool" setter="set_limit_drawing_enabled" getter="is_limit_drawing_enabled">
|
<member name="editor_draw_limits" type="bool" setter="set_limit_drawing_enabled" getter="is_limit_drawing_enabled">
|
||||||
If [code]true[/code] draws the camera's limits rectangle in the editor. Default value: [code]true[/code]
|
If [code]true[/code], draws the camera's limits rectangle in the editor. Default value: [code]true[/code]
|
||||||
</member>
|
</member>
|
||||||
<member name="editor_draw_screen" type="bool" setter="set_screen_drawing_enabled" getter="is_screen_drawing_enabled">
|
<member name="editor_draw_screen" type="bool" setter="set_screen_drawing_enabled" getter="is_screen_drawing_enabled">
|
||||||
If [code]true[/code] draws the camera's screen rectangle in the editor. Default value: [code]false[/code]
|
If [code]true[/code], draws the camera's screen rectangle in the editor. Default value: [code]false[/code]
|
||||||
</member>
|
</member>
|
||||||
<member name="limit_bottom" type="int" setter="set_limit" getter="get_limit">
|
<member name="limit_bottom" type="int" setter="set_limit" getter="get_limit">
|
||||||
Bottom scroll limit in pixels. The camera stops moving when reaching this value.
|
Bottom scroll limit in pixels. The camera stops moving when reaching this value.
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
Right scroll limit in pixels. The camera stops moving when reaching this value.
|
Right scroll limit in pixels. The camera stops moving when reaching this value.
|
||||||
</member>
|
</member>
|
||||||
<member name="limit_smoothed" type="bool" setter="set_limit_smoothing_enabled" getter="is_limit_smoothing_enabled">
|
<member name="limit_smoothed" type="bool" setter="set_limit_smoothing_enabled" getter="is_limit_smoothing_enabled">
|
||||||
If [code]true[/code] the camera smoothly stops when reaches its limits. Default value: [code]false[/code]
|
If [code]true[/code], the camera smoothly stops when reaches its limits. Default value: [code]false[/code]
|
||||||
</member>
|
</member>
|
||||||
<member name="limit_top" type="int" setter="set_limit" getter="get_limit">
|
<member name="limit_top" type="int" setter="set_limit" getter="get_limit">
|
||||||
Top scroll limit in pixels. The camera stops moving when reaching this value.
|
Top scroll limit in pixels. The camera stops moving when reaching this value.
|
||||||
|
@ -125,10 +125,10 @@
|
||||||
The vertical offset of the camera, relative to the drag margins. Default value: [code]0[/code]
|
The vertical offset of the camera, relative to the drag margins. Default value: [code]0[/code]
|
||||||
</member>
|
</member>
|
||||||
<member name="rotating" type="bool" setter="set_rotating" getter="is_rotating">
|
<member name="rotating" type="bool" setter="set_rotating" getter="is_rotating">
|
||||||
If [code]true[/code] the camera rotates with the target. Default value: [code]false[/code]
|
If [code]true[/code], the camera rotates with the target. Default value: [code]false[/code]
|
||||||
</member>
|
</member>
|
||||||
<member name="smoothing_enabled" type="bool" setter="set_enable_follow_smoothing" getter="is_follow_smoothing_enabled">
|
<member name="smoothing_enabled" type="bool" setter="set_enable_follow_smoothing" getter="is_follow_smoothing_enabled">
|
||||||
If [code]true[/code] the camera smoothly moves towards the target at [member smoothing_speed]. Default value: [code]false[/code]
|
If [code]true[/code], the camera smoothly moves towards the target at [member smoothing_speed]. Default value: [code]false[/code]
|
||||||
</member>
|
</member>
|
||||||
<member name="smoothing_speed" type="float" setter="set_follow_smoothing" getter="get_follow_smoothing">
|
<member name="smoothing_speed" type="float" setter="set_follow_smoothing" getter="get_follow_smoothing">
|
||||||
Speed in pixels per second of the camera's smoothing effect when [member smoothing_enabled] is [code]true[/code]
|
Speed in pixels per second of the camera's smoothing effect when [member smoothing_enabled] is [code]true[/code]
|
||||||
|
|
|
@ -522,16 +522,16 @@
|
||||||
The color applied to textures on this [code]CanvasItem[/code]. This is not inherited by children [code]CanvasItem[/code]s. Default value: [code]Color(1, 1, 1, 1)[/code] (opaque "white")..
|
The color applied to textures on this [code]CanvasItem[/code]. This is not inherited by children [code]CanvasItem[/code]s. Default value: [code]Color(1, 1, 1, 1)[/code] (opaque "white")..
|
||||||
</member>
|
</member>
|
||||||
<member name="show_behind_parent" type="bool" setter="set_draw_behind_parent" getter="is_draw_behind_parent_enabled">
|
<member name="show_behind_parent" type="bool" setter="set_draw_behind_parent" getter="is_draw_behind_parent_enabled">
|
||||||
If [code]true[/code] the object draws behind its parent. Default value: [code]false[/code].
|
If [code]true[/code], the object draws behind its parent. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="show_on_top" type="bool" setter="_set_on_top" getter="_is_on_top">
|
<member name="show_on_top" type="bool" setter="_set_on_top" getter="_is_on_top">
|
||||||
If [code]true[/code] the object draws on top of its parent. Default value: [code]true[/code].
|
If [code]true[/code], the object draws on top of its parent. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="use_parent_material" type="bool" setter="set_use_parent_material" getter="get_use_parent_material">
|
<member name="use_parent_material" type="bool" setter="set_use_parent_material" getter="get_use_parent_material">
|
||||||
If [code]true[/code] the parent [code]CanvasItem[/code]'s [member material] property is used as this one's material. Default value: [code]false[/code].
|
If [code]true[/code], the parent [code]CanvasItem[/code]'s [member material] property is used as this one's material. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="visible" type="bool" setter="set_visible" getter="is_visible">
|
<member name="visible" type="bool" setter="set_visible" getter="is_visible">
|
||||||
If [code]true[/code] this [code]CanvasItem[/code] is drawn. Default value: [code]true[/code]. For controls that inherit [Popup], the correct way to make them visible is to call one of the multiple popup*() functions instead.
|
If [code]true[/code], this [code]CanvasItem[/code] is drawn. Default value: [code]true[/code]. For controls that inherit [Popup], the correct way to make them visible is to call one of the multiple popup*() functions instead.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="use_top_left" type="bool" setter="set_use_top_left" getter="is_using_top_left">
|
<member name="use_top_left" type="bool" setter="set_use_top_left" getter="is_using_top_left">
|
||||||
If [code]true[/code] centers children relative to the [code]CenterContainer[/code]'s top left corner. Default value: [code]false[/code].
|
If [code]true[/code], centers children relative to the [code]CenterContainer[/code]'s top left corner. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
<argument index="0" name="owner_id" type="int">
|
<argument index="0" name="owner_id" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the shape owner and its shapes are disabled.
|
If [code]true[/code], the shape owner and its shapes are disabled.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="remove_shape_owner">
|
<method name="remove_shape_owner">
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
<argument index="1" name="disabled" type="bool">
|
<argument index="1" name="disabled" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] disables the given shape owner.
|
If [code]true[/code], disables the given shape owner.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="shape_owner_set_transform">
|
<method name="shape_owner_set_transform">
|
||||||
|
@ -183,10 +183,10 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="input_capture_on_drag" type="bool" setter="set_capture_input_on_drag" getter="get_capture_input_on_drag">
|
<member name="input_capture_on_drag" type="bool" setter="set_capture_input_on_drag" getter="get_capture_input_on_drag">
|
||||||
If [code]true[/code] the [code]CollisionObject[/code] will continue to receive input events as the mouse is dragged across its shapes. Default value: [code]false[/code].
|
If [code]true[/code], the [code]CollisionObject[/code] will continue to receive input events as the mouse is dragged across its shapes. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="input_ray_pickable" type="bool" setter="set_ray_pickable" getter="is_ray_pickable">
|
<member name="input_ray_pickable" type="bool" setter="set_ray_pickable" getter="is_ray_pickable">
|
||||||
If [code]true[/code] the [CollisionObject]'s shapes will respond to [RayCast]s. Default value: [code]true[/code].
|
If [code]true[/code], the [CollisionObject]'s shapes will respond to [RayCast]s. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
<argument index="0" name="owner_id" type="int">
|
<argument index="0" name="owner_id" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the shape owner and its shapes are disabled.
|
If [code]true[/code], the shape owner and its shapes are disabled.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_shape_owner_one_way_collision_enabled" qualifiers="const">
|
<method name="is_shape_owner_one_way_collision_enabled" qualifiers="const">
|
||||||
|
@ -171,7 +171,7 @@
|
||||||
<argument index="1" name="disabled" type="bool">
|
<argument index="1" name="disabled" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] disables the given shape owner.
|
If [code]true[/code], disables the given shape owner.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="shape_owner_set_one_way_collision">
|
<method name="shape_owner_set_one_way_collision">
|
||||||
|
@ -199,7 +199,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="input_pickable" type="bool" setter="set_pickable" getter="is_pickable">
|
<member name="input_pickable" type="bool" setter="set_pickable" getter="is_pickable">
|
||||||
If [code]true[/code] this object is pickable. A pickable object can detect the mouse pointer entering/leaving, and if the mouse is inside it, report input events.
|
If [code]true[/code], this object is pickable. A pickable object can detect the mouse pointer entering/leaving, and if the mouse is inside it, report input events.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
Collision build mode. Use one of the [code]BUILD_*[/code] constants. Default value: [code]BUILD_SOLIDS[/code].
|
Collision build mode. Use one of the [code]BUILD_*[/code] constants. Default value: [code]BUILD_SOLIDS[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled">
|
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled">
|
||||||
If [code]true[/code] no collisions will be detected.
|
If [code]true[/code], no collisions will be detected.
|
||||||
</member>
|
</member>
|
||||||
<member name="one_way_collision" type="bool" setter="set_one_way_collision" getter="is_one_way_collision_enabled">
|
<member name="one_way_collision" type="bool" setter="set_one_way_collision" getter="is_one_way_collision_enabled">
|
||||||
If [code]true[/code] only edges that face up, relative to CollisionPolygon2D's rotation, will collide with other objects.
|
If [code]true[/code], only edges that face up, relative to CollisionPolygon2D's rotation, will collide with other objects.
|
||||||
</member>
|
</member>
|
||||||
<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon">
|
<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon">
|
||||||
The polygon's list of vertices. The final point will be connected to the first.
|
The polygon's list of vertices. The final point will be connected to the first.
|
||||||
|
|
|
@ -42,13 +42,13 @@
|
||||||
The currently selected color.
|
The currently selected color.
|
||||||
</member>
|
</member>
|
||||||
<member name="deferred_mode" type="bool" setter="set_deferred_mode" getter="is_deferred_mode">
|
<member name="deferred_mode" type="bool" setter="set_deferred_mode" getter="is_deferred_mode">
|
||||||
If [code]true[/code] the color will apply only after the user releases the mouse button, otherwise it will apply immediately even in mouse motion event (which can cause performance issues).
|
If [code]true[/code], the color will apply only after the user releases the mouse button, otherwise it will apply immediately even in mouse motion event (which can cause performance issues).
|
||||||
</member>
|
</member>
|
||||||
<member name="edit_alpha" type="bool" setter="set_edit_alpha" getter="is_editing_alpha">
|
<member name="edit_alpha" type="bool" setter="set_edit_alpha" getter="is_editing_alpha">
|
||||||
If [code]true[/code] shows an alpha channel slider (transparency).
|
If [code]true[/code], shows an alpha channel slider (transparency).
|
||||||
</member>
|
</member>
|
||||||
<member name="raw_mode" type="bool" setter="set_raw_mode" getter="is_raw_mode">
|
<member name="raw_mode" type="bool" setter="set_raw_mode" getter="is_raw_mode">
|
||||||
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).
|
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).
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
The currently selected color.
|
The currently selected color.
|
||||||
</member>
|
</member>
|
||||||
<member name="edit_alpha" type="bool" setter="set_edit_alpha" getter="is_editing_alpha">
|
<member name="edit_alpha" type="bool" setter="set_edit_alpha" getter="is_editing_alpha">
|
||||||
If [code]true[/code] the alpha channel in the displayed [ColorPicker] will be visible. Default value: [code]true[/code].
|
If [code]true[/code], the alpha channel in the displayed [ColorPicker] will be visible. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
Amount of extra bias for shadow splits that are far away. If self shadowing occurs only on the splits far away, this value can fix them.
|
Amount of extra bias for shadow splits that are far away. If self shadowing occurs only on the splits far away, this value can fix them.
|
||||||
</member>
|
</member>
|
||||||
<member name="directional_shadow_blend_splits" type="bool" setter="set_blend_splits" getter="is_blend_splits_enabled">
|
<member name="directional_shadow_blend_splits" type="bool" setter="set_blend_splits" getter="is_blend_splits_enabled">
|
||||||
If [code]true[/code] shadow detail is sacrificed in exchange for smoother transitions between splits. Default value:[code]false[/code].
|
If [code]true[/code], shadow detail is sacrificed in exchange for smoother transitions between splits. Default value:[code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="directional_shadow_depth_range" type="int" setter="set_shadow_depth_range" getter="get_shadow_depth_range" enum="DirectionalLight.ShadowDepthRange">
|
<member name="directional_shadow_depth_range" type="int" setter="set_shadow_depth_range" getter="get_shadow_depth_range" enum="DirectionalLight.ShadowDepthRange">
|
||||||
Optimizes shadow rendering for detail versus movement. See [enum ShadowDepthRange].
|
Optimizes shadow rendering for detail versus movement. See [enum ShadowDepthRange].
|
||||||
|
|
|
@ -81,10 +81,10 @@
|
||||||
The font size.
|
The font size.
|
||||||
</member>
|
</member>
|
||||||
<member name="use_filter" type="bool" setter="set_use_filter" getter="get_use_filter">
|
<member name="use_filter" type="bool" setter="set_use_filter" getter="get_use_filter">
|
||||||
If [code]true[/code] filtering is used.
|
If [code]true[/code], filtering is used.
|
||||||
</member>
|
</member>
|
||||||
<member name="use_mipmaps" type="bool" setter="set_use_mipmaps" getter="get_use_mipmaps">
|
<member name="use_mipmaps" type="bool" setter="set_use_mipmaps" getter="get_use_mipmaps">
|
||||||
If [code]true[/code] mipmapping is used.
|
If [code]true[/code], mipmapping is used.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
The file system path in the address bar.
|
The file system path in the address bar.
|
||||||
</member>
|
</member>
|
||||||
<member name="disable_overwrite_warning" type="bool" setter="set_disable_overwrite_warning" getter="is_overwrite_warning_disabled">
|
<member name="disable_overwrite_warning" type="bool" setter="set_disable_overwrite_warning" getter="is_overwrite_warning_disabled">
|
||||||
If [code]true[/code] the [code]EditorFileDialog[/code] will not warn the user before overwriting files.
|
If [code]true[/code], the [code]EditorFileDialog[/code] will not warn the user before overwriting files.
|
||||||
</member>
|
</member>
|
||||||
<member name="display_mode" type="int" setter="set_display_mode" getter="get_display_mode" enum="EditorFileDialog.DisplayMode">
|
<member name="display_mode" type="int" setter="set_display_mode" getter="get_display_mode" enum="EditorFileDialog.DisplayMode">
|
||||||
The view format in which the [code]EditorFileDialog[/code] displays resources to the user.
|
The view format in which the [code]EditorFileDialog[/code] displays resources to the user.
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
The purpose of the [code]EditorFileDialog[/code]. Changes allowed behaviors.
|
The purpose of the [code]EditorFileDialog[/code]. Changes allowed behaviors.
|
||||||
</member>
|
</member>
|
||||||
<member name="show_hidden_files" type="bool" setter="set_show_hidden_files" getter="is_showing_hidden_files">
|
<member name="show_hidden_files" type="bool" setter="set_show_hidden_files" getter="is_showing_hidden_files">
|
||||||
If [code]true[/code] hidden files and directories will be visible in the [code]EditorFileDialog[/code].
|
If [code]true[/code], hidden files and directories will be visible in the [code]EditorFileDialog[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -404,7 +404,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="endian_swap" type="bool" setter="set_endian_swap" getter="get_endian_swap">
|
<member name="endian_swap" type="bool" setter="set_endian_swap" getter="get_endian_swap">
|
||||||
If [code]true[/code] the file's endianness is swapped. Use this if you're dealing with files written in big endian machines.
|
If [code]true[/code], the file's endianness is swapped. Use this if you're dealing with files written in big endian machines.
|
||||||
Note that this is about the file format, not CPU type. This is always reset to [code]false[/code] whenever you open the file.
|
Note that this is about the file format, not CPU type. This is always reset to [code]false[/code] whenever you open the file.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
The lower, the longer an impulse from one side takes to travel to the other side.
|
The lower, the longer an impulse from one side takes to travel to the other side.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_limit_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x">
|
<member name="angular_limit_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x">
|
||||||
If [code]true[/code] rotation across the x-axis is limited.
|
If [code]true[/code], rotation across the x-axis is limited.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_limit_x/erp" type="float" setter="set_param_x" getter="get_param_x">
|
<member name="angular_limit_x/erp" type="float" setter="set_param_x" getter="get_param_x">
|
||||||
When rotating across x-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
|
When rotating across x-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
The amount of rotational damping across the y-axis. The lower, the more dampening occurs.
|
The amount of rotational damping across the y-axis. The lower, the more dampening occurs.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_limit_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y">
|
<member name="angular_limit_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y">
|
||||||
If [code]true[/code] rotation across the y-axis is limited.
|
If [code]true[/code], rotation across the y-axis is limited.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_limit_y/erp" type="float" setter="set_param_y" getter="get_param_y">
|
<member name="angular_limit_y/erp" type="float" setter="set_param_y" getter="get_param_y">
|
||||||
When rotating across y-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
|
When rotating across y-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
The amount of rotational damping across the z-axis. The lower, the more dampening occurs.
|
The amount of rotational damping across the z-axis. The lower, the more dampening occurs.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_limit_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z">
|
<member name="angular_limit_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z">
|
||||||
If [code]true[/code] rotation across the z-axis is limited.
|
If [code]true[/code], rotation across the z-axis is limited.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_limit_z/erp" type="float" setter="set_param_z" getter="get_param_z">
|
<member name="angular_limit_z/erp" type="float" setter="set_param_z" getter="get_param_z">
|
||||||
When rotating across z-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
|
When rotating across z-axis, this error tolerance factor defines how much the correction gets slowed down. The lower, the slower.
|
||||||
|
@ -87,7 +87,7 @@
|
||||||
The minimum rotation in positive direction to break loose and rotate around the z-axis.
|
The minimum rotation in positive direction to break loose and rotate around the z-axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_motor_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x">
|
<member name="angular_motor_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x">
|
||||||
If [code]true[/code] a rotating motor at the x-axis is enabled.
|
If [code]true[/code], a rotating motor at the x-axis is enabled.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_motor_x/force_limit" type="float" setter="set_param_x" getter="get_param_x">
|
<member name="angular_motor_x/force_limit" type="float" setter="set_param_x" getter="get_param_x">
|
||||||
Maximum acceleration for the motor at the x-axis.
|
Maximum acceleration for the motor at the x-axis.
|
||||||
|
@ -96,7 +96,7 @@
|
||||||
Target speed for the motor at the x-axis.
|
Target speed for the motor at the x-axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_motor_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y">
|
<member name="angular_motor_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y">
|
||||||
If [code]true[/code] a rotating motor at the y-axis is enabled.
|
If [code]true[/code], a rotating motor at the y-axis is enabled.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_motor_y/force_limit" type="float" setter="set_param_y" getter="get_param_y">
|
<member name="angular_motor_y/force_limit" type="float" setter="set_param_y" getter="get_param_y">
|
||||||
Maximum acceleration for the motor at the y-axis.
|
Maximum acceleration for the motor at the y-axis.
|
||||||
|
@ -105,7 +105,7 @@
|
||||||
Target speed for the motor at the y-axis.
|
Target speed for the motor at the y-axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_motor_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z">
|
<member name="angular_motor_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z">
|
||||||
If [code]true[/code] a rotating motor at the z-axis is enabled.
|
If [code]true[/code], a rotating motor at the z-axis is enabled.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_motor_z/force_limit" type="float" setter="set_param_z" getter="get_param_z">
|
<member name="angular_motor_z/force_limit" type="float" setter="set_param_z" getter="get_param_z">
|
||||||
Maximum acceleration for the motor at the z-axis.
|
Maximum acceleration for the motor at the z-axis.
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
The amount of damping that happens at the x-motion.
|
The amount of damping that happens at the x-motion.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_limit_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x">
|
<member name="linear_limit_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x">
|
||||||
If [code]true[/code] the linear motion across the x-axis is limited.
|
If [code]true[/code], the linear motion across the x-axis is limited.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_limit_x/lower_distance" type="float" setter="set_param_x" getter="get_param_x">
|
<member name="linear_limit_x/lower_distance" type="float" setter="set_param_x" getter="get_param_x">
|
||||||
The minimum difference between the pivot points' x-axis.
|
The minimum difference between the pivot points' x-axis.
|
||||||
|
@ -159,7 +159,7 @@
|
||||||
The amount of damping that happens at the y-motion.
|
The amount of damping that happens at the y-motion.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_limit_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y">
|
<member name="linear_limit_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y">
|
||||||
If [code]true[/code] the linear motion across the y-axis is limited.
|
If [code]true[/code], the linear motion across the y-axis is limited.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_limit_y/lower_distance" type="float" setter="set_param_y" getter="get_param_y">
|
<member name="linear_limit_y/lower_distance" type="float" setter="set_param_y" getter="get_param_y">
|
||||||
The minimum difference between the pivot points' y-axis.
|
The minimum difference between the pivot points' y-axis.
|
||||||
|
@ -177,7 +177,7 @@
|
||||||
The amount of damping that happens at the z-motion.
|
The amount of damping that happens at the z-motion.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_limit_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z">
|
<member name="linear_limit_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z">
|
||||||
If [code]true[/code] the linear motion across the z-axis is limited.
|
If [code]true[/code], the linear motion across the z-axis is limited.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_limit_z/lower_distance" type="float" setter="set_param_z" getter="get_param_z">
|
<member name="linear_limit_z/lower_distance" type="float" setter="set_param_z" getter="get_param_z">
|
||||||
The minimum difference between the pivot points' z-axis.
|
The minimum difference between the pivot points' z-axis.
|
||||||
|
@ -192,7 +192,7 @@
|
||||||
The maximum difference between the pivot points' z-axis.
|
The maximum difference between the pivot points' z-axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_motor_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x">
|
<member name="linear_motor_x/enabled" type="bool" setter="set_flag_x" getter="get_flag_x">
|
||||||
If [code]true[/code] then there is a linear motor on the x-axis. It will attempt to reach the target velocity while staying within the force limits.
|
If [code]true[/code], then there is a linear motor on the x-axis. It will attempt to reach the target velocity while staying within the force limits.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_motor_x/force_limit" type="float" setter="set_param_x" getter="get_param_x">
|
<member name="linear_motor_x/force_limit" type="float" setter="set_param_x" getter="get_param_x">
|
||||||
The maximum force the linear motor can apply on the x-axis while trying to reach the target velocity.
|
The maximum force the linear motor can apply on the x-axis while trying to reach the target velocity.
|
||||||
|
@ -201,7 +201,7 @@
|
||||||
The speed that the linear motor will attempt to reach on the x-axis.
|
The speed that the linear motor will attempt to reach on the x-axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_motor_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y">
|
<member name="linear_motor_y/enabled" type="bool" setter="set_flag_y" getter="get_flag_y">
|
||||||
If [code]true[/code] then there is a linear motor on the y-axis. It will attempt to reach the target velocity while staying within the force limits.
|
If [code]true[/code], then there is a linear motor on the y-axis. It will attempt to reach the target velocity while staying within the force limits.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_motor_y/force_limit" type="float" setter="set_param_y" getter="get_param_y">
|
<member name="linear_motor_y/force_limit" type="float" setter="set_param_y" getter="get_param_y">
|
||||||
The maximum force the linear motor can apply on the y-axis while trying to reach the target velocity.
|
The maximum force the linear motor can apply on the y-axis while trying to reach the target velocity.
|
||||||
|
@ -210,7 +210,7 @@
|
||||||
The speed that the linear motor will attempt to reach on the y-axis.
|
The speed that the linear motor will attempt to reach on the y-axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_motor_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z">
|
<member name="linear_motor_z/enabled" type="bool" setter="set_flag_z" getter="get_flag_z">
|
||||||
If [code]true[/code] then there is a linear motor on the z-axis. It will attempt to reach the target velocity while staying within the force limits.
|
If [code]true[/code], then there is a linear motor on the z-axis. It will attempt to reach the target velocity while staying within the force limits.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_motor_z/force_limit" type="float" setter="set_param_z" getter="get_param_z">
|
<member name="linear_motor_z/force_limit" type="float" setter="set_param_z" getter="get_param_z">
|
||||||
The maximum force the linear motor can apply on the z-axis while trying to reach the target velocity.
|
The maximum force the linear motor can apply on the z-axis while trying to reach the target velocity.
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
If there is a material in material_override, it will be used instead of any material set in any material slot of the mesh.
|
If there is a material in material_override, it will be used instead of any material set in any material slot of the mesh.
|
||||||
</member>
|
</member>
|
||||||
<member name="use_in_baked_light" type="bool" setter="set_flag" getter="get_flag">
|
<member name="use_in_baked_light" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] this GeometryInstance will be used when baking lights using a [GIProbe] and/or any other form of baked lighting.
|
If [code]true[/code], this GeometryInstance will be used when baking lights using a [GIProbe] and/or any other form of baked lighting.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -82,14 +82,14 @@
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] this [code]HTTPClient[/code] has a response available.
|
If [code]true[/code], this [code]HTTPClient[/code] has a response available.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="is_response_chunked" qualifiers="const">
|
<method name="is_response_chunked" qualifiers="const">
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] this [code]HTTPClient[/code] has a response that is chunked.
|
If [code]true[/code], this [code]HTTPClient[/code] has a response that is chunked.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="poll">
|
<method name="poll">
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
Maximum number of allowed redirects.
|
Maximum number of allowed redirects.
|
||||||
</member>
|
</member>
|
||||||
<member name="use_threads" type="bool" setter="set_use_threads" getter="is_using_threads">
|
<member name="use_threads" type="bool" setter="set_use_threads" getter="is_using_threads">
|
||||||
If [code]true[/code] multithreading is used to improve performance.
|
If [code]true[/code], multithreading is used to improve performance.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
The speed with which the rotation across the axis perpendicular to the hinge gets corrected.
|
The speed with which the rotation across the axis perpendicular to the hinge gets corrected.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_limit/enable" type="bool" setter="set_flag" getter="get_flag">
|
<member name="angular_limit/enable" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] the hinges maximum and minimum rotation, defined by [member angular_limit/lower] and [member angular_limit/upper] has effects.
|
If [code]true[/code], the hinges maximum and minimum rotation, defined by [member angular_limit/lower] and [member angular_limit/upper] has effects.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_limit/lower" type="float" setter="_set_lower_limit" getter="_get_lower_limit">
|
<member name="angular_limit/lower" type="float" setter="_set_lower_limit" getter="_get_lower_limit">
|
||||||
The minimum rotation. only active if [member angular_limit/enable] is [code]true[/code].
|
The minimum rotation. only active if [member angular_limit/enable] is [code]true[/code].
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
End flag of PARAM_* constants, used internally.
|
End flag of PARAM_* constants, used internally.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="FLAG_USE_LIMIT" value="0" enum="Flag">
|
<constant name="FLAG_USE_LIMIT" value="0" enum="Flag">
|
||||||
If [code]true[/code] the hinges maximum and minimum rotation, defined by [member angular_limit/lower] and [member angular_limit/upper] has effects.
|
If [code]true[/code], the hinges maximum and minimum rotation, defined by [member angular_limit/lower] and [member angular_limit/upper] has effects.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="FLAG_ENABLE_MOTOR" value="1" enum="Flag">
|
<constant name="FLAG_ENABLE_MOTOR" value="1" enum="Flag">
|
||||||
When activated, a motor turns the hinge.
|
When activated, a motor turns the hinge.
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
The action's name. Actions are accessed via this [String].
|
The action's name. Actions are accessed via this [String].
|
||||||
</member>
|
</member>
|
||||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
||||||
If [code]true[/code] the action's state is pressed. If [code]false[/code] the action's state is released.
|
If [code]true[/code], the action's state is pressed. If [code]false[/code], the action's state is released.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
Button identifier. One of the [code]JOY_BUTTON_*[/code] constants from [@GlobalScope].
|
Button identifier. One of the [code]JOY_BUTTON_*[/code] constants from [@GlobalScope].
|
||||||
</member>
|
</member>
|
||||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
||||||
If [code]true[/code] the button's state is pressed. If [code]false[/code] the button's state is released.
|
If [code]true[/code], the button's state is pressed. If [code]false[/code], the button's state is released.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressure" type="float" setter="set_pressure" getter="get_pressure">
|
<member name="pressure" type="float" setter="set_pressure" getter="get_pressure">
|
||||||
Represents the pressure the user puts on the button with his finger, if the controller supports it. Ranges from [code]0[/code] to [code]1[/code].
|
Represents the pressure the user puts on the button with his finger, if the controller supports it. Ranges from [code]0[/code] to [code]1[/code].
|
||||||
|
|
|
@ -22,10 +22,10 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="echo" type="bool" setter="set_echo" getter="is_echo">
|
<member name="echo" type="bool" setter="set_echo" getter="is_echo">
|
||||||
If [code]true[/code] the key was already pressed before this event. It means the user is holding the key down.
|
If [code]true[/code], the key was already pressed before this event. It means the user is holding the key down.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
||||||
If [code]true[/code] the key's state is pressed. If [code]false[/code] the key's state is released.
|
If [code]true[/code], the key's state is pressed. If [code]false[/code], the key's state is released.
|
||||||
</member>
|
</member>
|
||||||
<member name="scancode" type="int" setter="set_scancode" getter="get_scancode">
|
<member name="scancode" type="int" setter="set_scancode" getter="get_scancode">
|
||||||
Key scancode, one of the [code]KEY_*[/code] constants in [@GlobalScope].
|
Key scancode, one of the [code]KEY_*[/code] constants in [@GlobalScope].
|
||||||
|
|
|
@ -18,13 +18,13 @@
|
||||||
Mouse button identifier, one of the BUTTON_* or BUTTON_WHEEL_* constants in [@GlobalScope].
|
Mouse button identifier, one of the BUTTON_* or BUTTON_WHEEL_* constants in [@GlobalScope].
|
||||||
</member>
|
</member>
|
||||||
<member name="doubleclick" type="bool" setter="set_doubleclick" getter="is_doubleclick">
|
<member name="doubleclick" type="bool" setter="set_doubleclick" getter="is_doubleclick">
|
||||||
If [code]true[/code] the mouse button's state is a double-click.
|
If [code]true[/code], the mouse button's state is a double-click.
|
||||||
</member>
|
</member>
|
||||||
<member name="factor" type="float" setter="set_factor" getter="get_factor">
|
<member name="factor" type="float" setter="set_factor" getter="get_factor">
|
||||||
Magnitude. Amount (or delta) of the event. Used for scroll events, indicates scroll amount (vertically or horizontally). Only supported on some platforms, sensitivity varies by platform. May be 0 if not supported.
|
Magnitude. Amount (or delta) of the event. Used for scroll events, indicates scroll amount (vertically or horizontally). Only supported on some platforms, sensitivity varies by platform. May be 0 if not supported.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
||||||
If [code]true[/code] the mouse button's state is pressed. If [code]false[/code] the mouse button's state is released.
|
If [code]true[/code], the mouse button's state is pressed. If [code]false[/code], the mouse button's state is released.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
Touch position.
|
Touch position.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
||||||
If [code]true[/code] the touch's state is pressed. If [code]false[/code] the touch's state is released.
|
If [code]true[/code], the touch's state is pressed. If [code]false[/code], the touch's state is released.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="enabled" type="bool" setter="set_interpolation_enabled" getter="is_interpolation_enabled">
|
<member name="enabled" type="bool" setter="set_interpolation_enabled" getter="is_interpolation_enabled">
|
||||||
If [code]true[/code] and a target is set, the camera will move automatically.
|
If [code]true[/code], and a target is set, the camera will move automatically.
|
||||||
</member>
|
</member>
|
||||||
<member name="speed" type="float" setter="set_speed" getter="get_speed">
|
<member name="speed" type="float" setter="set_speed" getter="get_speed">
|
||||||
How quickly the camera moves toward its target. Higher values will result in tighter camera motion.
|
How quickly the camera moves toward its target. Higher values will result in tighter camera motion.
|
||||||
|
|
|
@ -388,10 +388,10 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="allow_reselect" type="bool" setter="set_allow_reselect" getter="get_allow_reselect">
|
<member name="allow_reselect" type="bool" setter="set_allow_reselect" getter="get_allow_reselect">
|
||||||
If [code]true[/code] the currently selected item may be selected again.
|
If [code]true[/code], the currently selected item may be selected again.
|
||||||
</member>
|
</member>
|
||||||
<member name="allow_rmb_select" type="bool" setter="set_allow_rmb_select" getter="get_allow_rmb_select">
|
<member name="allow_rmb_select" type="bool" setter="set_allow_rmb_select" getter="get_allow_rmb_select">
|
||||||
If [code]true[/code] a right mouse button click can select items.
|
If [code]true[/code], a right mouse button click can select items.
|
||||||
</member>
|
</member>
|
||||||
<member name="auto_height" type="bool" setter="set_auto_height" getter="has_auto_height">
|
<member name="auto_height" type="bool" setter="set_auto_height" getter="has_auto_height">
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="collision/exclude_nodes" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision">
|
<member name="collision/exclude_nodes" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision">
|
||||||
If [code]true[/code] the two bodies of the nodes are not able to collide with each other.
|
If [code]true[/code], the two bodies of the nodes are not able to collide with each other.
|
||||||
</member>
|
</member>
|
||||||
<member name="nodes/node_a" type="NodePath" setter="set_node_a" getter="get_node_a">
|
<member name="nodes/node_a" type="NodePath" setter="set_node_a" getter="get_node_a">
|
||||||
The [Node], the first side of the Joint attaches to.
|
The [Node], the first side of the Joint attaches to.
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
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. Default value: [code]0[/code]
|
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. Default value: [code]0[/code]
|
||||||
</member>
|
</member>
|
||||||
<member name="disable_collision" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision">
|
<member name="disable_collision" type="bool" setter="set_exclude_nodes_from_collision" getter="get_exclude_nodes_from_collision">
|
||||||
If [code]true[/code] [member node_a] and [member node_b] can collide. Default value: [code]false[/code].
|
If [code]true[/code], [member node_a] and [member node_b] can collide. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="node_a" type="NodePath" setter="set_node_a" getter="get_node_a">
|
<member name="node_a" type="NodePath" setter="set_node_a" getter="get_node_a">
|
||||||
The first body attached to the joint. Must derive from [PhysicsBody2D].
|
The first body attached to the joint. Must derive from [PhysicsBody2D].
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Moves the body along a vector. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a [code]KinematicBody[/code] or [RigidBody], it will also be affected by the motion of the other body. You can use this to make moving or rotating platforms, or to make nodes push other nodes.
|
Moves the body along a vector. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a [code]KinematicBody[/code] or [RigidBody], it will also be affected by the motion of the other body. You can use this to make moving or rotating platforms, or to make nodes push other nodes.
|
||||||
[code]linear_velocity[/code] is a value in pixels per second. Unlike in for example [method move_and_collide], you should [i]not[/i] multiply it with [code]delta[/code] — this is done by the method.
|
[code]linear_velocity[/code] is a value in pixels per second. Unlike in for example [method move_and_collide], you should [i]not[/i] multiply it by [code]delta[/code] — this is done by the method.
|
||||||
[code]floor_normal[/code] is the up direction, used to determine what is a wall and what is a floor or a ceiling. If set to the default value of [code]Vector3(0, 0, 0)[/code], everything is considered a wall. This is useful for topdown games.
|
[code]floor_normal[/code] is the up direction, used to determine what is a wall and what is a floor or a ceiling. If set to the default value of [code]Vector3(0, 0, 0)[/code], everything is considered a wall. This is useful for topdown games.
|
||||||
[i]TODO: Update for new stop_on_slode argument.[/i] If the body is standing on a slope and the horizontal speed (relative to the floor's speed) goes below [code]slope_stop_min_velocity[/code], the body will stop completely. This prevents the body from sliding down slopes when you include gravity in [code]linear_velocity[/code]. When set to lower values, the body will not be able to stand still on steep slopes.
|
[i]TODO: Update for new stop_on_slode argument.[/i] If the body is standing on a slope and the horizontal speed (relative to the floor's speed) goes below [code]slope_stop_min_velocity[/code], the body will stop completely. This prevents the body from sliding down slopes when you include gravity in [code]linear_velocity[/code]. When set to lower values, the body will not be able to stand still on steep slopes.
|
||||||
If the body collides, it will change direction a maximum of [code]max_slides[/code] times before it stops.
|
If the body collides, it will change direction a maximum of [code]max_slides[/code] times before it stops.
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Moves the body along a vector. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a [code]KinematicBody2D[/code] or [RigidBody2D], it will also be affected by the motion of the other body. You can use this to make moving or rotating platforms, or to make nodes push other nodes.
|
Moves the body along a vector. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a [code]KinematicBody2D[/code] or [RigidBody2D], it will also be affected by the motion of the other body. You can use this to make moving or rotating platforms, or to make nodes push other nodes.
|
||||||
[code]linear_velocity[/code] is a value in pixels per second. Unlike in for example [method move_and_collide], you should [i]not[/i] multiply it with [code]delta[/code] — this is done by the method.
|
[code]linear_velocity[/code] is a value in pixels per second. Unlike in for example [method move_and_collide], you should [i]not[/i] multiply it by [code]delta[/code] — this is done by the method.
|
||||||
[code]floor_normal[/code] is the up direction, used to determine what is a wall and what is a floor or a ceiling. If set to the default value of [code]Vector2(0, 0)[/code], everything is considered a wall. This is useful for topdown games.
|
[code]floor_normal[/code] is the up direction, used to determine what is a wall and what is a floor or a ceiling. If set to the default value of [code]Vector2(0, 0)[/code], everything is considered a wall. This is useful for topdown games.
|
||||||
[i]TODO: Update for stop_on_slope argument.[/i] If the body is standing on a slope and the horizontal speed (relative to the floor's speed) goes below [code]slope_stop_min_velocity[/code], the body will stop completely. This prevents the body from sliding down slopes when you include gravity in [code]linear_velocity[/code]. When set to lower values, the body will not be able to stand still on steep slopes.
|
[i]TODO: Update for stop_on_slope argument.[/i] If the body is standing on a slope and the horizontal speed (relative to the floor's speed) goes below [code]slope_stop_min_velocity[/code], the body will stop completely. This prevents the body from sliding down slopes when you include gravity in [code]linear_velocity[/code]. When set to lower values, the body will not be able to stand still on steep slopes.
|
||||||
If the body collides, it will change direction a maximum of [code]max_slides[/code] times before it stops.
|
If the body collides, it will change direction a maximum of [code]max_slides[/code] times before it stops.
|
||||||
|
@ -138,7 +138,7 @@
|
||||||
If the body is at least this close to another body, this body will consider them to be colliding.
|
If the body is at least this close to another body, this body will consider them to be colliding.
|
||||||
</member>
|
</member>
|
||||||
<member name="motion/sync_to_physics" type="bool" setter="set_sync_to_physics" getter="is_sync_to_physics_enabled">
|
<member name="motion/sync_to_physics" type="bool" setter="set_sync_to_physics" getter="is_sync_to_physics_enabled">
|
||||||
If [code]true[/code] the body's movement will be synchronized to the physics frame. This is useful when animating movement via [AnimationPlayer], for example on moving platforms.
|
If [code]true[/code], the body's movement will be synchronized to the physics frame. This is useful when animating movement via [AnimationPlayer], for example on moving platforms.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="editor_only" type="bool" setter="set_editor_only" getter="is_editor_only">
|
<member name="editor_only" type="bool" setter="set_editor_only" getter="is_editor_only">
|
||||||
If [code]true[/code] the light only appears in the editor and will not be visible at runtime. Default value:[code]false[/code].
|
If [code]true[/code], the light only appears in the editor and will not be visible at runtime. Default value:[code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="light_bake_mode" type="int" setter="set_bake_mode" getter="get_bake_mode" enum="Light.BakeMode">
|
<member name="light_bake_mode" type="int" setter="set_bake_mode" getter="get_bake_mode" enum="Light.BakeMode">
|
||||||
The light's bake mode. See [enum BakeMode].
|
The light's bake mode. See [enum BakeMode].
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
Secondary multiplier used with indirect light (light bounces). This works in baked light or GIProbe.
|
Secondary multiplier used with indirect light (light bounces). This works in baked light or GIProbe.
|
||||||
</member>
|
</member>
|
||||||
<member name="light_negative" type="bool" setter="set_negative" getter="is_negative">
|
<member name="light_negative" type="bool" setter="set_negative" getter="is_negative">
|
||||||
If [code]true[/code] the light's effect is reversed, darkening areas and casting bright shadows. Default value: [code]false[/code].
|
If [code]true[/code], the light's effect is reversed, darkening areas and casting bright shadows. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="light_specular" type="float" setter="set_param" getter="get_param">
|
<member name="light_specular" type="float" setter="set_param" getter="get_param">
|
||||||
The intensity of the specular blob in objects affected by the light. At [code]0[/code] the light becomes a pure diffuse light.
|
The intensity of the specular blob in objects affected by the light. At [code]0[/code] the light becomes a pure diffuse light.
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
Attempts to reduce [member shadow_bias] gap.
|
Attempts to reduce [member shadow_bias] gap.
|
||||||
</member>
|
</member>
|
||||||
<member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow">
|
<member name="shadow_enabled" type="bool" setter="set_shadow" getter="has_shadow">
|
||||||
If [code]true[/code] the light will cast shadows. Default value: [code]false[/code].
|
If [code]true[/code], the light will cast shadows. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="shadow_reverse_cull_face" type="bool" setter="set_shadow_reverse_cull_face" getter="get_shadow_reverse_cull_face">
|
<member name="shadow_reverse_cull_face" type="bool" setter="set_shadow_reverse_cull_face" getter="get_shadow_reverse_cull_face">
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
The Light2D's [Color].
|
The Light2D's [Color].
|
||||||
</member>
|
</member>
|
||||||
<member name="editor_only" type="bool" setter="set_editor_only" getter="is_editor_only">
|
<member name="editor_only" type="bool" setter="set_editor_only" getter="is_editor_only">
|
||||||
If [code]true[/code] Light2D will only appear when editing the scene. Default value: [code]false[/code].
|
If [code]true[/code], Light2D will only appear when editing the scene. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="enabled" type="bool" setter="set_enabled" getter="is_enabled">
|
<member name="enabled" type="bool" setter="set_enabled" getter="is_enabled">
|
||||||
If [code]true[/code] Light2D will emit light. Default value: [code]true[/code].
|
If [code]true[/code], Light2D will emit light. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="energy" type="float" setter="set_energy" getter="get_energy">
|
<member name="energy" type="float" setter="set_energy" getter="get_energy">
|
||||||
The Light2D's energy value. The larger the value, the stronger the light.
|
The Light2D's energy value. The larger the value, the stronger the light.
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
[Color] of shadows cast by the Light2D.
|
[Color] of shadows cast by the Light2D.
|
||||||
</member>
|
</member>
|
||||||
<member name="shadow_enabled" type="bool" setter="set_shadow_enabled" getter="is_shadow_enabled">
|
<member name="shadow_enabled" type="bool" setter="set_shadow_enabled" getter="is_shadow_enabled">
|
||||||
If [code]true[/code] the Light2D will cast shadows. Default value: [code]false[/code].
|
If [code]true[/code], the Light2D will cast shadows. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="shadow_filter" type="int" setter="set_shadow_filter" getter="get_shadow_filter" enum="Light2D.ShadowFilter">
|
<member name="shadow_filter" type="int" setter="set_shadow_filter" getter="get_shadow_filter" enum="Light2D.ShadowFilter">
|
||||||
Shadow filter type. Use SHADOW_FILTER_* constants to set [code]shadow_filter[/code]. Default value: [code]None[/code].
|
Shadow filter type. Use SHADOW_FILTER_* constants to set [code]shadow_filter[/code]. Default value: [code]None[/code].
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
Text alignment as defined in the ALIGN_* enum.
|
Text alignment as defined in the ALIGN_* enum.
|
||||||
</member>
|
</member>
|
||||||
<member name="caret_blink" type="bool" setter="cursor_set_blink_enabled" getter="cursor_get_blink_enabled">
|
<member name="caret_blink" type="bool" setter="cursor_set_blink_enabled" getter="cursor_get_blink_enabled">
|
||||||
If [code]true[/code] the caret (visual cursor) blinks.
|
If [code]true[/code], the caret (visual cursor) blinks.
|
||||||
</member>
|
</member>
|
||||||
<member name="caret_blink_speed" type="float" setter="cursor_set_blink_speed" getter="cursor_get_blink_speed">
|
<member name="caret_blink_speed" type="float" setter="cursor_set_blink_speed" getter="cursor_get_blink_speed">
|
||||||
Duration (in seconds) of a caret's blinking cycle.
|
Duration (in seconds) of a caret's blinking cycle.
|
||||||
|
@ -89,16 +89,16 @@
|
||||||
The cursor's position inside the [code]LineEdit[/code]. When set, the text may scroll to accommodate it.
|
The cursor's position inside the [code]LineEdit[/code]. When set, the text may scroll to accommodate it.
|
||||||
</member>
|
</member>
|
||||||
<member name="clear_button_enabled" type="bool" setter="set_clear_button_enabled" getter="is_clear_button_enabled">
|
<member name="clear_button_enabled" type="bool" setter="set_clear_button_enabled" getter="is_clear_button_enabled">
|
||||||
If [code]true[/code] the [code]LineEdit[/code] will show a clear button if [code]text[/code] is not empty.
|
If [code]true[/code], the [code]LineEdit[/code] will show a clear button if [code]text[/code] is not empty.
|
||||||
</member>
|
</member>
|
||||||
<member name="context_menu_enabled" type="bool" setter="set_context_menu_enabled" getter="is_context_menu_enabled">
|
<member name="context_menu_enabled" type="bool" setter="set_context_menu_enabled" getter="is_context_menu_enabled">
|
||||||
If [code]true[/code] the context menu will appear when right clicked.
|
If [code]true[/code], the context menu will appear when right clicked.
|
||||||
</member>
|
</member>
|
||||||
<member name="editable" type="bool" setter="set_editable" getter="is_editable">
|
<member name="editable" type="bool" setter="set_editable" getter="is_editable">
|
||||||
If [code]false[/code] existing text cannot be modified and new text cannot be added.
|
If [code]false[/code], existing text cannot be modified and new text cannot be added.
|
||||||
</member>
|
</member>
|
||||||
<member name="expand_to_text_length" type="bool" setter="set_expand_to_text_length" getter="get_expand_to_text_length">
|
<member name="expand_to_text_length" type="bool" setter="set_expand_to_text_length" getter="get_expand_to_text_length">
|
||||||
If [code]true[/code] the [LineEdit] width will increase to stay longer than the [member text]. It will [b]not[/b] compress if the [member text] is shortened.
|
If [code]true[/code], the [LineEdit] width will increase to stay longer than the [member text]. It will [b]not[/b] compress if the [member text] is shortened.
|
||||||
</member>
|
</member>
|
||||||
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode">
|
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" enum="Control.FocusMode">
|
||||||
Defines how the [LineEdit] can grab focus (Keyboard and mouse, only keyboard, or none). See [code]enum FocusMode[/code] in [Control] for details.
|
Defines how the [LineEdit] can grab focus (Keyboard and mouse, only keyboard, or none). See [code]enum FocusMode[/code] in [Control] for details.
|
||||||
|
|
|
@ -93,7 +93,7 @@
|
||||||
The peer object to handle the RPC system (effectively enabling networking when set). Depending on the peer itself, the MultiplayerAPI will become a network server (check with [method is_network_server]) and will set root node's network mode to master (see NETWORK_MODE_* constants in [Node]), or it will become a regular peer with root node set to puppet. All child nodes are set to inherit the network mode by default. Handling of networking-related events (connection, disconnection, new clients) is done by connecting to MultiplayerAPI's signals.
|
The peer object to handle the RPC system (effectively enabling networking when set). Depending on the peer itself, the MultiplayerAPI will become a network server (check with [method is_network_server]) and will set root node's network mode to master (see NETWORK_MODE_* constants in [Node]), or it will become a regular peer with root node set to puppet. All child nodes are set to inherit the network mode by default. Handling of networking-related events (connection, disconnection, new clients) is done by connecting to MultiplayerAPI's signals.
|
||||||
</member>
|
</member>
|
||||||
<member name="refuse_new_network_connections" type="bool" setter="set_refuse_new_network_connections" getter="is_refusing_new_network_connections">
|
<member name="refuse_new_network_connections" type="bool" setter="set_refuse_new_network_connections" getter="is_refusing_new_network_connections">
|
||||||
If [code]true[/code] the MultiplayerAPI's [member network_peer] refuses new incoming connections.
|
If [code]true[/code], the MultiplayerAPI's [member network_peer] refuses new incoming connections.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="refuse_new_connections" type="bool" setter="set_refuse_new_connections" getter="is_refusing_new_connections">
|
<member name="refuse_new_connections" type="bool" setter="set_refuse_new_connections" getter="is_refusing_new_connections">
|
||||||
If [code]true[/code] this [code]NetworkedMultiplayerPeer[/code] refuses new connections. Default value: [code]false[/code].
|
If [code]true[/code], this [code]NetworkedMultiplayerPeer[/code] refuses new connections. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="transfer_mode" type="int" setter="set_transfer_mode" getter="get_transfer_mode" enum="NetworkedMultiplayerPeer.TransferMode">
|
<member name="transfer_mode" type="int" setter="set_transfer_mode" getter="get_transfer_mode" enum="NetworkedMultiplayerPeer.TransferMode">
|
||||||
The manner in which to send packets to the [code]target_peer[/code]. See [enum TransferMode].
|
The manner in which to send packets to the [code]target_peer[/code]. See [enum TransferMode].
|
||||||
|
|
|
@ -148,7 +148,7 @@
|
||||||
Local [Transform2D].
|
Local [Transform2D].
|
||||||
</member>
|
</member>
|
||||||
<member name="z_as_relative" type="bool" setter="set_z_as_relative" getter="is_z_relative">
|
<member name="z_as_relative" type="bool" setter="set_z_as_relative" getter="is_z_relative">
|
||||||
If [code]true[/code] the node's Z-index is relative to its parent's Z-index. If this node's Z-index is 2 and its parent's effective Z-index is 3, then this node's effective Z-index will be 2 + 3 = 5.
|
If [code]true[/code], the node's Z-index is relative to its parent's Z-index. If this node's Z-index is 2 and its parent's effective Z-index is 3, then this node's effective Z-index will be 2 + 3 = 5.
|
||||||
</member>
|
</member>
|
||||||
<member name="z_index" type="int" setter="set_z_index" getter="get_z_index">
|
<member name="z_index" type="int" setter="set_z_index" getter="get_z_index">
|
||||||
Z-index. Controls the order in which the nodes render. A node with a higher Z-index will display in front of others.
|
Z-index. Controls the order in which the nodes render. A node with a higher Z-index will display in front of others.
|
||||||
|
|
|
@ -770,28 +770,28 @@
|
||||||
The exit code passed to the OS when the main loop exits.
|
The exit code passed to the OS when the main loop exits.
|
||||||
</member>
|
</member>
|
||||||
<member name="keep_screen_on" type="bool" setter="set_keep_screen_on" getter="is_keep_screen_on">
|
<member name="keep_screen_on" type="bool" setter="set_keep_screen_on" getter="is_keep_screen_on">
|
||||||
If [code]true[/code] the engine tries to keep the screen on while the game is running. Useful on mobile.
|
If [code]true[/code], the engine tries to keep the screen on while the game is running. Useful on mobile.
|
||||||
</member>
|
</member>
|
||||||
<member name="low_processor_usage_mode" type="bool" setter="set_low_processor_usage_mode" getter="is_in_low_processor_usage_mode">
|
<member name="low_processor_usage_mode" type="bool" setter="set_low_processor_usage_mode" getter="is_in_low_processor_usage_mode">
|
||||||
If [code]true[/code] the engine optimizes for low processor usage by only refreshing the screen if needed. Can improve battery consumption on mobile.
|
If [code]true[/code], the engine optimizes for low processor usage by only refreshing the screen if needed. Can improve battery consumption on mobile.
|
||||||
</member>
|
</member>
|
||||||
<member name="screen_orientation" type="int" setter="set_screen_orientation" getter="get_screen_orientation" enum="_OS.ScreenOrientation">
|
<member name="screen_orientation" type="int" setter="set_screen_orientation" getter="get_screen_orientation" enum="_OS.ScreenOrientation">
|
||||||
The current screen orientation.
|
The current screen orientation.
|
||||||
</member>
|
</member>
|
||||||
<member name="vsync_enabled" type="bool" setter="set_use_vsync" getter="is_vsync_enabled">
|
<member name="vsync_enabled" type="bool" setter="set_use_vsync" getter="is_vsync_enabled">
|
||||||
If [code]true[/code] vertical synchronization (Vsync) is enabled.
|
If [code]true[/code], vertical synchronization (Vsync) is enabled.
|
||||||
</member>
|
</member>
|
||||||
<member name="window_borderless" type="bool" setter="set_borderless_window" getter="get_borderless_window">
|
<member name="window_borderless" type="bool" setter="set_borderless_window" getter="get_borderless_window">
|
||||||
If [code]true[/code] removes the window frame.
|
If [code]true[/code], removes the window frame.
|
||||||
</member>
|
</member>
|
||||||
<member name="window_fullscreen" type="bool" setter="set_window_fullscreen" getter="is_window_fullscreen">
|
<member name="window_fullscreen" type="bool" setter="set_window_fullscreen" getter="is_window_fullscreen">
|
||||||
If [code]true[/code] the window is fullscreen.
|
If [code]true[/code], the window is fullscreen.
|
||||||
</member>
|
</member>
|
||||||
<member name="window_maximized" type="bool" setter="set_window_maximized" getter="is_window_maximized">
|
<member name="window_maximized" type="bool" setter="set_window_maximized" getter="is_window_maximized">
|
||||||
If [code]true[/code] the window is maximized.
|
If [code]true[/code], the window is maximized.
|
||||||
</member>
|
</member>
|
||||||
<member name="window_minimized" type="bool" setter="set_window_minimized" getter="is_window_minimized">
|
<member name="window_minimized" type="bool" setter="set_window_minimized" getter="is_window_minimized">
|
||||||
If [code]true[/code] the window is minimized.
|
If [code]true[/code], the window is minimized.
|
||||||
</member>
|
</member>
|
||||||
<member name="window_per_pixel_transparency_enabled" type="bool" setter="set_window_per_pixel_transparency_enabled" getter="get_window_per_pixel_transparency_enabled">
|
<member name="window_per_pixel_transparency_enabled" type="bool" setter="set_window_per_pixel_transparency_enabled" getter="get_window_per_pixel_transparency_enabled">
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="closed" type="bool" setter="set_closed" getter="is_closed">
|
<member name="closed" type="bool" setter="set_closed" getter="is_closed">
|
||||||
If [code]true[/code] closes the polygon. A closed OccluderPolygon2D occludes the light coming from any direction. An opened OccluderPolygon2D occludes the light only at its outline's direction. Default value [code]true[/code].
|
If [code]true[/code], closes the polygon. A closed OccluderPolygon2D occludes the light coming from any direction. An opened OccluderPolygon2D occludes the light only at its outline's direction. Default value [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="cull_mode" type="int" setter="set_cull_mode" getter="get_cull_mode" enum="OccluderPolygon2D.CullMode">
|
<member name="cull_mode" type="int" setter="set_cull_mode" getter="get_cull_mode" enum="OccluderPolygon2D.CullMode">
|
||||||
Set the direction of the occlusion culling when not [code]CULL_DISABLED[/code]. Default value [code]DISABLED[/code].
|
Set the direction of the occlusion culling when not [code]CULL_DISABLED[/code]. Default value [code]DISABLED[/code].
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="cubic_interp" type="bool" setter="set_cubic_interpolation" getter="get_cubic_interpolation">
|
<member name="cubic_interp" type="bool" setter="set_cubic_interpolation" getter="get_cubic_interpolation">
|
||||||
If [code]true[/code] the position between two cached points is interpolated cubically, and linearly otherwise.
|
If [code]true[/code], the position between two cached points is interpolated cubically, and linearly otherwise.
|
||||||
The points along the [Curve3D] of the [Path] are precomputed before use, for faster calculations. The point at the requested offset is then calculated interpolating between two adjacent cached points. This may present a problem if the curve makes sharp turns, as the cached points may not follow the curve closely enough.
|
The points along the [Curve3D] of the [Path] are precomputed before use, for faster calculations. The point at the requested offset is then calculated interpolating between two adjacent cached points. This may present a problem if the curve makes sharp turns, as the cached points may not follow the curve closely enough.
|
||||||
There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations.
|
There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations.
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
Base motion scale of all [ParallaxLayer] children.
|
Base motion scale of all [ParallaxLayer] children.
|
||||||
</member>
|
</member>
|
||||||
<member name="scroll_ignore_camera_zoom" type="bool" setter="set_ignore_camera_zoom" getter="is_ignore_camera_zoom">
|
<member name="scroll_ignore_camera_zoom" type="bool" setter="set_ignore_camera_zoom" getter="is_ignore_camera_zoom">
|
||||||
If [code]true[/code] elements in [ParallaxLayer] child aren't affected by the zoom level of the camera.
|
If [code]true[/code], elements in [ParallaxLayer] child aren't affected by the zoom level of the camera.
|
||||||
</member>
|
</member>
|
||||||
<member name="scroll_limit_begin" type="Vector2" setter="set_limit_begin" getter="get_limit_begin">
|
<member name="scroll_limit_begin" type="Vector2" setter="set_limit_begin" getter="get_limit_begin">
|
||||||
Top left limits for scrolling to begin. If the camera is outside of this limit the background will stop scrolling. Must be lower than [member scroll_limit_end] to work.
|
Top left limits for scrolling to begin. If the camera is outside of this limit the background will stop scrolling. Must be lower than [member scroll_limit_end] to work.
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
The number of draw passes when rendering particles.
|
The number of draw passes when rendering particles.
|
||||||
</member>
|
</member>
|
||||||
<member name="emitting" type="bool" setter="set_emitting" getter="is_emitting">
|
<member name="emitting" type="bool" setter="set_emitting" getter="is_emitting">
|
||||||
If [code]true[/code] particles are being emitted. Default value: [code]true[/code].
|
If [code]true[/code], particles are being emitted. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="explosiveness" type="float" setter="set_explosiveness_ratio" getter="get_explosiveness_ratio">
|
<member name="explosiveness" type="float" setter="set_explosiveness_ratio" getter="get_explosiveness_ratio">
|
||||||
Time ratio between each emission. If [code]0[/code] particles are emitted continuously. If [code]1[/code] all particles are emitted simultaneously. Default value: [code]0[/code].
|
Time ratio between each emission. If [code]0[/code] particles are emitted continuously. If [code]1[/code] all particles are emitted simultaneously. Default value: [code]0[/code].
|
||||||
|
@ -62,10 +62,10 @@
|
||||||
Amount of time each particle will exist. Default value: [code]1[/code].
|
Amount of time each particle will exist. Default value: [code]1[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="local_coords" type="bool" setter="set_use_local_coordinates" getter="get_use_local_coordinates">
|
<member name="local_coords" type="bool" setter="set_use_local_coordinates" getter="get_use_local_coordinates">
|
||||||
If [code]true[/code] particles use the parent node's coordinate space. If [code]false[/code] they use global coordinates. Default value: [code]true[/code].
|
If [code]true[/code], particles use the parent node's coordinate space. If [code]false[/code], they use global coordinates. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="one_shot" type="bool" setter="set_one_shot" getter="get_one_shot">
|
<member name="one_shot" type="bool" setter="set_one_shot" getter="get_one_shot">
|
||||||
If [code]true[/code] only [code]amount[/code] particles will be emitted. Default value: [code]false[/code].
|
If [code]true[/code], only [code]amount[/code] particles will be emitted. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="preprocess" type="float" setter="set_pre_process_time" getter="get_pre_process_time">
|
<member name="preprocess" type="float" setter="set_pre_process_time" getter="get_pre_process_time">
|
||||||
Amount of time to preprocess the particles before animation starts. Lets you start the animation some time after particles have started emitting.
|
Amount of time to preprocess the particles before animation starts. Lets you start the animation some time after particles have started emitting.
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
Particle draw order. Uses [code]DRAW_ORDER_*[/code] values. Default value: [code]DRAW_ORDER_INDEX[/code].
|
Particle draw order. Uses [code]DRAW_ORDER_*[/code] values. Default value: [code]DRAW_ORDER_INDEX[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="emitting" type="bool" setter="set_emitting" getter="is_emitting">
|
<member name="emitting" type="bool" setter="set_emitting" getter="is_emitting">
|
||||||
If [code]true[/code] particles are being emitted. Default value: [code]true[/code].
|
If [code]true[/code], particles are being emitted. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="explosiveness" type="float" setter="set_explosiveness_ratio" getter="get_explosiveness_ratio">
|
<member name="explosiveness" type="float" setter="set_explosiveness_ratio" getter="get_explosiveness_ratio">
|
||||||
How rapidly particles in an emission cycle are emitted. If greater than [code]0[/code], there will be a gap in emissions before the next cycle begins. Default value: [code]0[/code].
|
How rapidly particles in an emission cycle are emitted. If greater than [code]0[/code], there will be a gap in emissions before the next cycle begins. Default value: [code]0[/code].
|
||||||
|
@ -46,12 +46,12 @@
|
||||||
Amount of time each particle will exist. Default value: [code]1[/code].
|
Amount of time each particle will exist. Default value: [code]1[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="local_coords" type="bool" setter="set_use_local_coordinates" getter="get_use_local_coordinates">
|
<member name="local_coords" type="bool" setter="set_use_local_coordinates" getter="get_use_local_coordinates">
|
||||||
If [code]true[/code] particles use the parent node's coordinate space. If [code]false[/code] they use global coordinates. Default value: [code]true[/code].
|
If [code]true[/code], particles use the parent node's coordinate space. If [code]false[/code], they use global coordinates. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="normal_map" type="Texture" setter="set_normal_map" getter="get_normal_map">
|
<member name="normal_map" type="Texture" setter="set_normal_map" getter="get_normal_map">
|
||||||
</member>
|
</member>
|
||||||
<member name="one_shot" type="bool" setter="set_one_shot" getter="get_one_shot">
|
<member name="one_shot" type="bool" setter="set_one_shot" getter="get_one_shot">
|
||||||
If [code]true[/code] only one emission cycle occurs. If set [code]true[/code] during a cycle, emission will stop at the cycle's end. Default value: [code]false[/code].
|
If [code]true[/code], only one emission cycle occurs. If set [code]true[/code] during a cycle, emission will stop at the cycle's end. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="preprocess" type="float" setter="set_pre_process_time" getter="get_pre_process_time">
|
<member name="preprocess" type="float" setter="set_pre_process_time" getter="get_pre_process_time">
|
||||||
Particle system starts as if it had already run for this many seconds.
|
Particle system starts as if it had already run for this many seconds.
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
<member name="flag_align_y" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flag_align_y" type="bool" setter="set_flag" getter="get_flag">
|
||||||
</member>
|
</member>
|
||||||
<member name="flag_disable_z" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flag_disable_z" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] particles will not move on the z axis. Default value: [code]true[/code] for [Particles2D], [code]false[/code] for [Particles].
|
If [code]true[/code], particles will not move on the z axis. Default value: [code]true[/code] for [Particles2D], [code]false[/code] for [Particles].
|
||||||
</member>
|
</member>
|
||||||
<member name="flag_rotate_y" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flag_rotate_y" type="bool" setter="set_flag" getter="get_flag">
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="cubic_interp" type="bool" setter="set_cubic_interpolation" getter="get_cubic_interpolation">
|
<member name="cubic_interp" type="bool" setter="set_cubic_interpolation" getter="get_cubic_interpolation">
|
||||||
If [code]true[/code] the position between two cached points is interpolated cubically, and linearly otherwise.
|
If [code]true[/code], the position between two cached points is interpolated cubically, and linearly otherwise.
|
||||||
The points along the [Curve3D] of the [Path] are precomputed before use, for faster calculations. The point at the requested offset is then calculated interpolating between two adjacent cached points. This may present a problem if the curve makes sharp turns, as the cached points may not follow the curve closely enough.
|
The points along the [Curve3D] of the [Path] are precomputed before use, for faster calculations. The point at the requested offset is then calculated interpolating between two adjacent cached points. This may present a problem if the curve makes sharp turns, as the cached points may not follow the curve closely enough.
|
||||||
There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations.
|
There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations.
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="cubic_interp" type="bool" setter="set_cubic_interpolation" getter="get_cubic_interpolation">
|
<member name="cubic_interp" type="bool" setter="set_cubic_interpolation" getter="get_cubic_interpolation">
|
||||||
If [code]true[/code] the position between two cached points is interpolated cubically, and linearly otherwise.
|
If [code]true[/code], the position between two cached points is interpolated cubically, and linearly otherwise.
|
||||||
The points along the [Curve2D] of the [Path2D] are precomputed before use, for faster calculations. The point at the requested offset is then calculated interpolating between two adjacent cached points. This may present a problem if the curve makes sharp turns, as the cached points may not follow the curve closely enough.
|
The points along the [Curve2D] of the [Path2D] are precomputed before use, for faster calculations. The point at the requested offset is then calculated interpolating between two adjacent cached points. This may present a problem if the curve makes sharp turns, as the cached points may not follow the curve closely enough.
|
||||||
There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations.
|
There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations.
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
<argument index="0" name="area" type="RID">
|
<argument index="0" name="area" type="RID">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] area collides with rays.
|
If [code]true[/code], area collides with rays.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="area_remove_shape">
|
<method name="area_remove_shape">
|
||||||
|
@ -556,7 +556,7 @@
|
||||||
<argument index="0" name="body" type="RID">
|
<argument index="0" name="body" type="RID">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the continuous collision detection mode is enabled.
|
If [code]true[/code], the continuous collision detection mode is enabled.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="body_is_omitting_force_integration" qualifiers="const">
|
<method name="body_is_omitting_force_integration" qualifiers="const">
|
||||||
|
@ -574,7 +574,7 @@
|
||||||
<argument index="0" name="body" type="RID">
|
<argument index="0" name="body" type="RID">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the body can be detected by rays
|
If [code]true[/code], the body can be detected by rays
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="body_remove_collision_exception">
|
<method name="body_remove_collision_exception">
|
||||||
|
@ -653,7 +653,7 @@
|
||||||
<argument index="1" name="enable" type="bool">
|
<argument index="1" name="enable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the continuous collision detection mode is enabled.
|
If [code]true[/code], the continuous collision detection mode is enabled.
|
||||||
Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided.
|
Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
|
@ -1286,10 +1286,10 @@
|
||||||
Maximum acceleration for the motor.
|
Maximum acceleration for the motor.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="HINGE_JOINT_FLAG_USE_LIMIT" value="0" enum="HingeJointFlag">
|
<constant name="HINGE_JOINT_FLAG_USE_LIMIT" value="0" enum="HingeJointFlag">
|
||||||
If [code]true[/code] the Hinge has a maximum and a minimum rotation.
|
If [code]true[/code], the Hinge has a maximum and a minimum rotation.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="HINGE_JOINT_FLAG_ENABLE_MOTOR" value="1" enum="HingeJointFlag">
|
<constant name="HINGE_JOINT_FLAG_ENABLE_MOTOR" value="1" enum="HingeJointFlag">
|
||||||
If [code]true[/code] a motor turns the Hinge
|
If [code]true[/code], a motor turns the Hinge
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="SLIDER_JOINT_LINEAR_LIMIT_UPPER" value="0" enum="SliderJointParam">
|
<constant name="SLIDER_JOINT_LINEAR_LIMIT_UPPER" value="0" enum="SliderJointParam">
|
||||||
The maximum difference between the pivot points on their x-axis before damping happens.
|
The maximum difference between the pivot points on their x-axis before damping happens.
|
||||||
|
|
|
@ -80,7 +80,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="antialiased" type="bool" setter="set_antialiased" getter="get_antialiased">
|
<member name="antialiased" type="bool" setter="set_antialiased" getter="get_antialiased">
|
||||||
If [code]true[/code] polygon edges will be anti-aliased. Default value: [code]false[/code].
|
If [code]true[/code], polygon edges will be anti-aliased. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="bones" type="Array" setter="_set_bones" getter="_get_bones">
|
<member name="bones" type="Array" setter="_set_bones" getter="_get_bones">
|
||||||
</member>
|
</member>
|
||||||
|
@ -91,7 +91,7 @@
|
||||||
Added padding applied to the bounding box when using [code]invert[/code]. Setting this value too small may result in a "Bad Polygon" error. Default value: [code]100[/code].
|
Added padding applied to the bounding box when using [code]invert[/code]. Setting this value too small may result in a "Bad Polygon" error. Default value: [code]100[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="invert_enable" type="bool" setter="set_invert" getter="get_invert">
|
<member name="invert_enable" type="bool" setter="set_invert" getter="get_invert">
|
||||||
If [code]true[/code] polygon will be inverted, containing the area outside the defined points and extending to the [code]invert_border[/code]. Default value: [code]false[/code].
|
If [code]true[/code], polygon will be inverted, containing the area outside the defined points and extending to the [code]invert_border[/code]. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset">
|
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset">
|
||||||
The offset applied to each vertex.
|
The offset applied to each vertex.
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="popup_exclusive" type="bool" setter="set_exclusive" getter="is_exclusive">
|
<member name="popup_exclusive" type="bool" setter="set_exclusive" getter="is_exclusive">
|
||||||
If [code]true[/code] the popup will not be hidden when a click event occurs outside of it, or when it receives the [code]ui_cancel[/code] action event.
|
If [code]true[/code], the popup will not be hidden when a click event occurs outside of it, or when it receives the [code]ui_cancel[/code] action event.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="percent_visible" type="bool" setter="set_percent_visible" getter="is_percent_visible">
|
<member name="percent_visible" type="bool" setter="set_percent_visible" getter="is_percent_visible">
|
||||||
If [code]true[/code] the fill percentage is displayed on the bar. Default value: [code]true[/code].
|
If [code]true[/code], the fill percentage is displayed on the bar. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -30,13 +30,13 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="allow_greater" type="bool" setter="set_allow_greater" getter="is_greater_allowed">
|
<member name="allow_greater" type="bool" setter="set_allow_greater" getter="is_greater_allowed">
|
||||||
If [code]true[/code] [member value] may be greater than [member max_value]. Default value: [code]false[/code].
|
If [code]true[/code], [member value] may be greater than [member max_value]. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="allow_lesser" type="bool" setter="set_allow_lesser" getter="is_lesser_allowed">
|
<member name="allow_lesser" type="bool" setter="set_allow_lesser" getter="is_lesser_allowed">
|
||||||
If [code]true[/code] [member value] may be less than [member min_value]. Default value: [code]false[/code].
|
If [code]true[/code], [member value] may be less than [member min_value]. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="exp_edit" type="bool" setter="set_exp_ratio" getter="is_ratio_exp">
|
<member name="exp_edit" type="bool" setter="set_exp_ratio" getter="is_ratio_exp">
|
||||||
If [code]true[/code] and [code]min_value[/code] is greater than 0, [code]value[/code] will be represented exponentially rather than linearly.
|
If [code]true[/code], and [code]min_value[/code] is greater than 0, [code]value[/code] will be represented exponentially rather than linearly.
|
||||||
</member>
|
</member>
|
||||||
<member name="max_value" type="float" setter="set_max" getter="get_max">
|
<member name="max_value" type="float" setter="set_max" getter="get_max">
|
||||||
Maximum value. Range is clamped if [code]value[/code] is greater than [code]max_value[/code]. Default value: [code]100[/code].
|
Maximum value. Range is clamped if [code]value[/code] is greater than [code]max_value[/code]. Default value: [code]100[/code].
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
The value mapped between 0 and 1.
|
The value mapped between 0 and 1.
|
||||||
</member>
|
</member>
|
||||||
<member name="rounded" type="bool" setter="set_use_rounded_values" getter="is_using_rounded_values">
|
<member name="rounded" type="bool" setter="set_use_rounded_values" getter="is_using_rounded_values">
|
||||||
If [code]true[/code] [code]value[/code] will always be rounded to the nearest integer. Default value: [code]false[/code].
|
If [code]true[/code], [code]value[/code] will always be rounded to the nearest integer. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="step" type="float" setter="set_step" getter="get_step">
|
<member name="step" type="float" setter="set_step" getter="get_step">
|
||||||
If greater than 0, [code]value[/code] will always be rounded to a multiple of [code]step[/code]. If [code]rounded[/code] is also [code]true[/code], [code]value[/code] will first be rounded to a multiple of [code]step[/code] then rounded to the nearest integer.
|
If greater than 0, [code]value[/code] will always be rounded to a multiple of [code]step[/code]. If [code]rounded[/code] is also [code]true[/code], [code]value[/code] will first be rounded to a multiple of [code]step[/code] then rounded to the nearest integer.
|
||||||
|
|
|
@ -136,10 +136,10 @@
|
||||||
The ray's collision mask. Only objects in at least one collision layer enabled in the mask will be detected.
|
The ray's collision mask. Only objects in at least one collision layer enabled in the mask will be detected.
|
||||||
</member>
|
</member>
|
||||||
<member name="enabled" type="bool" setter="set_enabled" getter="is_enabled">
|
<member name="enabled" type="bool" setter="set_enabled" getter="is_enabled">
|
||||||
If [code]true[/code] collisions will be reported. Default value: [code]false[/code].
|
If [code]true[/code], collisions will be reported. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="exclude_parent" type="bool" setter="set_exclude_parent_body" getter="get_exclude_parent_body">
|
<member name="exclude_parent" type="bool" setter="set_exclude_parent_body" getter="get_exclude_parent_body">
|
||||||
If [code]true[/code] collisions will be ignored for this RayCast's immediate parent. Default value: [code]true[/code].
|
If [code]true[/code], collisions will be ignored for this RayCast's immediate parent. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
The ray's length.
|
The ray's length.
|
||||||
</member>
|
</member>
|
||||||
<member name="slips_on_slope" type="bool" setter="set_slips_on_slope" getter="get_slips_on_slope">
|
<member name="slips_on_slope" type="bool" setter="set_slips_on_slope" getter="get_slips_on_slope">
|
||||||
If [code]true[/code] allow the shape to return the correct normal. Default value: [code]false[/code].
|
If [code]true[/code], allow the shape to return the correct normal. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
The ray's length.
|
The ray's length.
|
||||||
</member>
|
</member>
|
||||||
<member name="slips_on_slope" type="bool" setter="set_slips_on_slope" getter="get_slips_on_slope">
|
<member name="slips_on_slope" type="bool" setter="set_slips_on_slope" getter="get_slips_on_slope">
|
||||||
If [code]true[/code] allow the shape to return the correct normal. Default value: [code]false[/code].
|
If [code]true[/code], allow the shape to return the correct normal. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -18,16 +18,16 @@
|
||||||
The [NodePath] to the remote node, relative to the RemoteTransform's position in the scene.
|
The [NodePath] to the remote node, relative to the RemoteTransform's position in the scene.
|
||||||
</member>
|
</member>
|
||||||
<member name="update_position" type="bool" setter="set_update_position" getter="get_update_position">
|
<member name="update_position" type="bool" setter="set_update_position" getter="get_update_position">
|
||||||
If [code]true[/code] the remote node's position is updated. Default value: [code]true[/code].
|
If [code]true[/code], the remote node's position is updated. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="update_rotation" type="bool" setter="set_update_rotation" getter="get_update_rotation">
|
<member name="update_rotation" type="bool" setter="set_update_rotation" getter="get_update_rotation">
|
||||||
If [code]true[/code] the remote node's rotation is updated. Default value: [code]true[/code].
|
If [code]true[/code], the remote node's rotation is updated. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="update_scale" type="bool" setter="set_update_scale" getter="get_update_scale">
|
<member name="update_scale" type="bool" setter="set_update_scale" getter="get_update_scale">
|
||||||
If [code]true[/code] the remote node's scale is updated. Default value: [code]true[/code].
|
If [code]true[/code], the remote node's scale is updated. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="use_global_coordinates" type="bool" setter="set_use_global_coordinates" getter="get_use_global_coordinates">
|
<member name="use_global_coordinates" type="bool" setter="set_use_global_coordinates" getter="get_use_global_coordinates">
|
||||||
If [code]true[/code] global coordinates are used. If [code]false[/code] local coordinates are used. Default value: [code]true[/code].
|
If [code]true[/code], global coordinates are used. If [code]false[/code], local coordinates are used. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -18,16 +18,16 @@
|
||||||
The [NodePath] to the remote node, relative to the RemoteTransform2D's position in the scene.
|
The [NodePath] to the remote node, relative to the RemoteTransform2D's position in the scene.
|
||||||
</member>
|
</member>
|
||||||
<member name="update_position" type="bool" setter="set_update_position" getter="get_update_position">
|
<member name="update_position" type="bool" setter="set_update_position" getter="get_update_position">
|
||||||
If [code]true[/code] the remote node's position is updated. Default value: [code]true[/code].
|
If [code]true[/code], the remote node's position is updated. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="update_rotation" type="bool" setter="set_update_rotation" getter="get_update_rotation">
|
<member name="update_rotation" type="bool" setter="set_update_rotation" getter="get_update_rotation">
|
||||||
If [code]true[/code] the remote node's rotation is updated. Default value: [code]true[/code].
|
If [code]true[/code], the remote node's rotation is updated. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="update_scale" type="bool" setter="set_update_scale" getter="get_update_scale">
|
<member name="update_scale" type="bool" setter="set_update_scale" getter="get_update_scale">
|
||||||
If [code]true[/code] the remote node's scale is updated. Default value: [code]true[/code].
|
If [code]true[/code], the remote node's scale is updated. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="use_global_coordinates" type="bool" setter="set_use_global_coordinates" getter="get_use_global_coordinates">
|
<member name="use_global_coordinates" type="bool" setter="set_use_global_coordinates" getter="get_use_global_coordinates">
|
||||||
If [code]true[/code] global coordinates are used. If [code]false[/code] local coordinates are used. Default value: [code]true[/code].
|
If [code]true[/code], global coordinates are used. If [code]false[/code], local coordinates are used. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -225,7 +225,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="bbcode_enabled" type="bool" setter="set_use_bbcode" getter="is_using_bbcode">
|
<member name="bbcode_enabled" type="bool" setter="set_use_bbcode" getter="is_using_bbcode">
|
||||||
If [code]true[/code] the label uses BBCode formatting. Default value: [code]false[/code].
|
If [code]true[/code], the label uses BBCode formatting. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="bbcode_text" type="String" setter="set_bbcode" getter="get_bbcode">
|
<member name="bbcode_text" type="String" setter="set_bbcode" getter="get_bbcode">
|
||||||
The label's text in BBCode format. Is not representative of manual modifications to the internal tag stack. Erases changes made by other methods when edited.
|
The label's text in BBCode format. Is not representative of manual modifications to the internal tag stack. Erases changes made by other methods when edited.
|
||||||
|
@ -234,7 +234,7 @@
|
||||||
If [code]true[/code], the label underlines meta tags such as [url]{text}[/url]. Default value: [code]true[/code].
|
If [code]true[/code], the label underlines meta tags such as [url]{text}[/url]. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="override_selected_font_color" type="bool" setter="set_override_selected_font_color" getter="is_overriding_selected_font_color">
|
<member name="override_selected_font_color" type="bool" setter="set_override_selected_font_color" getter="is_overriding_selected_font_color">
|
||||||
If [code]true[/code] the label uses the custom font color. Default value: [code]false[/code].
|
If [code]true[/code], the label uses the custom font color. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="percent_visible" type="float" setter="set_percent_visible" getter="get_percent_visible">
|
<member name="percent_visible" type="float" setter="set_percent_visible" getter="get_percent_visible">
|
||||||
The text's visibility, as a [float] between 0.0 and 1.0.
|
The text's visibility, as a [float] between 0.0 and 1.0.
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<argument index="0" name="state" type="PhysicsDirectBodyState">
|
<argument index="0" name="state" type="PhysicsDirectBodyState">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Called during physics processing, allowing you to read and safely modify the simulation state for the object. By default it works in addition to the usual physics behavior, but [method set_use_custom_integrator] allows you to disable the default behavior and do fully custom force integration for a body.
|
Called during physics processing, allowing you to read and safely modify the simulation state for the object. By default, it works in addition to the usual physics behavior, but [method set_use_custom_integrator] allows you to disable the default behavior and do fully custom force integration for a body.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="add_central_force">
|
<method name="add_central_force">
|
||||||
|
@ -130,20 +130,20 @@
|
||||||
RigidBody's bounciness.
|
RigidBody's bounciness.
|
||||||
</member>
|
</member>
|
||||||
<member name="can_sleep" type="bool" setter="set_can_sleep" getter="is_able_to_sleep">
|
<member name="can_sleep" type="bool" setter="set_can_sleep" getter="is_able_to_sleep">
|
||||||
If [code]true[/code] the RigidBody will not calculate forces and will act as a static body while there is no movement. It will wake up when forces are applied through other collisions or when the [code]apply_impulse[/code] method is used.
|
If [code]true[/code], the RigidBody will not calculate forces and will act as a static body while there is no movement. It will wake up when forces are applied through other collisions or when the [code]apply_impulse[/code] method is used.
|
||||||
</member>
|
</member>
|
||||||
<member name="contact_monitor" type="bool" setter="set_contact_monitor" getter="is_contact_monitor_enabled">
|
<member name="contact_monitor" type="bool" setter="set_contact_monitor" getter="is_contact_monitor_enabled">
|
||||||
If [code]true[/code] the RigidBody will emit signals when it collides with another RigidBody.
|
If [code]true[/code], the RigidBody will emit signals when it collides with another RigidBody.
|
||||||
</member>
|
</member>
|
||||||
<member name="contacts_reported" type="int" setter="set_max_contacts_reported" getter="get_max_contacts_reported">
|
<member name="contacts_reported" type="int" setter="set_max_contacts_reported" getter="get_max_contacts_reported">
|
||||||
The maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0.
|
The maximum contacts to report. Bodies can keep a log of the contacts with other bodies, this is enabled by setting the maximum amount of contacts reported to a number greater than 0.
|
||||||
</member>
|
</member>
|
||||||
<member name="continuous_cd" type="bool" setter="set_use_continuous_collision_detection" getter="is_using_continuous_collision_detection">
|
<member name="continuous_cd" type="bool" setter="set_use_continuous_collision_detection" getter="is_using_continuous_collision_detection">
|
||||||
If [code]true[/code] continuous collision detection is used.
|
If [code]true[/code], continuous collision detection is used.
|
||||||
Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. Continuous collision detection is more precise, and misses less impacts by small, fast-moving objects. Not using continuous collision detection is faster to compute, but can miss small, fast-moving objects.
|
Continuous collision detection tries to predict where a moving body will collide, instead of moving it and correcting its movement if it collided. Continuous collision detection is more precise, and misses less impacts by small, fast-moving objects. Not using continuous collision detection is faster to compute, but can miss small, fast-moving objects.
|
||||||
</member>
|
</member>
|
||||||
<member name="custom_integrator" type="bool" setter="set_use_custom_integrator" getter="is_using_custom_integrator">
|
<member name="custom_integrator" type="bool" setter="set_use_custom_integrator" getter="is_using_custom_integrator">
|
||||||
If [code]true[/code] internal force integration will be disabled (like gravity or air friction) for this body. Other than collision response, the body will only move as determined by the [method _integrate_forces] function, if defined.
|
If [code]true[/code], internal force integration will be disabled (like gravity or air friction) for this body. Other than collision response, the body will only move as determined by the [method _integrate_forces] function, if defined.
|
||||||
</member>
|
</member>
|
||||||
<member name="friction" type="float" setter="set_friction" getter="get_friction">
|
<member name="friction" type="float" setter="set_friction" getter="get_friction">
|
||||||
The body's friction, from 0 (frictionless) to 1 (max friction).
|
The body's friction, from 0 (frictionless) to 1 (max friction).
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
||||||
</member>
|
</member>
|
||||||
<member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping">
|
<member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping">
|
||||||
If [code]true[/code] the body is sleeping and will not calculate forces until woken up by a collision or the [code]apply_impulse[/code] method.
|
If [code]true[/code], the body is sleeping and will not calculate forces until woken up by a collision or the [code]apply_impulse[/code] method.
|
||||||
</member>
|
</member>
|
||||||
<member name="weight" type="float" setter="set_weight" getter="get_weight">
|
<member name="weight" type="float" setter="set_weight" getter="get_weight">
|
||||||
The body's weight based on its mass and the global 3D gravity. Global values are set in "Project > Project Settings > Physics > 3d".
|
The body's weight based on its mass and the global 3D gravity. Global values are set in "Project > Project Settings > Physics > 3d".
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
<argument index="0" name="state" type="Physics2DDirectBodyState">
|
<argument index="0" name="state" type="Physics2DDirectBodyState">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Allows you to read and safely modify the simulation state for the object. Use this instead of [Node._physics_process] if you need to directly change the body's [code]position[/code] or other physics properties. By default it works in addition to the usual physics behavior, but [member custom_integrator] allows you to disable the default behavior and write custom force integration for a body.
|
Allows you to read and safely modify the simulation state for the object. Use this instead of [Node._physics_process] if you need to directly change the body's [code]position[/code] or other physics properties. By default, it works in addition to the usual physics behavior, but [member custom_integrator] allows you to disable the default behavior and write custom force integration for a body.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="add_central_force">
|
<method name="add_central_force">
|
||||||
|
@ -130,10 +130,10 @@
|
||||||
The body's bounciness. Default value: [code]0[/code].
|
The body's bounciness. Default value: [code]0[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="can_sleep" type="bool" setter="set_can_sleep" getter="is_able_to_sleep">
|
<member name="can_sleep" type="bool" setter="set_can_sleep" getter="is_able_to_sleep">
|
||||||
If [code]true[/code] the body will not calculate forces and will act as a static body if there is no movement. The body will wake up when other forces are applied via collisions or by using [method apply_impulse] or [method add_force]. Default value: [code]true[/code].
|
If [code]true[/code], the body will not calculate forces and will act as a static body if there is no movement. The body will wake up when other forces are applied via collisions or by using [method apply_impulse] or [method add_force]. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="contact_monitor" type="bool" setter="set_contact_monitor" getter="is_contact_monitor_enabled">
|
<member name="contact_monitor" type="bool" setter="set_contact_monitor" getter="is_contact_monitor_enabled">
|
||||||
If [code]true[/code] the body will emit signals when it collides with another RigidBody2D. See also [member contacts_reported]. Default value: [code]false[/code].
|
If [code]true[/code], the body will emit signals when it collides with another RigidBody2D. See also [member contacts_reported]. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="contacts_reported" type="int" setter="set_max_contacts_reported" getter="get_max_contacts_reported">
|
<member name="contacts_reported" type="int" setter="set_max_contacts_reported" getter="get_max_contacts_reported">
|
||||||
The maximum number of contacts to report. Default value: [code]0[/code].
|
The maximum number of contacts to report. Default value: [code]0[/code].
|
||||||
|
@ -143,7 +143,7 @@
|
||||||
Continuous collision detection tries to predict where a moving body will collide instead of moving it and correcting its movement after collision. Continuous collision detection is slower, but more precise and misses fewer collisions with small, fast-moving objects. Raycasting and shapecasting methods are available. See [code]CCD_MODE_[/code] constants for details.
|
Continuous collision detection tries to predict where a moving body will collide instead of moving it and correcting its movement after collision. Continuous collision detection is slower, but more precise and misses fewer collisions with small, fast-moving objects. Raycasting and shapecasting methods are available. See [code]CCD_MODE_[/code] constants for details.
|
||||||
</member>
|
</member>
|
||||||
<member name="custom_integrator" type="bool" setter="set_use_custom_integrator" getter="is_using_custom_integrator">
|
<member name="custom_integrator" type="bool" setter="set_use_custom_integrator" getter="is_using_custom_integrator">
|
||||||
If [code]true[/code] internal force integration is disabled for this body. Aside from collision response, the body will only move as determined by the [method _integrate_forces] function.
|
If [code]true[/code], internal force integration is disabled for this body. Aside from collision response, the body will only move as determined by the [method _integrate_forces] function.
|
||||||
</member>
|
</member>
|
||||||
<member name="friction" type="float" setter="set_friction" getter="get_friction">
|
<member name="friction" type="float" setter="set_friction" getter="get_friction">
|
||||||
The body's friction. Values range from [code]0[/code] (frictionless) to [code]1[/code] (maximum friction). Default value: [code]1[/code].
|
The body's friction. Values range from [code]0[/code] (frictionless) to [code]1[/code] (maximum friction). Default value: [code]1[/code].
|
||||||
|
@ -169,7 +169,7 @@
|
||||||
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
<member name="physics_material_override" type="PhysicsMaterial" setter="set_physics_material_override" getter="get_physics_material_override">
|
||||||
</member>
|
</member>
|
||||||
<member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping">
|
<member name="sleeping" type="bool" setter="set_sleeping" getter="is_sleeping">
|
||||||
If [code]true[/code] the body is sleeping and will not calculate forces until woken up by a collision or by using [method apply_impulse] or [method add_force].
|
If [code]true[/code], the body is sleeping and will not calculate forces until woken up by a collision or by using [method apply_impulse] or [method add_force].
|
||||||
</member>
|
</member>
|
||||||
<member name="weight" type="float" setter="set_weight" getter="get_weight">
|
<member name="weight" type="float" setter="set_weight" getter="get_weight">
|
||||||
The body's weight based on its mass and the "Default Gravity" value in "Project > Project Settings > Physics > 2d".
|
The body's weight based on its mass and the "Default Gravity" value in "Project > Project Settings > Physics > 2d".
|
||||||
|
|
|
@ -192,7 +192,7 @@
|
||||||
<argument index="0" name="enabled" type="bool">
|
<argument index="0" name="enabled" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the application automatically accepts quitting.
|
If [code]true[/code], the application automatically accepts quitting.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_group">
|
<method name="set_group">
|
||||||
|
@ -236,7 +236,7 @@
|
||||||
<argument index="0" name="enabled" type="bool">
|
<argument index="0" name="enabled" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the application quits automatically on going back (e.g. on Android).
|
If [code]true[/code], the application quits automatically on going back (e.g. on Android).
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_screen_stretch">
|
<method name="set_screen_stretch">
|
||||||
|
@ -270,27 +270,27 @@
|
||||||
The default [MultiplayerAPI] instance for this SceneTree.
|
The default [MultiplayerAPI] instance for this SceneTree.
|
||||||
</member>
|
</member>
|
||||||
<member name="multiplayer_poll" type="bool" setter="set_multiplayer_poll_enabled" getter="is_multiplayer_poll_enabled">
|
<member name="multiplayer_poll" type="bool" setter="set_multiplayer_poll_enabled" getter="is_multiplayer_poll_enabled">
|
||||||
If [code]true[/code] (default) enable the automatic polling of the [MultiplayerAPI] for this SceneTree during [signal idle_frame].
|
If [code]true[/code], (default) enable the automatic polling of the [MultiplayerAPI] for this SceneTree during [signal idle_frame].
|
||||||
When [code]false[/code] you need to manually call [method MultiplayerAPI.poll] for processing network packets and delivering RPCs/RSETs. This allows to run RPCs/RSETs in a different loop (e.g. physics, thread, specific time step) and for manual [Mutex] protection when accessing the [MultiplayerAPI] from threads.
|
When [code]false[/code] you need to manually call [method MultiplayerAPI.poll] for processing network packets and delivering RPCs/RSETs. This allows to run RPCs/RSETs in a different loop (e.g. physics, thread, specific time step) and for manual [Mutex] protection when accessing the [MultiplayerAPI] from threads.
|
||||||
</member>
|
</member>
|
||||||
<member name="network_peer" type="NetworkedMultiplayerPeer" setter="set_network_peer" getter="get_network_peer">
|
<member name="network_peer" type="NetworkedMultiplayerPeer" setter="set_network_peer" getter="get_network_peer">
|
||||||
The peer object to handle the RPC system (effectively enabling networking when set). Depending on the peer itself, the SceneTree will become a network server (check with [method is_network_server()]) and will set root node's network mode to master (see NETWORK_MODE_* constants in [Node]), or it will become a regular peer with root node set to puppet. All child nodes are set to inherit the network mode by default. Handling of networking-related events (connection, disconnection, new clients) is done by connecting to SceneTree's signals.
|
The peer object to handle the RPC system (effectively enabling networking when set). Depending on the peer itself, the SceneTree will become a network server (check with [method is_network_server()]) and will set root node's network mode to master (see NETWORK_MODE_* constants in [Node]), or it will become a regular peer with root node set to puppet. All child nodes are set to inherit the network mode by default. Handling of networking-related events (connection, disconnection, new clients) is done by connecting to SceneTree's signals.
|
||||||
</member>
|
</member>
|
||||||
<member name="paused" type="bool" setter="set_pause" getter="is_paused">
|
<member name="paused" type="bool" setter="set_pause" getter="is_paused">
|
||||||
If [code]true[/code] the SceneTree is paused.
|
If [code]true[/code], the SceneTree is paused.
|
||||||
Doing so will have the following behavior:
|
Doing so will have the following behavior:
|
||||||
* 2D and 3D physics will be stopped.
|
* 2D and 3D physics will be stopped.
|
||||||
* _process and _physics_process will not be called anymore in nodes.
|
* _process and _physics_process will not be called anymore in nodes.
|
||||||
* _input and _input_event will not be called anymore either.
|
* _input and _input_event will not be called anymore either.
|
||||||
</member>
|
</member>
|
||||||
<member name="refuse_new_network_connections" type="bool" setter="set_refuse_new_network_connections" getter="is_refusing_new_network_connections">
|
<member name="refuse_new_network_connections" type="bool" setter="set_refuse_new_network_connections" getter="is_refusing_new_network_connections">
|
||||||
If [code]true[/code] the SceneTree's [member network_peer] refuses new incoming connections.
|
If [code]true[/code], the SceneTree's [member network_peer] refuses new incoming connections.
|
||||||
</member>
|
</member>
|
||||||
<member name="root" type="Viewport" setter="" getter="get_root">
|
<member name="root" type="Viewport" setter="" getter="get_root">
|
||||||
The SceneTree's [Viewport].
|
The SceneTree's [Viewport].
|
||||||
</member>
|
</member>
|
||||||
<member name="use_font_oversampling" type="bool" setter="set_use_font_oversampling" getter="is_using_font_oversampling">
|
<member name="use_font_oversampling" type="bool" setter="set_use_font_oversampling" getter="is_using_font_oversampling">
|
||||||
If [code]true[/code] font oversampling is used.
|
If [code]true[/code], font oversampling is used.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] this shortcut is valid.
|
If [code]true[/code], this shortcut is valid.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
|
|
@ -318,7 +318,7 @@
|
||||||
Local translation of this node.
|
Local translation of this node.
|
||||||
</member>
|
</member>
|
||||||
<member name="visible" type="bool" setter="set_visible" getter="is_visible">
|
<member name="visible" type="bool" setter="set_visible" getter="is_visible">
|
||||||
If [code]true[/code] this node is drawn. Default value: [code]true[/code].
|
If [code]true[/code], this node is drawn. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
The strength of the anisotropy effect.
|
The strength of the anisotropy effect.
|
||||||
</member>
|
</member>
|
||||||
<member name="anisotropy_enabled" type="bool" setter="set_feature" getter="get_feature">
|
<member name="anisotropy_enabled" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] anisotropy is enabled. Changes the shape of the specular blob and aligns it to tangent space. Default value: [code]false[/code].
|
If [code]true[/code], anisotropy is enabled. Changes the shape of the specular blob and aligns it to tangent space. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="anisotropy_flowmap" type="Texture" setter="set_texture" getter="get_texture">
|
<member name="anisotropy_flowmap" type="Texture" setter="set_texture" getter="get_texture">
|
||||||
</member>
|
</member>
|
||||||
<member name="ao_enabled" type="bool" setter="set_feature" getter="get_feature">
|
<member name="ao_enabled" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] ambient occlusion is enabled.
|
If [code]true[/code], ambient occlusion is enabled.
|
||||||
</member>
|
</member>
|
||||||
<member name="ao_light_affect" type="float" setter="set_ao_light_affect" getter="get_ao_light_affect">
|
<member name="ao_light_affect" type="float" setter="set_ao_light_affect" getter="get_ao_light_affect">
|
||||||
</member>
|
</member>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<member name="clearcoat" type="float" setter="set_clearcoat" getter="get_clearcoat">
|
<member name="clearcoat" type="float" setter="set_clearcoat" getter="get_clearcoat">
|
||||||
</member>
|
</member>
|
||||||
<member name="clearcoat_enabled" type="bool" setter="set_feature" getter="get_feature">
|
<member name="clearcoat_enabled" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] clearcoat rendering is enabled. Adds a secondary transparent pass to the material. Default value: [code]false[/code].
|
If [code]true[/code], clearcoat rendering is enabled. Adds a secondary transparent pass to the material. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="clearcoat_gloss" type="float" setter="set_clearcoat_gloss" getter="get_clearcoat_gloss">
|
<member name="clearcoat_gloss" type="float" setter="set_clearcoat_gloss" getter="get_clearcoat_gloss">
|
||||||
</member>
|
</member>
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
<member name="depth_deep_parallax" type="bool" setter="set_depth_deep_parallax" getter="is_depth_deep_parallax_enabled">
|
<member name="depth_deep_parallax" type="bool" setter="set_depth_deep_parallax" getter="is_depth_deep_parallax_enabled">
|
||||||
</member>
|
</member>
|
||||||
<member name="depth_enabled" type="bool" setter="set_feature" getter="get_feature">
|
<member name="depth_enabled" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] Depth mapping is enabled. See also [member normal_enabled].
|
If [code]true[/code], Depth mapping is enabled. See also [member normal_enabled].
|
||||||
</member>
|
</member>
|
||||||
<member name="depth_flip_binormal" type="bool" setter="set_depth_deep_parallax_flip_binormal" getter="get_depth_deep_parallax_flip_binormal">
|
<member name="depth_flip_binormal" type="bool" setter="set_depth_deep_parallax_flip_binormal" getter="get_depth_deep_parallax_flip_binormal">
|
||||||
</member>
|
</member>
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
The emitted light's color. See [member emission_enabled].
|
The emitted light's color. See [member emission_enabled].
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_enabled" type="bool" setter="set_feature" getter="get_feature">
|
<member name="emission_enabled" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] the body emits light.
|
If [code]true[/code], the body emits light.
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_energy" type="float" setter="set_emission_energy" getter="get_emission_energy">
|
<member name="emission_energy" type="float" setter="set_emission_energy" getter="get_emission_energy">
|
||||||
The emitted light's strength. See [member emission_enabled].
|
The emitted light's strength. See [member emission_enabled].
|
||||||
|
@ -100,33 +100,33 @@
|
||||||
<member name="flags_albedo_tex_force_srgb" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flags_albedo_tex_force_srgb" type="bool" setter="set_flag" getter="get_flag">
|
||||||
</member>
|
</member>
|
||||||
<member name="flags_disable_ambient_light" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flags_disable_ambient_light" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] the object receives no ambient light. Default value: [code]false[/code].
|
If [code]true[/code], the object receives no ambient light. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flags_do_not_receive_shadows" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flags_do_not_receive_shadows" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] the object receives no shadow that would otherwise be cast onto it. Default value: [code]false[/code].
|
If [code]true[/code], the object receives no shadow that would otherwise be cast onto it. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flags_ensure_correct_normals" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flags_ensure_correct_normals" type="bool" setter="set_flag" getter="get_flag">
|
||||||
</member>
|
</member>
|
||||||
<member name="flags_fixed_size" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flags_fixed_size" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] the object is rendered at the same size regardless of distance. Default value: [code]false[/code].
|
If [code]true[/code], the object is rendered at the same size regardless of distance. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flags_no_depth_test" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flags_no_depth_test" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] depth testing is disabled and the object will be drawn in render order.
|
If [code]true[/code], depth testing is disabled and the object will be drawn in render order.
|
||||||
</member>
|
</member>
|
||||||
<member name="flags_transparent" type="bool" setter="set_feature" getter="get_feature">
|
<member name="flags_transparent" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] transparency is enabled on the body. Default value: [code]false[/code]. See also [member params_blend_mode].
|
If [code]true[/code], transparency is enabled on the body. Default value: [code]false[/code]. See also [member params_blend_mode].
|
||||||
</member>
|
</member>
|
||||||
<member name="flags_unshaded" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flags_unshaded" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] the object is unaffected by lighting. Default value: [code]false[/code].
|
If [code]true[/code], the object is unaffected by lighting. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flags_use_point_size" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flags_use_point_size" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] render point size can be changed. Note: this is only effective for objects whose geometry is point-based rather than triangle-based. See also [member params_point_size].
|
If [code]true[/code], render point size can be changed. Note: this is only effective for objects whose geometry is point-based rather than triangle-based. See also [member params_point_size].
|
||||||
</member>
|
</member>
|
||||||
<member name="flags_vertex_lighting" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flags_vertex_lighting" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] lighting is calculated per vertex rather than per pixel. This may increase performance on low-end devices. Default value: [code]false[/code].
|
If [code]true[/code], lighting is calculated per vertex rather than per pixel. This may increase performance on low-end devices. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flags_world_triplanar" type="bool" setter="set_flag" getter="get_flag">
|
<member name="flags_world_triplanar" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] triplanar mapping is calculated in world space rather than object local space. See also [member uv1_triplanar]. Default value: [code]false[/code].
|
If [code]true[/code], triplanar mapping is calculated in world space rather than object local space. See also [member uv1_triplanar]. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="metallic" type="float" setter="set_metallic" getter="get_metallic">
|
<member name="metallic" type="float" setter="set_metallic" getter="get_metallic">
|
||||||
The reflectivity of the object's surface. The higher the value the more light is reflected.
|
The reflectivity of the object's surface. The higher the value the more light is reflected.
|
||||||
|
@ -139,7 +139,7 @@
|
||||||
<member name="metallic_texture_channel" type="int" setter="set_metallic_texture_channel" getter="get_metallic_texture_channel" enum="SpatialMaterial.TextureChannel">
|
<member name="metallic_texture_channel" type="int" setter="set_metallic_texture_channel" getter="get_metallic_texture_channel" enum="SpatialMaterial.TextureChannel">
|
||||||
</member>
|
</member>
|
||||||
<member name="normal_enabled" type="bool" setter="set_feature" getter="get_feature">
|
<member name="normal_enabled" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] normal mapping is enabled.
|
If [code]true[/code], normal mapping is enabled.
|
||||||
</member>
|
</member>
|
||||||
<member name="normal_scale" type="float" setter="set_normal_scale" getter="get_normal_scale">
|
<member name="normal_scale" type="float" setter="set_normal_scale" getter="get_normal_scale">
|
||||||
The strength of the normal map's effect.
|
The strength of the normal map's effect.
|
||||||
|
@ -166,7 +166,7 @@
|
||||||
The algorithm used for diffuse light scattering. See [enum DiffuseMode].
|
The algorithm used for diffuse light scattering. See [enum DiffuseMode].
|
||||||
</member>
|
</member>
|
||||||
<member name="params_grow" type="bool" setter="set_grow_enabled" getter="is_grow_enabled">
|
<member name="params_grow" type="bool" setter="set_grow_enabled" getter="is_grow_enabled">
|
||||||
If [code]true[/code] enables the vertex grow setting. See [member params_grow_amount].
|
If [code]true[/code], enables the vertex grow setting. See [member params_grow_amount].
|
||||||
</member>
|
</member>
|
||||||
<member name="params_grow_amount" type="float" setter="set_grow" getter="get_grow">
|
<member name="params_grow_amount" type="float" setter="set_grow" getter="get_grow">
|
||||||
Grows object vertices in the direction of their normals.
|
Grows object vertices in the direction of their normals.
|
||||||
|
@ -185,7 +185,7 @@
|
||||||
The number of horizontal frames in the particle spritesheet. Only enabled when using [code]BillboardMode.BILLBOARD_PARTICLES[/code]. See [member params_billboard_mode].
|
The number of horizontal frames in the particle spritesheet. Only enabled when using [code]BillboardMode.BILLBOARD_PARTICLES[/code]. See [member params_billboard_mode].
|
||||||
</member>
|
</member>
|
||||||
<member name="particles_anim_loop" type="bool" setter="set_particles_anim_loop" getter="get_particles_anim_loop">
|
<member name="particles_anim_loop" type="bool" setter="set_particles_anim_loop" getter="get_particles_anim_loop">
|
||||||
If [code]true[/code] particle animations are looped. Only enabled when using [code]BillboardMode.BILLBOARD_PARTICLES[/code]. See [member params_billboard_mode].
|
If [code]true[/code], particle animations are looped. Only enabled when using [code]BillboardMode.BILLBOARD_PARTICLES[/code]. See [member params_billboard_mode].
|
||||||
</member>
|
</member>
|
||||||
<member name="particles_anim_v_frames" type="int" setter="set_particles_anim_v_frames" getter="get_particles_anim_v_frames">
|
<member name="particles_anim_v_frames" type="int" setter="set_particles_anim_v_frames" getter="get_particles_anim_v_frames">
|
||||||
The number of vertical frames in the particle spritesheet. Only enabled when using [code]BillboardMode.BILLBOARD_PARTICLES[/code]. See [member params_billboard_mode].
|
The number of vertical frames in the particle spritesheet. Only enabled when using [code]BillboardMode.BILLBOARD_PARTICLES[/code]. See [member params_billboard_mode].
|
||||||
|
@ -193,10 +193,10 @@
|
||||||
<member name="proximity_fade_distance" type="float" setter="set_proximity_fade_distance" getter="get_proximity_fade_distance">
|
<member name="proximity_fade_distance" type="float" setter="set_proximity_fade_distance" getter="get_proximity_fade_distance">
|
||||||
</member>
|
</member>
|
||||||
<member name="proximity_fade_enable" type="bool" setter="set_proximity_fade" getter="is_proximity_fade_enabled">
|
<member name="proximity_fade_enable" type="bool" setter="set_proximity_fade" getter="is_proximity_fade_enabled">
|
||||||
If [code]true[/code] the proximity and distance fade effect is enabled. Default value: [code]false[/code].
|
If [code]true[/code], the proximity and distance fade effect is enabled. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="refraction_enabled" type="bool" setter="set_feature" getter="get_feature">
|
<member name="refraction_enabled" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] the refraction effect is enabled. Distorts transparency based on light from behind the object. Default value: [code]false[/code].
|
If [code]true[/code], the refraction effect is enabled. Distorts transparency based on light from behind the object. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="refraction_scale" type="float" setter="set_refraction" getter="get_refraction">
|
<member name="refraction_scale" type="float" setter="set_refraction" getter="get_refraction">
|
||||||
The strength of the refraction effect.
|
The strength of the refraction effect.
|
||||||
|
@ -208,7 +208,7 @@
|
||||||
<member name="rim" type="float" setter="set_rim" getter="get_rim">
|
<member name="rim" type="float" setter="set_rim" getter="get_rim">
|
||||||
</member>
|
</member>
|
||||||
<member name="rim_enabled" type="bool" setter="set_feature" getter="get_feature">
|
<member name="rim_enabled" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] rim effect is enabled. Default value: [code]false[/code].
|
If [code]true[/code], rim effect is enabled. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="rim_texture" type="Texture" setter="set_texture" getter="get_texture">
|
<member name="rim_texture" type="Texture" setter="set_texture" getter="get_texture">
|
||||||
</member>
|
</member>
|
||||||
|
@ -223,7 +223,7 @@
|
||||||
<member name="roughness_texture_channel" type="int" setter="set_roughness_texture_channel" getter="get_roughness_texture_channel" enum="SpatialMaterial.TextureChannel">
|
<member name="roughness_texture_channel" type="int" setter="set_roughness_texture_channel" getter="get_roughness_texture_channel" enum="SpatialMaterial.TextureChannel">
|
||||||
</member>
|
</member>
|
||||||
<member name="subsurf_scatter_enabled" type="bool" setter="set_feature" getter="get_feature">
|
<member name="subsurf_scatter_enabled" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] subsurface scattering is enabled. Emulates light that penetrates an object's surface, is scattered, and then emerges.
|
If [code]true[/code], subsurface scattering is enabled. Emulates light that penetrates an object's surface, is scattered, and then emerges.
|
||||||
</member>
|
</member>
|
||||||
<member name="subsurf_scatter_strength" type="float" setter="set_subsurface_scattering_strength" getter="get_subsurface_scattering_strength">
|
<member name="subsurf_scatter_strength" type="float" setter="set_subsurface_scattering_strength" getter="get_subsurface_scattering_strength">
|
||||||
The strength of the subsurface scattering effect.
|
The strength of the subsurface scattering effect.
|
||||||
|
@ -234,7 +234,7 @@
|
||||||
The color used by the transmission effect. Represents the light passing through an object.
|
The color used by the transmission effect. Represents the light passing through an object.
|
||||||
</member>
|
</member>
|
||||||
<member name="transmission_enabled" type="bool" setter="set_feature" getter="get_feature">
|
<member name="transmission_enabled" type="bool" setter="set_feature" getter="get_feature">
|
||||||
If [code]true[/code] the transmission effect is enabled. Default value: [code]false[/code].
|
If [code]true[/code], the transmission effect is enabled. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="transmission_texture" type="Texture" setter="set_texture" getter="get_texture">
|
<member name="transmission_texture" type="Texture" setter="set_texture" getter="get_texture">
|
||||||
</member>
|
</member>
|
||||||
|
@ -255,10 +255,10 @@
|
||||||
<member name="uv2_triplanar_sharpness" type="float" setter="set_uv2_triplanar_blend_sharpness" getter="get_uv2_triplanar_blend_sharpness">
|
<member name="uv2_triplanar_sharpness" type="float" setter="set_uv2_triplanar_blend_sharpness" getter="get_uv2_triplanar_blend_sharpness">
|
||||||
</member>
|
</member>
|
||||||
<member name="vertex_color_is_srgb" type="bool" setter="set_flag" getter="get_flag">
|
<member name="vertex_color_is_srgb" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] the model's vertex colors are processed as sRGB mode. Default value: [code]false[/code].
|
If [code]true[/code], the model's vertex colors are processed as sRGB mode. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="vertex_color_use_as_albedo" type="bool" setter="set_flag" getter="get_flag">
|
<member name="vertex_color_use_as_albedo" type="bool" setter="set_flag" getter="get_flag">
|
||||||
If [code]true[/code] the vertex color is used as albedo color. Default value: [code]false[/code].
|
If [code]true[/code], the vertex color is used as albedo color. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -29,13 +29,13 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="centered" type="bool" setter="set_centered" getter="is_centered">
|
<member name="centered" type="bool" setter="set_centered" getter="is_centered">
|
||||||
If [code]true[/code] texture is centered. Default value: [code]true[/code].
|
If [code]true[/code], texture is centered. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h">
|
<member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h">
|
||||||
If [code]true[/code] texture is flipped horizontally. Default value: [code]false[/code].
|
If [code]true[/code], texture is flipped horizontally. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v">
|
<member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v">
|
||||||
If [code]true[/code] texture is flipped vertically. Default value: [code]false[/code].
|
If [code]true[/code], texture is flipped vertically. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="frame" type="int" setter="set_frame" getter="get_frame">
|
<member name="frame" type="int" setter="set_frame" getter="get_frame">
|
||||||
Current frame to display from sprite sheet. [member vframes] or [member hframes] must be greater than 1.
|
Current frame to display from sprite sheet. [member vframes] or [member hframes] must be greater than 1.
|
||||||
|
@ -50,10 +50,10 @@
|
||||||
The texture's drawing offset.
|
The texture's drawing offset.
|
||||||
</member>
|
</member>
|
||||||
<member name="region_enabled" type="bool" setter="set_region" getter="is_region">
|
<member name="region_enabled" type="bool" setter="set_region" getter="is_region">
|
||||||
If [code]true[/code] texture is cut from a larger atlas texture. See [code]region_rect[/code]. Default value: [code]false[/code].
|
If [code]true[/code], texture is cut from a larger atlas texture. See [code]region_rect[/code]. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="region_filter_clip" type="bool" setter="set_region_filter_clip" getter="is_region_filter_clip_enabled">
|
<member name="region_filter_clip" type="bool" setter="set_region_filter_clip" getter="is_region_filter_clip_enabled">
|
||||||
If [code]true[/code] the outermost pixels get blurred out.
|
If [code]true[/code], the outermost pixels get blurred out.
|
||||||
</member>
|
</member>
|
||||||
<member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect">
|
<member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect">
|
||||||
The region of the atlas texture to display. [member region_enabled] must be [code]true[/code].
|
The region of the atlas texture to display. [member region_enabled] must be [code]true[/code].
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
The number of columns in the sprite sheet.
|
The number of columns in the sprite sheet.
|
||||||
</member>
|
</member>
|
||||||
<member name="region_enabled" type="bool" setter="set_region" getter="is_region">
|
<member name="region_enabled" type="bool" setter="set_region" getter="is_region">
|
||||||
If [code]true[/code] texture will be cut from a larger atlas texture. See [member region_rect]. Default value: [code]false[/code].
|
If [code]true[/code], texture will be cut from a larger atlas texture. See [member region_rect]. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect">
|
<member name="region_rect" type="Rect2" setter="set_region_rect" getter="get_region_rect">
|
||||||
The region of the atlas texture to display. [member region_enabled] must be [code]true[/code].
|
The region of the atlas texture to display. [member region_enabled] must be [code]true[/code].
|
||||||
|
|
|
@ -31,16 +31,16 @@
|
||||||
The direction in which the front of the texture faces.
|
The direction in which the front of the texture faces.
|
||||||
</member>
|
</member>
|
||||||
<member name="centered" type="bool" setter="set_centered" getter="is_centered">
|
<member name="centered" type="bool" setter="set_centered" getter="is_centered">
|
||||||
If [code]true[/code] texture will be centered. Default value: [code]true[/code].
|
If [code]true[/code], texture will be centered. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="double_sided" type="bool" setter="set_draw_flag" getter="get_draw_flag">
|
<member name="double_sided" type="bool" setter="set_draw_flag" getter="get_draw_flag">
|
||||||
If [code]true[/code] texture can be seen from the back as well, if [code]false[/code], it is invisible when looking at it from behind. Default value: [code]true[/code].
|
If [code]true[/code], texture can be seen from the back as well, if [code]false[/code], it is invisible when looking at it from behind. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h">
|
<member name="flip_h" type="bool" setter="set_flip_h" getter="is_flipped_h">
|
||||||
If [code]true[/code] texture is flipped horizontally. Default value: [code]false[/code].
|
If [code]true[/code], texture is flipped horizontally. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v">
|
<member name="flip_v" type="bool" setter="set_flip_v" getter="is_flipped_v">
|
||||||
If [code]true[/code] texture is flipped vertically. Default value: [code]false[/code].
|
If [code]true[/code], texture is flipped vertically. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="modulate" type="Color" setter="set_modulate" getter="get_modulate">
|
<member name="modulate" type="Color" setter="set_modulate" getter="get_modulate">
|
||||||
A color value that gets multiplied on, could be used for mood-coloring or to simulate the color of light.
|
A color value that gets multiplied on, could be used for mood-coloring or to simulate the color of light.
|
||||||
|
@ -55,10 +55,10 @@
|
||||||
The size of one pixel's width on the Sprite to scale it in 3D.
|
The size of one pixel's width on the Sprite to scale it in 3D.
|
||||||
</member>
|
</member>
|
||||||
<member name="shaded" type="bool" setter="set_draw_flag" getter="get_draw_flag">
|
<member name="shaded" type="bool" setter="set_draw_flag" getter="get_draw_flag">
|
||||||
If [code]true[/code] the [Light] in the [Environment] has effects on the Sprite. Default value: [code]false[/code].
|
If [code]true[/code], the [Light] in the [Environment] has effects on the Sprite. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="transparent" type="bool" setter="set_draw_flag" getter="get_draw_flag">
|
<member name="transparent" type="bool" setter="set_draw_flag" getter="get_draw_flag">
|
||||||
If [code]true[/code] the texture's transparency and the opacity are used to make those parts of the Sprite invisible. Default value: [code]true[/code].
|
If [code]true[/code], the texture's transparency and the opacity are used to make those parts of the Sprite invisible. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
<argument index="0" name="anim" type="String">
|
<argument index="0" name="anim" type="String">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the given animation will loop.
|
If [code]true[/code], the given animation will loop.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get_animation_names" qualifiers="const">
|
<method name="get_animation_names" qualifiers="const">
|
||||||
|
@ -100,7 +100,7 @@
|
||||||
<argument index="0" name="anim" type="String">
|
<argument index="0" name="anim" type="String">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the named animation exists.
|
If [code]true[/code], the named animation exists.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="remove_animation">
|
<method name="remove_animation">
|
||||||
|
@ -142,7 +142,7 @@
|
||||||
<argument index="1" name="loop" type="bool">
|
<argument index="1" name="loop" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the animation will loop.
|
If [code]true[/code], the animation will loop.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_animation_speed">
|
<method name="set_animation_speed">
|
||||||
|
|
|
@ -148,7 +148,7 @@
|
||||||
The alignment of all tabs in the tab container. See the [code]ALIGN_*[/code] constants for details.
|
The alignment of all tabs in the tab container. See the [code]ALIGN_*[/code] constants for details.
|
||||||
</member>
|
</member>
|
||||||
<member name="tabs_visible" type="bool" setter="set_tabs_visible" getter="are_tabs_visible">
|
<member name="tabs_visible" type="bool" setter="set_tabs_visible" getter="are_tabs_visible">
|
||||||
If [code]true[/code] tabs are visible. If [code]false[/code] tabs' content and titles are hidden. Default value: [code]true[/code].
|
If [code]true[/code], tabs are visible. If [code]false[/code], tabs' content and titles are hidden. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -126,7 +126,7 @@
|
||||||
<argument index="0" name="enabled" type="bool">
|
<argument index="0" name="enabled" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] enables selecting a tab with right mouse button.
|
If [code]true[/code], enables selecting a tab with right mouse button.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_tab_disabled">
|
<method name="set_tab_disabled">
|
||||||
|
|
|
@ -359,39 +359,39 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="breakpoint_gutter" type="bool" setter="set_breakpoint_gutter_enabled" getter="is_breakpoint_gutter_enabled">
|
<member name="breakpoint_gutter" type="bool" setter="set_breakpoint_gutter_enabled" getter="is_breakpoint_gutter_enabled">
|
||||||
If [code]true[/code] the breakpoint gutter is visible.
|
If [code]true[/code], the breakpoint gutter is visible.
|
||||||
</member>
|
</member>
|
||||||
<member name="caret_blink" type="bool" setter="cursor_set_blink_enabled" getter="cursor_get_blink_enabled">
|
<member name="caret_blink" type="bool" setter="cursor_set_blink_enabled" getter="cursor_get_blink_enabled">
|
||||||
If [code]true[/code] the caret (visual cursor) blinks.
|
If [code]true[/code], the caret (visual cursor) blinks.
|
||||||
</member>
|
</member>
|
||||||
<member name="caret_blink_speed" type="float" setter="cursor_set_blink_speed" getter="cursor_get_blink_speed">
|
<member name="caret_blink_speed" type="float" setter="cursor_set_blink_speed" getter="cursor_get_blink_speed">
|
||||||
Duration (in seconds) of a caret's blinking cycle.
|
Duration (in seconds) of a caret's blinking cycle.
|
||||||
</member>
|
</member>
|
||||||
<member name="caret_block_mode" type="bool" setter="cursor_set_block_mode" getter="cursor_is_block_mode">
|
<member name="caret_block_mode" type="bool" setter="cursor_set_block_mode" getter="cursor_is_block_mode">
|
||||||
If [code]true[/code] the caret displays as a rectangle.
|
If [code]true[/code], the caret displays as a rectangle.
|
||||||
If [code]false[/code] the caret displays as a bar.
|
If [code]false[/code], the caret displays as a bar.
|
||||||
</member>
|
</member>
|
||||||
<member name="caret_moving_by_right_click" type="bool" setter="set_right_click_moves_caret" getter="is_right_click_moving_caret">
|
<member name="caret_moving_by_right_click" type="bool" setter="set_right_click_moves_caret" getter="is_right_click_moving_caret">
|
||||||
If [code]true[/code] a right click moves the cursor at the mouse position before displaying the context menu.
|
If [code]true[/code], a right click moves the cursor at the mouse position before displaying the context menu.
|
||||||
If [code]false[/code] the context menu disregards mouse location.
|
If [code]false[/code], the context menu disregards mouse location.
|
||||||
</member>
|
</member>
|
||||||
<member name="context_menu_enabled" type="bool" setter="set_context_menu_enabled" getter="is_context_menu_enabled">
|
<member name="context_menu_enabled" type="bool" setter="set_context_menu_enabled" getter="is_context_menu_enabled">
|
||||||
If [code]true[/code] a right click displays the context menu.
|
If [code]true[/code], a right click displays the context menu.
|
||||||
</member>
|
</member>
|
||||||
<member name="hiding_enabled" type="int" setter="set_hiding_enabled" getter="is_hiding_enabled">
|
<member name="hiding_enabled" type="int" setter="set_hiding_enabled" getter="is_hiding_enabled">
|
||||||
</member>
|
</member>
|
||||||
<member name="highlight_all_occurrences" type="bool" setter="set_highlight_all_occurrences" getter="is_highlight_all_occurrences_enabled">
|
<member name="highlight_all_occurrences" type="bool" setter="set_highlight_all_occurrences" getter="is_highlight_all_occurrences_enabled">
|
||||||
</member>
|
</member>
|
||||||
<member name="highlight_current_line" type="bool" setter="set_highlight_current_line" getter="is_highlight_current_line_enabled">
|
<member name="highlight_current_line" type="bool" setter="set_highlight_current_line" getter="is_highlight_current_line_enabled">
|
||||||
If [code]true[/code] the line containing the cursor is highlighted.
|
If [code]true[/code], the line containing the cursor is highlighted.
|
||||||
</member>
|
</member>
|
||||||
<member name="override_selected_font_color" type="bool" setter="set_override_selected_font_color" getter="is_overriding_selected_font_color">
|
<member name="override_selected_font_color" type="bool" setter="set_override_selected_font_color" getter="is_overriding_selected_font_color">
|
||||||
</member>
|
</member>
|
||||||
<member name="readonly" type="bool" setter="set_readonly" getter="is_readonly">
|
<member name="readonly" type="bool" setter="set_readonly" getter="is_readonly">
|
||||||
If [code]true[/code] read-only mode is enabled. Existing text cannot be modified and new text cannot be added.
|
If [code]true[/code], read-only mode is enabled. Existing text cannot be modified and new text cannot be added.
|
||||||
</member>
|
</member>
|
||||||
<member name="show_line_numbers" type="bool" setter="set_show_line_numbers" getter="is_show_line_numbers_enabled">
|
<member name="show_line_numbers" type="bool" setter="set_show_line_numbers" getter="is_show_line_numbers_enabled">
|
||||||
If [code]true[/code] line numbers are displayed to the left of the text.
|
If [code]true[/code], line numbers are displayed to the left of the text.
|
||||||
</member>
|
</member>
|
||||||
<member name="smooth_scrolling" type="bool" setter="set_smooth_scroll_enable" getter="is_smooth_scroll_enabled">
|
<member name="smooth_scrolling" type="bool" setter="set_smooth_scroll_enable" getter="is_smooth_scroll_enabled">
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="expand" type="bool" setter="set_expand" getter="get_expand">
|
<member name="expand" type="bool" setter="set_expand" getter="get_expand">
|
||||||
If [code]true[/code] the texture stretches to the edges of the node's bounding rectangle using the [member stretch_mode]. If [code]false[/code] the texture will not scale with the node. Default value: [code]false[/code].
|
If [code]true[/code], the texture stretches to the edges of the node's bounding rectangle using the [member stretch_mode]. If [code]false[/code], the texture will not scale with the node. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" enum="TextureButton.StretchMode">
|
<member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" enum="TextureButton.StretchMode">
|
||||||
Controls the texture's behavior when you resize the node's bounding rectangle, [b]only if[/b] [member expand] is [code]true[/code]. Set it to one of the [code]STRETCH_*[/code] constants. See the constants to learn more.
|
Controls the texture's behavior when you resize the node's bounding rectangle, [b]only if[/b] [member expand] is [code]true[/code]. Set it to one of the [code]STRETCH_*[/code] constants. See the constants to learn more.
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
The fill direction. Uses FILL_* constants.
|
The fill direction. Uses FILL_* constants.
|
||||||
</member>
|
</member>
|
||||||
<member name="nine_patch_stretch" type="bool" setter="set_nine_patch_stretch" getter="get_nine_patch_stretch">
|
<member name="nine_patch_stretch" type="bool" setter="set_nine_patch_stretch" getter="get_nine_patch_stretch">
|
||||||
If [code]true[/code] Godot treats the bar's textures like [NinePatchRect]. Use [code]stretch_margin_*[/code], like [member stretch_margin_bottom], to set up the nine patch's 3x3 grid. Default value: [code]false[/code].
|
If [code]true[/code], Godot treats the bar's textures like [NinePatchRect]. Use [code]stretch_margin_*[/code], like [member stretch_margin_bottom], to set up the nine patch's 3x3 grid. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="radial_center_offset" type="Vector2" setter="set_radial_center_offset" getter="get_radial_center_offset">
|
<member name="radial_center_offset" type="Vector2" setter="set_radial_center_offset" getter="get_radial_center_offset">
|
||||||
Offsets [member texture_progress] if [member fill_mode] is [code]FILL_CLOCKWISE[/code] or [code]FILL_COUNTER_CLOCKWISE[/code].
|
Offsets [member texture_progress] if [member fill_mode] is [code]FILL_CLOCKWISE[/code] or [code]FILL_COUNTER_CLOCKWISE[/code].
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="expand" type="bool" setter="set_expand" getter="has_expand">
|
<member name="expand" type="bool" setter="set_expand" getter="has_expand">
|
||||||
If [code]true[/code] the texture scales to fit its bounding rectangle. Default value: [code]false[/code].
|
If [code]true[/code], the texture scales to fit its bounding rectangle. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" enum="TextureRect.StretchMode">
|
<member name="stretch_mode" type="int" setter="set_stretch_mode" getter="get_stretch_mode" enum="TextureRect.StretchMode">
|
||||||
Controls the texture's behavior when resizing the node's bounding rectangle. See [enum StretchMode].
|
Controls the texture's behavior when resizing the node's bounding rectangle. See [enum StretchMode].
|
||||||
|
|
|
@ -257,7 +257,7 @@
|
||||||
Position for tile origin. Uses TILE_ORIGIN_* constants. Default value: TILE_ORIGIN_TOP_LEFT.
|
Position for tile origin. Uses TILE_ORIGIN_* constants. Default value: TILE_ORIGIN_TOP_LEFT.
|
||||||
</member>
|
</member>
|
||||||
<member name="cell_y_sort" type="bool" setter="set_y_sort_mode" getter="is_y_sort_mode_enabled">
|
<member name="cell_y_sort" type="bool" setter="set_y_sort_mode" getter="is_y_sort_mode_enabled">
|
||||||
If [code]true[/code] the TileMap's children will be drawn in order of their Y coordinate. Default value: [code]false[/code].
|
If [code]true[/code], the TileMap's children will be drawn in order of their Y coordinate. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="collision_bounce" type="float" setter="set_collision_bounce" getter="get_collision_bounce">
|
<member name="collision_bounce" type="float" setter="set_collision_bounce" getter="get_collision_bounce">
|
||||||
Bounce value for static body collisions (see [code]collision_use_kinematic[/code]). Default value: 0.
|
Bounce value for static body collisions (see [code]collision_use_kinematic[/code]). Default value: 0.
|
||||||
|
@ -272,7 +272,7 @@
|
||||||
The collision mask(s) for all colliders in the TileMap.
|
The collision mask(s) for all colliders in the TileMap.
|
||||||
</member>
|
</member>
|
||||||
<member name="collision_use_kinematic" type="bool" setter="set_collision_use_kinematic" getter="get_collision_use_kinematic">
|
<member name="collision_use_kinematic" type="bool" setter="set_collision_use_kinematic" getter="get_collision_use_kinematic">
|
||||||
If [code]true[/code] TileMap collisions will be handled as a kinematic body. If [code]false[/code] collisions will be handled as static body. Default value: [code]false[/code].
|
If [code]true[/code], TileMap collisions will be handled as a kinematic body. If [code]false[/code], collisions will be handled as static body. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="TileMap.Mode">
|
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="TileMap.Mode">
|
||||||
The TileMap orientation mode. Uses MODE_* constants. Default value: MODE_SQUARE.
|
The TileMap orientation mode. Uses MODE_* constants. Default value: MODE_SQUARE.
|
||||||
|
|
|
@ -38,13 +38,13 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="autostart" type="bool" setter="set_autostart" getter="has_autostart">
|
<member name="autostart" type="bool" setter="set_autostart" getter="has_autostart">
|
||||||
If [code]true[/code] the timer will automatically start when entering the scene tree. Default value: [code]false[/code].
|
If [code]true[/code], the timer will automatically start when entering the scene tree. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="one_shot" type="bool" setter="set_one_shot" getter="is_one_shot">
|
<member name="one_shot" type="bool" setter="set_one_shot" getter="is_one_shot">
|
||||||
If [code]true[/code] the timer will stop when reaching 0. If [code]false[/code] it will restart. Default value: [code]false[/code].
|
If [code]true[/code], the timer will stop when reaching 0. If [code]false[/code], it will restart. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="paused" type="bool" setter="set_paused" getter="is_paused">
|
<member name="paused" type="bool" setter="set_paused" getter="is_paused">
|
||||||
If [code]true[/code] the timer is paused and will not process until it is unpaused again, even if [method start] is called.
|
If [code]true[/code], the timer is paused and will not process until it is unpaused again, even if [method start] is called.
|
||||||
</member>
|
</member>
|
||||||
<member name="process_mode" type="int" setter="set_timer_process_mode" getter="get_timer_process_mode" enum="Timer.TimerProcessMode">
|
<member name="process_mode" type="int" setter="set_timer_process_mode" getter="get_timer_process_mode" enum="Timer.TimerProcessMode">
|
||||||
Processing mode. See [enum TimerProcessMode].
|
Processing mode. See [enum TimerProcessMode].
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
The button's texture for the normal state.
|
The button's texture for the normal state.
|
||||||
</member>
|
</member>
|
||||||
<member name="passby_press" type="bool" setter="set_passby_press" getter="is_passby_press_enabled">
|
<member name="passby_press" type="bool" setter="set_passby_press" getter="is_passby_press_enabled">
|
||||||
If [code]true[/code] passby presses are enabled.
|
If [code]true[/code], passby presses are enabled.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressed" type="Texture" setter="set_texture_pressed" getter="get_texture_pressed">
|
<member name="pressed" type="Texture" setter="set_texture_pressed" getter="get_texture_pressed">
|
||||||
The button's texture for the pressed state.
|
The button's texture for the pressed state.
|
||||||
|
@ -39,10 +39,10 @@
|
||||||
The button's shape.
|
The button's shape.
|
||||||
</member>
|
</member>
|
||||||
<member name="shape_centered" type="bool" setter="set_shape_centered" getter="is_shape_centered">
|
<member name="shape_centered" type="bool" setter="set_shape_centered" getter="is_shape_centered">
|
||||||
If [code]true[/code] the button's shape is centered.
|
If [code]true[/code], the button's shape is centered.
|
||||||
</member>
|
</member>
|
||||||
<member name="shape_visible" type="bool" setter="set_shape_visible" getter="is_shape_visible">
|
<member name="shape_visible" type="bool" setter="set_shape_visible" getter="is_shape_visible">
|
||||||
If [code]true[/code] the button's shape is visible.
|
If [code]true[/code], the button's shape is visible.
|
||||||
</member>
|
</member>
|
||||||
<member name="visibility_mode" type="int" setter="set_visibility_mode" getter="get_visibility_mode" enum="TouchScreenButton.VisibilityMode">
|
<member name="visibility_mode" type="int" setter="set_visibility_mode" getter="get_visibility_mode" enum="TouchScreenButton.VisibilityMode">
|
||||||
The button's visibility mode. See [code]VISIBILITY_*[/code] constants.
|
The button's visibility mode. See [code]VISIBILITY_*[/code] constants.
|
||||||
|
|
|
@ -184,7 +184,7 @@
|
||||||
<argument index="1" name="expand" type="bool">
|
<argument index="1" name="expand" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the column will have the "Expand" flag of [Control].
|
If [code]true[/code], the column will have the "Expand" flag of [Control].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_column_min_width">
|
<method name="set_column_min_width">
|
||||||
|
@ -215,16 +215,16 @@
|
||||||
<argument index="0" name="visible" type="bool">
|
<argument index="0" name="visible" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] column titles are visible.
|
If [code]true[/code], column titles are visible.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="allow_reselect" type="bool" setter="set_allow_reselect" getter="get_allow_reselect">
|
<member name="allow_reselect" type="bool" setter="set_allow_reselect" getter="get_allow_reselect">
|
||||||
If [code]true[/code] the currently selected cell may be selected again.
|
If [code]true[/code], the currently selected cell may be selected again.
|
||||||
</member>
|
</member>
|
||||||
<member name="allow_rmb_select" type="bool" setter="set_allow_rmb_select" getter="get_allow_rmb_select">
|
<member name="allow_rmb_select" type="bool" setter="set_allow_rmb_select" getter="get_allow_rmb_select">
|
||||||
If [code]true[/code] a right mouse button click can select items.
|
If [code]true[/code], a right mouse button click can select items.
|
||||||
</member>
|
</member>
|
||||||
<member name="columns" type="int" setter="set_columns" getter="get_columns">
|
<member name="columns" type="int" setter="set_columns" getter="get_columns">
|
||||||
The amount of columns.
|
The amount of columns.
|
||||||
|
@ -233,10 +233,10 @@
|
||||||
The drop mode as an OR combination of flags. See [code]DROP_MODE_*[/code] constants. Once dropping is done, reverts to [code]DROP_MODE_DISABLED[/code]. Setting this during [method Control.can_drop_data] is recommended.
|
The drop mode as an OR combination of flags. See [code]DROP_MODE_*[/code] constants. Once dropping is done, reverts to [code]DROP_MODE_DISABLED[/code]. Setting this during [method Control.can_drop_data] is recommended.
|
||||||
</member>
|
</member>
|
||||||
<member name="hide_folding" type="bool" setter="set_hide_folding" getter="is_folding_hidden">
|
<member name="hide_folding" type="bool" setter="set_hide_folding" getter="is_folding_hidden">
|
||||||
If [code]true[/code] the folding arrow is hidden.
|
If [code]true[/code], the folding arrow is hidden.
|
||||||
</member>
|
</member>
|
||||||
<member name="hide_root" type="bool" setter="set_hide_root" getter="is_root_hidden">
|
<member name="hide_root" type="bool" setter="set_hide_root" getter="is_root_hidden">
|
||||||
If [code]true[/code] the tree's root is hidden.
|
If [code]true[/code], the tree's root is hidden.
|
||||||
</member>
|
</member>
|
||||||
<member name="select_mode" type="int" setter="set_select_mode" getter="get_select_mode" enum="Tree.SelectMode">
|
<member name="select_mode" type="int" setter="set_select_mode" getter="get_select_mode" enum="Tree.SelectMode">
|
||||||
Allow single or multiple selection. See the [code]SELECT_*[/code] constants.
|
Allow single or multiple selection. See the [code]SELECT_*[/code] constants.
|
||||||
|
|
|
@ -352,7 +352,7 @@
|
||||||
<argument index="1" name="checked" type="bool">
|
<argument index="1" name="checked" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the column [code]column[/code] is checked.
|
If [code]true[/code], the column [code]column[/code] is checked.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_custom_as_button">
|
<method name="set_custom_as_button">
|
||||||
|
@ -411,7 +411,7 @@
|
||||||
<argument index="1" name="enabled" type="bool">
|
<argument index="1" name="enabled" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] column [code]column[/code] is editable.
|
If [code]true[/code], column [code]column[/code] is editable.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_expand_right">
|
<method name="set_expand_right">
|
||||||
|
@ -422,7 +422,7 @@
|
||||||
<argument index="1" name="enable" type="bool">
|
<argument index="1" name="enable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] column [code]column[/code] is expanded to the right.
|
If [code]true[/code], column [code]column[/code] is expanded to the right.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_icon">
|
<method name="set_icon">
|
||||||
|
@ -502,7 +502,7 @@
|
||||||
<argument index="1" name="selectable" type="bool">
|
<argument index="1" name="selectable" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the given column is selectable.
|
If [code]true[/code], the given column is selectable.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_text">
|
<method name="set_text">
|
||||||
|
@ -540,13 +540,13 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="collapsed" type="bool" setter="set_collapsed" getter="is_collapsed">
|
<member name="collapsed" type="bool" setter="set_collapsed" getter="is_collapsed">
|
||||||
If [code]true[/code] the TreeItem is collapsed.
|
If [code]true[/code], the TreeItem is collapsed.
|
||||||
</member>
|
</member>
|
||||||
<member name="custom_minimum_height" type="int" setter="set_custom_minimum_height" getter="get_custom_minimum_height">
|
<member name="custom_minimum_height" type="int" setter="set_custom_minimum_height" getter="get_custom_minimum_height">
|
||||||
The custom minimum height.
|
The custom minimum height.
|
||||||
</member>
|
</member>
|
||||||
<member name="disable_folding" type="bool" setter="set_disable_folding" getter="is_folding_disabled">
|
<member name="disable_folding" type="bool" setter="set_disable_folding" getter="is_folding_disabled">
|
||||||
If [code]true[/code] folding is disabled for this TreeItem.
|
If [code]true[/code], folding is disabled for this TreeItem.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -346,7 +346,7 @@
|
||||||
The tween's speed multiplier. For example, set it to [code]1.0[/code] for normal speed, [code]2.0[/code] for two times normal speed, or [code]0.5[/code] for half of the normal speed. A value of [code]0[/code] pauses the animation, but see also [method set_active] or [method stop_all] for this.
|
The tween's speed multiplier. For example, set it to [code]1.0[/code] for normal speed, [code]2.0[/code] for two times normal speed, or [code]0.5[/code] for half of the normal speed. A value of [code]0[/code] pauses the animation, but see also [method set_active] or [method stop_all] for this.
|
||||||
</member>
|
</member>
|
||||||
<member name="repeat" type="bool" setter="set_repeat" getter="is_repeat">
|
<member name="repeat" type="bool" setter="set_repeat" getter="is_repeat">
|
||||||
If [code]true[/code] the tween loops.
|
If [code]true[/code], the tween loops.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
The embedded audio track to play.
|
The embedded audio track to play.
|
||||||
</member>
|
</member>
|
||||||
<member name="autoplay" type="bool" setter="set_autoplay" getter="has_autoplay">
|
<member name="autoplay" type="bool" setter="set_autoplay" getter="has_autoplay">
|
||||||
If [code]true[/code] playback starts when the scene loads. Default value: [code]false[/code].
|
If [code]true[/code], playback starts when the scene loads. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="buffering_msec" type="int" setter="set_buffering_msec" getter="get_buffering_msec">
|
<member name="buffering_msec" type="int" setter="set_buffering_msec" getter="get_buffering_msec">
|
||||||
Amount of time in milliseconds to store in buffer while playing.
|
Amount of time in milliseconds to store in buffer while playing.
|
||||||
|
@ -61,10 +61,10 @@
|
||||||
Audio bus to use for sound playback.
|
Audio bus to use for sound playback.
|
||||||
</member>
|
</member>
|
||||||
<member name="expand" type="bool" setter="set_expand" getter="has_expand">
|
<member name="expand" type="bool" setter="set_expand" getter="has_expand">
|
||||||
If [code]true[/code] the video scales to the control size. Default value: [code]true[/code].
|
If [code]true[/code], the video scales to the control size. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="paused" type="bool" setter="set_paused" getter="is_paused">
|
<member name="paused" type="bool" setter="set_paused" getter="is_paused">
|
||||||
If [code]true[/code] the video is paused.
|
If [code]true[/code], the video is paused.
|
||||||
</member>
|
</member>
|
||||||
<member name="stream" type="VideoStream" setter="set_stream" getter="get_stream">
|
<member name="stream" type="VideoStream" setter="set_stream" getter="get_stream">
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -178,7 +178,7 @@
|
||||||
<argument index="0" name="enabled" type="bool">
|
<argument index="0" name="enabled" type="bool">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the size override affects stretch as well.
|
If [code]true[/code], the size override affects stretch as well.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="unhandled_input">
|
<method name="unhandled_input">
|
||||||
|
@ -208,13 +208,13 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="arvr" type="bool" setter="set_use_arvr" getter="use_arvr">
|
<member name="arvr" type="bool" setter="set_use_arvr" getter="use_arvr">
|
||||||
If [code]true[/code] the viewport will be used in AR/VR process. Default value: [code]false[/code].
|
If [code]true[/code], the viewport will be used in AR/VR process. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="audio_listener_enable_2d" type="bool" setter="set_as_audio_listener_2d" getter="is_audio_listener_2d">
|
<member name="audio_listener_enable_2d" type="bool" setter="set_as_audio_listener_2d" getter="is_audio_listener_2d">
|
||||||
If [code]true[/code] the viewport will process 2D audio streams. Default value: [code]false[/code].
|
If [code]true[/code], the viewport will process 2D audio streams. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="audio_listener_enable_3d" type="bool" setter="set_as_audio_listener" getter="is_audio_listener">
|
<member name="audio_listener_enable_3d" type="bool" setter="set_as_audio_listener" getter="is_audio_listener">
|
||||||
If [code]true[/code] the viewport will process 3D audio streams. Default value: [code]false[/code].
|
If [code]true[/code], the viewport will process 3D audio streams. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="canvas_transform" type="Transform2D" setter="set_canvas_transform" getter="get_canvas_transform">
|
<member name="canvas_transform" type="Transform2D" setter="set_canvas_transform" getter="get_canvas_transform">
|
||||||
The canvas transform of the viewport, useful for changing the on-screen positions of all child [CanvasItem]s. This is relative to the global canvas transform of the viewport.
|
The canvas transform of the viewport, useful for changing the on-screen positions of all child [CanvasItem]s. This is relative to the global canvas transform of the viewport.
|
||||||
|
@ -223,33 +223,33 @@
|
||||||
The overlay mode for test rendered geometry in debug purposes. Default value: [code]DEBUG_DRAW_DISABLED[/code].
|
The overlay mode for test rendered geometry in debug purposes. Default value: [code]DEBUG_DRAW_DISABLED[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="disable_3d" type="bool" setter="set_disable_3d" getter="is_3d_disabled">
|
<member name="disable_3d" type="bool" setter="set_disable_3d" getter="is_3d_disabled">
|
||||||
If [code]true[/code] the viewport will disable 3D rendering. For actual disabling use [code]usage[/code]. Default value: [code]false[/code].
|
If [code]true[/code], the viewport will disable 3D rendering. For actual disabling use [code]usage[/code]. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="global_canvas_transform" type="Transform2D" setter="set_global_canvas_transform" getter="get_global_canvas_transform">
|
<member name="global_canvas_transform" type="Transform2D" setter="set_global_canvas_transform" getter="get_global_canvas_transform">
|
||||||
The global canvas transform of the viewport. The canvas transform is relative to this.
|
The global canvas transform of the viewport. The canvas transform is relative to this.
|
||||||
</member>
|
</member>
|
||||||
<member name="gui_disable_input" type="bool" setter="set_disable_input" getter="is_input_disabled">
|
<member name="gui_disable_input" type="bool" setter="set_disable_input" getter="is_input_disabled">
|
||||||
If [code]true[/code] the viewport will not receive input event. Default value: [code]false[/code].
|
If [code]true[/code], the viewport will not receive input event. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="gui_snap_controls_to_pixels" type="bool" setter="set_snap_controls_to_pixels" getter="is_snap_controls_to_pixels_enabled">
|
<member name="gui_snap_controls_to_pixels" type="bool" setter="set_snap_controls_to_pixels" getter="is_snap_controls_to_pixels_enabled">
|
||||||
If [code]true[/code] the GUI controls on the viewport will lay pixel perfectly. Default value: [code]true[/code].
|
If [code]true[/code], the GUI controls on the viewport will lay pixel perfectly. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="handle_input_locally" type="bool" setter="set_handle_input_locally" getter="is_handling_input_locally">
|
<member name="handle_input_locally" type="bool" setter="set_handle_input_locally" getter="is_handling_input_locally">
|
||||||
</member>
|
</member>
|
||||||
<member name="hdr" type="bool" setter="set_hdr" getter="get_hdr">
|
<member name="hdr" type="bool" setter="set_hdr" getter="get_hdr">
|
||||||
If [code]true[/code] the viewport rendering will receive benefits from High Dynamic Range algorithm. Default value: [code]true[/code].
|
If [code]true[/code], the viewport rendering will receive benefits from High Dynamic Range algorithm. Default value: [code]true[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="keep_3d_linear" type="bool" setter="set_keep_3d_linear" getter="get_keep_3d_linear">
|
<member name="keep_3d_linear" type="bool" setter="set_keep_3d_linear" getter="get_keep_3d_linear">
|
||||||
If [code]true[/code] the result after 3D rendering will not have a linear to sRGB color conversion applied. This is important when the viewport is used as a render target where the result is used as a texture on a 3D object rendered in another viewport. It is also important if the viewport is used to create data that is not color based (noise, heightmaps, pickmaps, etc.). Do not enable this when the viewport is used as a texture on a 2D object or if the viewport is your final output.
|
If [code]true[/code], the result after 3D rendering will not have a linear to sRGB color conversion applied. This is important when the viewport is used as a render target where the result is used as a texture on a 3D object rendered in another viewport. It is also important if the viewport is used to create data that is not color based (noise, heightmaps, pickmaps, etc.). Do not enable this when the viewport is used as a texture on a 2D object or if the viewport is your final output.
|
||||||
</member>
|
</member>
|
||||||
<member name="msaa" type="int" setter="set_msaa" getter="get_msaa" enum="Viewport.MSAA">
|
<member name="msaa" type="int" setter="set_msaa" getter="get_msaa" enum="Viewport.MSAA">
|
||||||
The multisample anti-aliasing mode. Default value: [code]MSAA_DISABLED[/code].
|
The multisample anti-aliasing mode. Default value: [code]MSAA_DISABLED[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="own_world" type="bool" setter="set_use_own_world" getter="is_using_own_world">
|
<member name="own_world" type="bool" setter="set_use_own_world" getter="is_using_own_world">
|
||||||
If [code]true[/code] the viewport will use [World] defined in [code]world[/code] property. Default value: [code]false[/code].
|
If [code]true[/code], the viewport will use [World] defined in [code]world[/code] property. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="physics_object_picking" type="bool" setter="set_physics_object_picking" getter="get_physics_object_picking">
|
<member name="physics_object_picking" type="bool" setter="set_physics_object_picking" getter="get_physics_object_picking">
|
||||||
If [code]true[/code] the objects rendered by viewport become subjects of mouse picking process. Default value: [code]false[/code].
|
If [code]true[/code], the objects rendered by viewport become subjects of mouse picking process. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="render_target_clear_mode" type="int" setter="set_clear_mode" getter="get_clear_mode" enum="Viewport.ClearMode">
|
<member name="render_target_clear_mode" type="int" setter="set_clear_mode" getter="get_clear_mode" enum="Viewport.ClearMode">
|
||||||
The clear mode when viewport used as a render target. Default value: [code]CLEAR_MODE_ALWAYS[/code].
|
The clear mode when viewport used as a render target. Default value: [code]CLEAR_MODE_ALWAYS[/code].
|
||||||
|
@ -258,7 +258,7 @@
|
||||||
The update mode when viewport used as a render target. Default value: [code]UPDATE_WHEN_VISIBLE[/code].
|
The update mode when viewport used as a render target. Default value: [code]UPDATE_WHEN_VISIBLE[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="render_target_v_flip" type="bool" setter="set_vflip" getter="get_vflip">
|
<member name="render_target_v_flip" type="bool" setter="set_vflip" getter="get_vflip">
|
||||||
If [code]true[/code] the result of rendering will be flipped vertically. Default value: [code]false[/code].
|
If [code]true[/code], the result of rendering will be flipped vertically. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="shadow_atlas_quad_0" type="int" setter="set_shadow_atlas_quadrant_subdiv" getter="get_shadow_atlas_quadrant_subdiv" enum="Viewport.ShadowAtlasQuadrantSubdiv">
|
<member name="shadow_atlas_quad_0" type="int" setter="set_shadow_atlas_quadrant_subdiv" getter="get_shadow_atlas_quadrant_subdiv" enum="Viewport.ShadowAtlasQuadrantSubdiv">
|
||||||
The subdivision amount of first quadrant on shadow atlas. Default value: [code]SHADOW_ATLAS_QUADRANT_SUBDIV_4[/code].
|
The subdivision amount of first quadrant on shadow atlas. Default value: [code]SHADOW_ATLAS_QUADRANT_SUBDIV_4[/code].
|
||||||
|
@ -279,7 +279,7 @@
|
||||||
The width and height of viewport.
|
The width and height of viewport.
|
||||||
</member>
|
</member>
|
||||||
<member name="transparent_bg" type="bool" setter="set_transparent_background" getter="has_transparent_background">
|
<member name="transparent_bg" type="bool" setter="set_transparent_background" getter="has_transparent_background">
|
||||||
If [code]true[/code] the viewport should render its background as transparent. Default value: [code]false[/code].
|
If [code]true[/code], the viewport should render its background as transparent. Default value: [code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="usage" type="int" setter="set_usage" getter="get_usage" enum="Viewport.Usage">
|
<member name="usage" type="int" setter="set_usage" getter="get_usage" enum="Viewport.Usage">
|
||||||
The rendering mode of viewport. Default value: [code]USAGE_3D[/code].
|
The rendering mode of viewport. Default value: [code]USAGE_3D[/code].
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="stretch" type="bool" setter="set_stretch" getter="is_stretch_enabled">
|
<member name="stretch" type="bool" setter="set_stretch" getter="is_stretch_enabled">
|
||||||
If [code]true[/code] the viewport will be scaled to the control's size. Default value:[code]false[/code].
|
If [code]true[/code], the viewport will be scaled to the control's size. Default value:[code]false[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="stretch_shrink" type="int" setter="set_stretch_shrink" getter="get_stretch_shrink">
|
<member name="stretch_shrink" type="int" setter="set_stretch_shrink" getter="get_stretch_shrink">
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -14,10 +14,10 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="freeze_bodies" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
<member name="freeze_bodies" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
||||||
If [code]true[/code] [RigidBody] nodes will be paused.
|
If [code]true[/code], [RigidBody] nodes will be paused.
|
||||||
</member>
|
</member>
|
||||||
<member name="pause_animations" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
<member name="pause_animations" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
||||||
If [code]true[/code] [AnimationPlayer] nodes will be paused.
|
If [code]true[/code], [AnimationPlayer] nodes will be paused.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -14,22 +14,22 @@
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="freeze_bodies" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
<member name="freeze_bodies" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
||||||
If [code]true[/code] [RigidBody2D] nodes will be paused.
|
If [code]true[/code], [RigidBody2D] nodes will be paused.
|
||||||
</member>
|
</member>
|
||||||
<member name="pause_animated_sprites" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
<member name="pause_animated_sprites" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
||||||
If [code]true[/code] [AnimatedSprite] nodes will be paused.
|
If [code]true[/code], [AnimatedSprite] nodes will be paused.
|
||||||
</member>
|
</member>
|
||||||
<member name="pause_animations" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
<member name="pause_animations" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
||||||
If [code]true[/code] [AnimationPlayer] nodes will be paused.
|
If [code]true[/code], [AnimationPlayer] nodes will be paused.
|
||||||
</member>
|
</member>
|
||||||
<member name="pause_particles" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
<member name="pause_particles" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
||||||
If [code]true[/code] [Particles2D] nodes will be paused.
|
If [code]true[/code], [Particles2D] nodes will be paused.
|
||||||
</member>
|
</member>
|
||||||
<member name="physics_process_parent" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
<member name="physics_process_parent" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
||||||
If [code]true[/code] the parent's [method Node._physics_process] will be stopped.
|
If [code]true[/code], the parent's [method Node._physics_process] will be stopped.
|
||||||
</member>
|
</member>
|
||||||
<member name="process_parent" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
<member name="process_parent" type="bool" setter="set_enabler" getter="is_enabler_enabled">
|
||||||
If [code]true[/code] the parent's [method Node._process] will be stopped.
|
If [code]true[/code], the parent's [method Node._process] will be stopped.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the bounding box is on the screen.
|
If [code]true[/code], the bounding box is on the screen.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<return type="bool">
|
<return type="bool">
|
||||||
</return>
|
</return>
|
||||||
<description>
|
<description>
|
||||||
If [code]true[/code] the bounding rectangle is on the screen.
|
If [code]true[/code], the bounding rectangle is on the screen.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue