Merge pull request #30184 from akien-mga/doc-property-defval
doc: Add default values to all properties
This commit is contained in:
commit
e2bbf2cba3
|
@ -1317,6 +1317,26 @@ void _OS::_bind_methods() {
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "window_position"), "set_window_position", "get_window_position");
|
ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "window_position"), "set_window_position", "get_window_position");
|
||||||
ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "window_size"), "set_window_size", "get_window_size");
|
ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "window_size"), "set_window_size", "get_window_size");
|
||||||
|
|
||||||
|
// Those default values need to be specified for the docs generator,
|
||||||
|
// to avoid using values from the documentation writer's own OS instance.
|
||||||
|
ADD_PROPERTY_DEFAULT("clipboard", "");
|
||||||
|
ADD_PROPERTY_DEFAULT("current_screen", 0);
|
||||||
|
ADD_PROPERTY_DEFAULT("exit_code", 0);
|
||||||
|
ADD_PROPERTY_DEFAULT("vsync_enabled", true);
|
||||||
|
ADD_PROPERTY_DEFAULT("low_processor_usage_mode", false);
|
||||||
|
ADD_PROPERTY_DEFAULT("keep_screen_on", true);
|
||||||
|
ADD_PROPERTY_DEFAULT("min_window_size", Vector2());
|
||||||
|
ADD_PROPERTY_DEFAULT("max_window_size", Vector2());
|
||||||
|
ADD_PROPERTY_DEFAULT("screen_orientation", 0);
|
||||||
|
ADD_PROPERTY_DEFAULT("window_borderless", false);
|
||||||
|
ADD_PROPERTY_DEFAULT("window_per_pixel_transparency_enabled", false);
|
||||||
|
ADD_PROPERTY_DEFAULT("window_fullscreen", false);
|
||||||
|
ADD_PROPERTY_DEFAULT("window_maximized", false);
|
||||||
|
ADD_PROPERTY_DEFAULT("window_minimized", false);
|
||||||
|
ADD_PROPERTY_DEFAULT("window_resizable", true);
|
||||||
|
ADD_PROPERTY_DEFAULT("window_position", Vector2());
|
||||||
|
ADD_PROPERTY_DEFAULT("window_size", Vector2());
|
||||||
|
|
||||||
BIND_ENUM_CONSTANT(VIDEO_DRIVER_GLES2);
|
BIND_ENUM_CONSTANT(VIDEO_DRIVER_GLES2);
|
||||||
BIND_ENUM_CONSTANT(VIDEO_DRIVER_GLES3);
|
BIND_ENUM_CONSTANT(VIDEO_DRIVER_GLES3);
|
||||||
|
|
||||||
|
|
|
@ -805,6 +805,9 @@ public:
|
||||||
|
|
||||||
void set_result(const Variant &p_result);
|
void set_result(const Variant &p_result);
|
||||||
Variant get_result() const;
|
Variant get_result() const;
|
||||||
|
|
||||||
|
JSONParseResult() :
|
||||||
|
error_line(-1) {}
|
||||||
};
|
};
|
||||||
|
|
||||||
class _JSON : public Object {
|
class _JSON : public Object {
|
||||||
|
|
|
@ -187,13 +187,13 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="end" type="Vector3" setter="" getter="">
|
<member name="end" type="Vector3" setter="" getter="" default="Vector3( 0, 0, 0 )">
|
||||||
Ending corner.
|
Ending corner.
|
||||||
</member>
|
</member>
|
||||||
<member name="position" type="Vector3" setter="" getter="">
|
<member name="position" type="Vector3" setter="" getter="" default="Vector3( 0, 0, 0 )">
|
||||||
Beginning corner.
|
Beginning corner.
|
||||||
</member>
|
</member>
|
||||||
<member name="size" type="Vector3" setter="" getter="">
|
<member name="size" type="Vector3" setter="" getter="" default="Vector3( 0, 0, 0 )">
|
||||||
Size from position to end.
|
Size from position to end.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="anchor_id" type="int" setter="set_anchor_id" getter="get_anchor_id">
|
<member name="anchor_id" type="int" setter="set_anchor_id" getter="get_anchor_id" default="1">
|
||||||
The anchor's ID. You can set this before the anchor itself exists. The first anchor gets an ID of [code]1[/code], the second an ID of [code]2[/code], etc. When anchors get removed, the engine can then assign the corresponding ID to new anchors. The most common situation where anchors "disappear" is when the AR server identifies that two anchors represent different parts of the same plane and merges them.
|
The anchor's ID. You can set this before the anchor itself exists. The first anchor gets an ID of [code]1[/code], the second an ID of [code]2[/code], etc. When anchors get removed, the engine can then assign the corresponding ID to new anchors. The most common situation where anchors "disappear" is when the AR server identifies that two anchors represent different parts of the same plane and merges them.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -66,13 +66,13 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="controller_id" type="int" setter="set_controller_id" getter="get_controller_id">
|
<member name="controller_id" type="int" setter="set_controller_id" getter="get_controller_id" default="1">
|
||||||
The controller's ID.
|
The controller's ID.
|
||||||
A controller ID of 0 is unbound and will always result in an inactive node. Controller ID 1 is reserved for the first controller that identifies itself as the left-hand controller and ID 2 is reserved for the first controller that identifies itself as the right-hand controller.
|
A controller ID of 0 is unbound and will always result in an inactive node. Controller ID 1 is reserved for the first controller that identifies itself as the left-hand controller and ID 2 is reserved for the first controller that identifies itself as the right-hand controller.
|
||||||
For any other controller that the [ARVRServer] detects, we continue with controller ID 3.
|
For any other controller that the [ARVRServer] detects, we continue with controller ID 3.
|
||||||
When a controller is turned off, its slot is freed. This ensures controllers will keep the same ID even when controllers with lower IDs are turned off.
|
When a controller is turned off, its slot is freed. This ensures controllers will keep the same ID even when controllers with lower IDs are turned off.
|
||||||
</member>
|
</member>
|
||||||
<member name="rumble" type="float" setter="set_rumble" getter="get_rumble">
|
<member name="rumble" type="float" setter="set_rumble" getter="get_rumble" default="0.0">
|
||||||
The degree to which the tracker rumbles. Ranges from [code]0.0[/code] to [code]1.0[/code] with precision [code].01[/code]. If changed, updates [member ARVRPositionalTracker.rumble] accordingly.
|
The degree to which the tracker rumbles. Ranges from [code]0.0[/code] to [code]1.0[/code] with precision [code].01[/code]. If changed, updates [member ARVRPositionalTracker.rumble] accordingly.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -72,13 +72,13 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="ar_is_anchor_detection_enabled" type="bool" setter="set_anchor_detection_is_enabled" getter="get_anchor_detection_is_enabled">
|
<member name="ar_is_anchor_detection_enabled" type="bool" setter="set_anchor_detection_is_enabled" getter="get_anchor_detection_is_enabled" default="false">
|
||||||
On an AR interface, is our anchor detection enabled?
|
On an AR interface, is our anchor detection enabled?
|
||||||
</member>
|
</member>
|
||||||
<member name="interface_is_initialized" type="bool" setter="set_is_initialized" getter="is_initialized">
|
<member name="interface_is_initialized" type="bool" setter="set_is_initialized" getter="is_initialized" default="false">
|
||||||
Has this interface been initialized?
|
Has this interface been initialized?
|
||||||
</member>
|
</member>
|
||||||
<member name="interface_is_primary" type="bool" setter="set_is_primary" getter="is_primary">
|
<member name="interface_is_primary" type="bool" setter="set_is_primary" getter="is_primary" default="false">
|
||||||
Is this our primary interface?
|
Is this our primary interface?
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="world_scale" type="float" setter="set_world_scale" getter="get_world_scale">
|
<member name="world_scale" type="float" setter="set_world_scale" getter="get_world_scale" default="1.0">
|
||||||
Allows you to adjust the scale to your game's units. Most AR/VR platforms assume a scale of 1 game world unit = 1 real world meter.
|
Allows you to adjust the scale to your game's units. Most AR/VR platforms assume a scale of 1 game world unit = 1 real world meter.
|
||||||
[b]Note:[/b] This method is a passthrough to the [ARVRServer] itself.
|
[b]Note:[/b] This method is a passthrough to the [ARVRServer] itself.
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="rumble" type="float" setter="set_rumble" getter="get_rumble">
|
<member name="rumble" type="float" setter="set_rumble" getter="get_rumble" default="0.0">
|
||||||
The degree to which the tracker rumbles. Ranges from [code]0.0[/code] to [code]1.0[/code] with precision [code].01[/code].
|
The degree to which the tracker rumbles. Ranges from [code]0.0[/code] to [code]1.0[/code] with precision [code].01[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -107,9 +107,9 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="primary_interface" type="ARVRInterface" setter="set_primary_interface" getter="get_primary_interface">
|
<member name="primary_interface" type="ARVRInterface" setter="set_primary_interface" getter="get_primary_interface" default="null">
|
||||||
</member>
|
</member>
|
||||||
<member name="world_scale" type="float" setter="set_world_scale" getter="get_world_scale">
|
<member name="world_scale" type="float" setter="set_world_scale" getter="get_world_scale" default="1.0">
|
||||||
Allows you to adjust the scale to your game's units. Most AR/VR platforms assume a scale of 1 game world unit = 1 real world meter.
|
Allows you to adjust the scale to your game's units. Most AR/VR platforms assume a scale of 1 game world unit = 1 real world meter.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Adds a button with label [code]text[/code] and a custom [code]action[/code] to the dialog and returns the created button. [code]action[/code] will be passed to the [signal custom_action] signal when pressed.
|
Adds a button with label [code]text[/code] and a custom [code]action[/code] to the dialog and returns the created button. [code]action[/code] will be passed to the [signal custom_action] signal when pressed.
|
||||||
If [code]true[/code], [code]right[/code] will place the button to the right of any sibling buttons. Default value: [code]false[/code].
|
If [code]true[/code], [code]right[/code] will place the button to the right of any sibling buttons.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="add_cancel">
|
<method name="add_cancel">
|
||||||
|
@ -57,14 +57,14 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="dialog_autowrap" type="bool" setter="set_autowrap" getter="has_autowrap">
|
<member name="dialog_autowrap" type="bool" setter="set_autowrap" getter="has_autowrap" default="false">
|
||||||
Sets autowrapping for the text in the dialog.
|
Sets autowrapping for the text in the dialog.
|
||||||
</member>
|
</member>
|
||||||
<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" default="true">
|
||||||
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.
|
||||||
[b]Note:[/b] 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.
|
[b]Note:[/b] 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" default="""">
|
||||||
The text displayed by the dialog.
|
The text displayed by the dialog.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -36,31 +36,31 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="animation" type="String" setter="set_animation" getter="get_animation">
|
<member name="animation" type="String" setter="set_animation" getter="get_animation" default=""default"">
|
||||||
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" default="true">
|
||||||
If [code]true[/code], texture will be centered. Default value: [code]true[/code].
|
If [code]true[/code], texture will be centered.
|
||||||
</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" default="false">
|
||||||
If [code]true[/code], texture is flipped horizontally. Default value: [code]false[/code].
|
If [code]true[/code], texture is flipped horizontally.
|
||||||
</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" default="false">
|
||||||
If [code]true[/code], texture is flipped vertically. Default value: [code]false[/code].
|
If [code]true[/code], texture is flipped vertically.
|
||||||
</member>
|
</member>
|
||||||
<member name="frame" type="int" setter="set_frame" getter="get_frame">
|
<member name="frame" type="int" setter="set_frame" getter="get_frame" default="0">
|
||||||
The displayed animation frame's index.
|
The displayed animation frame's index.
|
||||||
</member>
|
</member>
|
||||||
<member name="frames" type="SpriteFrames" setter="set_sprite_frames" getter="get_sprite_frames">
|
<member name="frames" type="SpriteFrames" setter="set_sprite_frames" getter="get_sprite_frames" default="null">
|
||||||
The [SpriteFrames] resource containing the animation(s).
|
The [SpriteFrames] resource containing the animation(s).
|
||||||
</member>
|
</member>
|
||||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset">
|
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2( 0, 0 )">
|
||||||
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" default="false">
|
||||||
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" default="1.0">
|
||||||
The animation speed is multiplied by this value.
|
The animation speed is multiplied by this value.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -34,16 +34,16 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="animation" type="String" setter="set_animation" getter="get_animation">
|
<member name="animation" type="String" setter="set_animation" getter="get_animation" default=""default"">
|
||||||
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="frame" type="int" setter="set_frame" getter="get_frame">
|
<member name="frame" type="int" setter="set_frame" getter="get_frame" default="0">
|
||||||
The displayed animation frame's index.
|
The displayed animation frame's index.
|
||||||
</member>
|
</member>
|
||||||
<member name="frames" type="SpriteFrames" setter="set_sprite_frames" getter="get_sprite_frames">
|
<member name="frames" type="SpriteFrames" setter="set_sprite_frames" getter="get_sprite_frames" default="null">
|
||||||
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" default="false">
|
||||||
If [code]true[/code], the [member animation] is currently playing.
|
If [code]true[/code], the [member animation] is currently playing.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -61,12 +61,12 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="fps" type="float" setter="set_fps" getter="get_fps">
|
<member name="fps" type="float" setter="set_fps" getter="get_fps" default="4.0">
|
||||||
Animation speed in frames per second. This value defines the default time interval between two frames of the animation, and thus the overall duration of the animation loop based on the [member frames] property. A value of 0 means no predefined number of frames per second, the animation will play according to each frame's frame delay (see [method set_frame_delay]). Default value: 4.
|
Animation speed in frames per second. This value defines the default time interval between two frames of the animation, and thus the overall duration of the animation loop based on the [member frames] property. A value of 0 means no predefined number of frames per second, the animation will play according to each frame's frame delay (see [method set_frame_delay]).
|
||||||
For example, an animation with 8 frames, no frame delay and a [code]fps[/code] value of 2 will run for 4 seconds, with each frame lasting 0.5 seconds.
|
For example, an animation with 8 frames, no frame delay and a [code]fps[/code] value of 2 will run for 4 seconds, with each frame lasting 0.5 seconds.
|
||||||
</member>
|
</member>
|
||||||
<member name="frames" type="int" setter="set_frames" getter="get_frames">
|
<member name="frames" type="int" setter="set_frames" getter="get_frames" default="1">
|
||||||
Number of frames to use in the animation. While you can create the frames independently with [method set_frame_texture], you need to set this value for the animation to take new frames into account. The maximum number of frames is [constant MAX_FRAMES]. Default value: 1.
|
Number of frames to use in the animation. While you can create the frames independently with [method set_frame_texture], you need to set this value for the animation to take new frames into account. The maximum number of frames is [constant MAX_FRAMES].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -336,7 +336,7 @@
|
||||||
<argument index="0" name="idx" type="int">
|
<argument index="0" name="idx" type="int">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Returns [code]true[/code] if the track at [code]idx[/code] wraps the interpolation loop. Default value: [code]true[/code].
|
Returns [code]true[/code] if the track at [code]idx[/code] wraps the interpolation loop. New tracks wrap the interpolation loop by default.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="track_get_interpolation_type" qualifiers="const">
|
<method name="track_get_interpolation_type" qualifiers="const">
|
||||||
|
@ -661,14 +661,14 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="length" type="float" setter="set_length" getter="get_length">
|
<member name="length" type="float" setter="set_length" getter="get_length" default="1.0">
|
||||||
The total length of the animation (in seconds).
|
The total length of the animation (in seconds).
|
||||||
[b]Note:[/b] Length is not delimited by the last key, as this one may be before or after the end to ensure correct interpolation and looping.
|
[b]Note:[/b] Length is not delimited by the last key, as this one may be before or after the end to ensure correct interpolation and looping.
|
||||||
</member>
|
</member>
|
||||||
<member name="loop" type="bool" setter="set_loop" getter="has_loop">
|
<member name="loop" type="bool" setter="set_loop" getter="has_loop" default="false">
|
||||||
A flag indicating that the animation must loop. This is uses for correct interpolation of animation cycles, and for hinting the player that it must restart the animation.
|
A flag indicating that the animation must loop. This is uses for correct interpolation of animation cycles, and for hinting the player that it must restart the animation.
|
||||||
</member>
|
</member>
|
||||||
<member name="step" type="float" setter="set_step" getter="get_step">
|
<member name="step" type="float" setter="set_step" getter="get_step" default="0.1">
|
||||||
The animation step value.
|
The animation step value.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync">
|
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync" default="false">
|
||||||
If [code]true[/code], sets the [code]optimization[/code] to [code]false[/code] when calling [method AnimationNode.blend_input], forcing the blended animations to update every frame.
|
If [code]true[/code], sets the [code]optimization[/code] to [code]false[/code] when calling [method AnimationNode.blend_input], forcing the blended animations to update every frame.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync">
|
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync" default="false">
|
||||||
If [code]true[/code], sets the [code]optimization[/code] to [code]false[/code] when calling [method AnimationNode.blend_input], forcing the blended animations to update every frame.
|
If [code]true[/code], sets the [code]optimization[/code] to [code]false[/code] when calling [method AnimationNode.blend_input], forcing the blended animations to update every frame.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="animation" type="String" setter="set_animation" getter="get_animation">
|
<member name="animation" type="String" setter="set_animation" getter="get_animation" default="""">
|
||||||
Animation to use as an output. It is one of the animations provided by [member AnimationTree.anim_player].
|
Animation to use as an output. It is one of the animations provided by [member AnimationTree.anim_player].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync">
|
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync" default="false">
|
||||||
If [code]true[/code], sets the [code]optimization[/code] to [code]false[/code] when calling [method AnimationNode.blend_input], forcing the blended animations to update every frame.
|
If [code]true[/code], sets the [code]optimization[/code] to [code]false[/code] when calling [method AnimationNode.blend_input], forcing the blended animations to update every frame.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync">
|
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync" default="false">
|
||||||
If [code]true[/code], sets the [code]optimization[/code] to [code]false[/code] when calling [method AnimationNode.blend_input], forcing the blended animations to update every frame.
|
If [code]true[/code], sets the [code]optimization[/code] to [code]false[/code] when calling [method AnimationNode.blend_input], forcing the blended animations to update every frame.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -83,16 +83,16 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="max_space" type="float" setter="set_max_space" getter="get_max_space">
|
<member name="max_space" type="float" setter="set_max_space" getter="get_max_space" default="1.0">
|
||||||
The blend space's axis's upper limit for the points' position. See [method add_blend_point].
|
The blend space's axis's upper limit for the points' position. See [method add_blend_point].
|
||||||
</member>
|
</member>
|
||||||
<member name="min_space" type="float" setter="set_min_space" getter="get_min_space">
|
<member name="min_space" type="float" setter="set_min_space" getter="get_min_space" default="-1.0">
|
||||||
The blend space's axis's lower limit for the points' position. See [method add_blend_point].
|
The blend space's axis's lower limit for the points' position. See [method add_blend_point].
|
||||||
</member>
|
</member>
|
||||||
<member name="snap" type="float" setter="set_snap" getter="get_snap">
|
<member name="snap" type="float" setter="set_snap" getter="get_snap" default="0.1">
|
||||||
Position increment to snap to when moving a point on the axis.
|
Position increment to snap to when moving a point on the axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="value_label" type="String" setter="set_value_label" getter="get_value_label">
|
<member name="value_label" type="String" setter="set_value_label" getter="get_value_label" default=""value"">
|
||||||
Label of the virtual axis of the blend space.
|
Label of the virtual axis of the blend space.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -124,25 +124,25 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="auto_triangles" type="bool" setter="set_auto_triangles" getter="get_auto_triangles">
|
<member name="auto_triangles" type="bool" setter="set_auto_triangles" getter="get_auto_triangles" default="true">
|
||||||
If true, the blend space is triangulated automatically. The mesh updates every time you add or remove points with [method add_blend_point] and [method remove_blend_point].
|
If true, the blend space is triangulated automatically. The mesh updates every time you add or remove points with [method add_blend_point] and [method remove_blend_point].
|
||||||
</member>
|
</member>
|
||||||
<member name="blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="AnimationNodeBlendSpace2D.BlendMode">
|
<member name="blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="AnimationNodeBlendSpace2D.BlendMode" default="0">
|
||||||
Controls the interpolation between animations. See [enum BlendMode] constants.
|
Controls the interpolation between animations. See [enum BlendMode] constants.
|
||||||
</member>
|
</member>
|
||||||
<member name="max_space" type="Vector2" setter="set_max_space" getter="get_max_space">
|
<member name="max_space" type="Vector2" setter="set_max_space" getter="get_max_space" default="Vector2( 1, 1 )">
|
||||||
The blend space's X and Y axes' upper limit for the points' position. See [method add_blend_point].
|
The blend space's X and Y axes' upper limit for the points' position. See [method add_blend_point].
|
||||||
</member>
|
</member>
|
||||||
<member name="min_space" type="Vector2" setter="set_min_space" getter="get_min_space">
|
<member name="min_space" type="Vector2" setter="set_min_space" getter="get_min_space" default="Vector2( -1, -1 )">
|
||||||
The blend space's X and Y axes' lower limit for the points' position. See [method add_blend_point].
|
The blend space's X and Y axes' lower limit for the points' position. See [method add_blend_point].
|
||||||
</member>
|
</member>
|
||||||
<member name="snap" type="Vector2" setter="set_snap" getter="get_snap">
|
<member name="snap" type="Vector2" setter="set_snap" getter="get_snap" default="Vector2( 0.1, 0.1 )">
|
||||||
Position increment to snap to when moving a point.
|
Position increment to snap to when moving a point.
|
||||||
</member>
|
</member>
|
||||||
<member name="x_label" type="String" setter="set_x_label" getter="get_x_label">
|
<member name="x_label" type="String" setter="set_x_label" getter="get_x_label" default=""x"">
|
||||||
Name of the blend space's X axis.
|
Name of the blend space's X axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="y_label" type="String" setter="set_y_label" getter="get_y_label">
|
<member name="y_label" type="String" setter="set_y_label" getter="get_y_label" default=""y"">
|
||||||
Name of the blend space's Y axis.
|
Name of the blend space's Y axis.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -95,7 +95,7 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="graph_offset" type="Vector2" setter="set_graph_offset" getter="get_graph_offset">
|
<member name="graph_offset" type="Vector2" setter="set_graph_offset" getter="get_graph_offset" default="Vector2( 0, 0 )">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -23,17 +23,17 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="autorestart" type="bool" setter="set_autorestart" getter="has_autorestart">
|
<member name="autorestart" type="bool" setter="set_autorestart" getter="has_autorestart" default="false">
|
||||||
</member>
|
</member>
|
||||||
<member name="autorestart_delay" type="float" setter="set_autorestart_delay" getter="get_autorestart_delay">
|
<member name="autorestart_delay" type="float" setter="set_autorestart_delay" getter="get_autorestart_delay" default="1.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="autorestart_random_delay" type="float" setter="set_autorestart_random_delay" getter="get_autorestart_random_delay">
|
<member name="autorestart_random_delay" type="float" setter="set_autorestart_random_delay" getter="get_autorestart_random_delay" default="0.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="fadein_time" type="float" setter="set_fadein_time" getter="get_fadein_time">
|
<member name="fadein_time" type="float" setter="set_fadein_time" getter="get_fadein_time" default="0.1">
|
||||||
</member>
|
</member>
|
||||||
<member name="fadeout_time" type="float" setter="set_fadeout_time" getter="get_fadeout_time">
|
<member name="fadeout_time" type="float" setter="set_fadeout_time" getter="get_fadeout_time" default="0.1">
|
||||||
</member>
|
</member>
|
||||||
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync">
|
<member name="sync" type="bool" setter="set_use_sync" getter="is_using_sync" default="false">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -9,25 +9,25 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="advance_condition" type="String" setter="set_advance_condition" getter="get_advance_condition">
|
<member name="advance_condition" type="String" setter="set_advance_condition" getter="get_advance_condition" default="""">
|
||||||
Turn on auto advance when this condition is set. The provided name will become a boolean parameter on the [AnimationTree] that can be controlled from code (see [url=https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html#controlling-from-code][/url]). For example, if [member AnimationTree.tree_root] is an [AnimationNodeStateMachine] and [member advance_condition] is set to "idle":
|
Turn on auto advance when this condition is set. The provided name will become a boolean parameter on the [AnimationTree] that can be controlled from code (see [url=https://docs.godotengine.org/en/latest/tutorials/animation/animation_tree.html#controlling-from-code][/url]). For example, if [member AnimationTree.tree_root] is an [AnimationNodeStateMachine] and [member advance_condition] is set to "idle":
|
||||||
[codeblock]
|
[codeblock]
|
||||||
$animation_tree["parameters/conditions/idle"] = is_on_floor and linear_velocity.x == 0
|
$animation_tree["parameters/conditions/idle"] = is_on_floor and linear_velocity.x == 0
|
||||||
[/codeblock]
|
[/codeblock]
|
||||||
</member>
|
</member>
|
||||||
<member name="auto_advance" type="bool" setter="set_auto_advance" getter="has_auto_advance">
|
<member name="auto_advance" type="bool" setter="set_auto_advance" getter="has_auto_advance" default="false">
|
||||||
Turn on the transition automatically when this state is reached. This works best with [constant SWITCH_MODE_AT_END].
|
Turn on the transition automatically when this state is reached. This works best with [constant SWITCH_MODE_AT_END].
|
||||||
</member>
|
</member>
|
||||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled">
|
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false">
|
||||||
Don't use this transition during [method AnimationNodeStateMachinePlayback.travel] or [member auto_advance].
|
Don't use this transition during [method AnimationNodeStateMachinePlayback.travel] or [member auto_advance].
|
||||||
</member>
|
</member>
|
||||||
<member name="priority" type="int" setter="set_priority" getter="get_priority">
|
<member name="priority" type="int" setter="set_priority" getter="get_priority" default="1">
|
||||||
Lower priority transitions are preferred when travelling through the tree via [method AnimationNodeStateMachinePlayback.travel] or [member auto_advance].
|
Lower priority transitions are preferred when travelling through the tree via [method AnimationNodeStateMachinePlayback.travel] or [member auto_advance].
|
||||||
</member>
|
</member>
|
||||||
<member name="switch_mode" type="int" setter="set_switch_mode" getter="get_switch_mode" enum="AnimationNodeStateMachineTransition.SwitchMode">
|
<member name="switch_mode" type="int" setter="set_switch_mode" getter="get_switch_mode" enum="AnimationNodeStateMachineTransition.SwitchMode" default="0">
|
||||||
The transition type.
|
The transition type.
|
||||||
</member>
|
</member>
|
||||||
<member name="xfade_time" type="float" setter="set_xfade_time" getter="get_xfade_time">
|
<member name="xfade_time" type="float" setter="set_xfade_time" getter="get_xfade_time" default="0.0">
|
||||||
The time to cross-fade between this state and the next.
|
The time to cross-fade between this state and the next.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -137,9 +137,9 @@
|
||||||
</member>
|
</member>
|
||||||
<member name="input_9/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
<member name="input_9/name" type="String" setter="set_input_caption" getter="get_input_caption">
|
||||||
</member>
|
</member>
|
||||||
<member name="input_count" type="int" setter="set_enabled_inputs" getter="get_enabled_inputs">
|
<member name="input_count" type="int" setter="set_enabled_inputs" getter="get_enabled_inputs" default="0">
|
||||||
</member>
|
</member>
|
||||||
<member name="xfade_time" type="float" setter="set_cross_fade_time" getter="get_cross_fade_time">
|
<member name="xfade_time" type="float" setter="set_cross_fade_time" getter="get_cross_fade_time" default="0.0">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -226,11 +226,11 @@
|
||||||
<member name="assigned_animation" type="String" setter="set_assigned_animation" getter="get_assigned_animation">
|
<member name="assigned_animation" type="String" setter="set_assigned_animation" getter="get_assigned_animation">
|
||||||
If playing, the current animation; otherwise, the animation last played. When set, would change the animation, but would not play it unless currently playing. See also [member current_animation].
|
If playing, the current animation; otherwise, the animation last played. When set, would change the animation, but would not play it unless currently playing. See also [member current_animation].
|
||||||
</member>
|
</member>
|
||||||
<member name="autoplay" type="String" setter="set_autoplay" getter="get_autoplay">
|
<member name="autoplay" type="String" setter="set_autoplay" getter="get_autoplay" default="""">
|
||||||
The name of the animation to play when the scene loads. Default value: [code]""[/code].
|
The name of the animation to play when the scene loads.
|
||||||
</member>
|
</member>
|
||||||
<member name="current_animation" type="String" setter="set_current_animation" getter="get_current_animation">
|
<member name="current_animation" type="String" setter="set_current_animation" getter="get_current_animation" default="""">
|
||||||
The name of the current animation, "" if not playing anything. When being set, does not restart the animation. See also [method play]. Default value: [code]""[/code].
|
The name of the current animation, "" if not playing anything. When being set, does not restart the animation. See also [method play].
|
||||||
</member>
|
</member>
|
||||||
<member name="current_animation_length" type="float" setter="" getter="get_current_animation_length">
|
<member name="current_animation_length" type="float" setter="" getter="get_current_animation_length">
|
||||||
The length (in seconds) of the currently being played animation.
|
The length (in seconds) of the currently being played animation.
|
||||||
|
@ -238,23 +238,23 @@
|
||||||
<member name="current_animation_position" type="float" setter="" getter="get_current_animation_position">
|
<member name="current_animation_position" type="float" setter="" getter="get_current_animation_position">
|
||||||
The position (in seconds) of the currently playing animation.
|
The position (in seconds) of the currently playing animation.
|
||||||
</member>
|
</member>
|
||||||
<member name="method_call_mode" type="int" setter="set_method_call_mode" getter="get_method_call_mode" enum="AnimationPlayer.AnimationMethodCallMode">
|
<member name="method_call_mode" type="int" setter="set_method_call_mode" getter="get_method_call_mode" enum="AnimationPlayer.AnimationMethodCallMode" default="0">
|
||||||
The call mode to use for Call Method tracks. Default value: [constant ANIMATION_METHOD_CALL_DEFERRED].
|
The call mode to use for Call Method tracks.
|
||||||
</member>
|
</member>
|
||||||
<member name="playback_active" type="bool" setter="set_active" getter="is_active">
|
<member name="playback_active" type="bool" setter="set_active" getter="is_active">
|
||||||
If [code]true[/code], updates animations in response to process-related notifications. Default value: [code]true[/code].
|
If [code]true[/code], updates animations in response to process-related notifications.
|
||||||
</member>
|
</member>
|
||||||
<member name="playback_default_blend_time" type="float" setter="set_default_blend_time" getter="get_default_blend_time">
|
<member name="playback_default_blend_time" type="float" setter="set_default_blend_time" getter="get_default_blend_time" default="0.0">
|
||||||
The default time in which to blend animations. Ranges from 0 to 4096 with 0.01 precision. Default value: [code]0[/code].
|
The default time in which to blend animations. Ranges from 0 to 4096 with 0.01 precision.
|
||||||
</member>
|
</member>
|
||||||
<member name="playback_process_mode" type="int" setter="set_animation_process_mode" getter="get_animation_process_mode" enum="AnimationPlayer.AnimationProcessMode">
|
<member name="playback_process_mode" type="int" setter="set_animation_process_mode" getter="get_animation_process_mode" enum="AnimationPlayer.AnimationProcessMode" default="1">
|
||||||
The process notification in which to update animations. Default value: [constant ANIMATION_PROCESS_IDLE].
|
The process notification in which to update animations.
|
||||||
</member>
|
</member>
|
||||||
<member name="playback_speed" type="float" setter="set_speed_scale" getter="get_speed_scale">
|
<member name="playback_speed" type="float" setter="set_speed_scale" getter="get_speed_scale" default="1.0">
|
||||||
The speed scaling ratio. For instance, if this value is 1, then the animation plays at normal speed. If it's 0.5, then it plays at half speed. If it's 2, then it plays at double speed. Default value: [code]1[/code].
|
The speed scaling ratio. For instance, if this value is 1, then the animation plays at normal speed. If it's 0.5, then it plays at half speed. If it's 2, then it plays at double speed.
|
||||||
</member>
|
</member>
|
||||||
<member name="root_node" type="NodePath" setter="set_root" getter="get_root">
|
<member name="root_node" type="NodePath" setter="set_root" getter="get_root" default="NodePath("..")">
|
||||||
The node from which node path references will travel. Default value: [code]".."[/code].
|
The node from which node path references will travel.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -35,15 +35,15 @@
|
||||||
</method>
|
</method>
|
||||||
</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" default="false">
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_player" type="NodePath" setter="set_animation_player" getter="get_animation_player">
|
<member name="anim_player" type="NodePath" setter="set_animation_player" getter="get_animation_player" default="NodePath("")">
|
||||||
</member>
|
</member>
|
||||||
<member name="process_mode" type="int" setter="set_process_mode" getter="get_process_mode" enum="AnimationTree.AnimationProcessMode">
|
<member name="process_mode" type="int" setter="set_process_mode" getter="get_process_mode" enum="AnimationTree.AnimationProcessMode" default="1">
|
||||||
</member>
|
</member>
|
||||||
<member name="root_motion_track" type="NodePath" setter="set_root_motion_track" getter="get_root_motion_track">
|
<member name="root_motion_track" type="NodePath" setter="set_root_motion_track" getter="get_root_motion_track" default="NodePath("")">
|
||||||
</member>
|
</member>
|
||||||
<member name="tree_root" type="AnimationNode" setter="set_tree_root" getter="get_tree_root">
|
<member name="tree_root" type="AnimationNode" setter="set_tree_root" getter="get_tree_root" default="null">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -604,19 +604,19 @@
|
||||||
</method>
|
</method>
|
||||||
</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" default="false">
|
||||||
If [code]true[/code], the [AnimationTreePlayer] is able to play animations. Default value: [code]false[/code].
|
If [code]true[/code], the [AnimationTreePlayer] is able to play animations.
|
||||||
</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" default="NodePath("..")">
|
||||||
The node from which to relatively access other nodes. Default value: [code]".."[/code].
|
The node from which to relatively access other nodes.
|
||||||
It accesses the Bones, so it should point to the same Node the AnimationPlayer would point its Root Node at.
|
It accesses the Bones, so it should point to the same Node the AnimationPlayer would point its Root Node at.
|
||||||
</member>
|
</member>
|
||||||
<member name="master_player" type="NodePath" setter="set_master_player" getter="get_master_player">
|
<member name="master_player" type="NodePath" setter="set_master_player" getter="get_master_player" default="NodePath("")">
|
||||||
The path to the [AnimationPlayer] from which this [AnimationTreePlayer] binds animations to animation nodes.
|
The path to the [AnimationPlayer] from which this [AnimationTreePlayer] binds animations to animation nodes.
|
||||||
Once set, Animation nodes can be added to the AnimationTreePlayer.
|
Once set, Animation nodes can be added to the AnimationTreePlayer.
|
||||||
</member>
|
</member>
|
||||||
<member name="playback_process_mode" type="int" setter="set_animation_process_mode" getter="get_animation_process_mode" enum="AnimationTreePlayer.AnimationProcessMode">
|
<member name="playback_process_mode" type="int" setter="set_animation_process_mode" getter="get_animation_process_mode" enum="AnimationTreePlayer.AnimationProcessMode" default="1">
|
||||||
The thread in which to update animations. Default value: [constant ANIMATION_PROCESS_IDLE].
|
The thread in which to update animations.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -86,58 +86,58 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp">
|
<member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp" default="0.1">
|
||||||
The rate at which objects stop spinning in this area. Represents the angular velocity lost per second. Values range from [code]0[/code] (no damping) to [code]1[/code] (full damping).
|
The rate at which objects stop spinning in this area. Represents the angular velocity lost per second. Values range from [code]0[/code] (no damping) to [code]1[/code] (full damping).
|
||||||
</member>
|
</member>
|
||||||
<member name="audio_bus_name" type="String" setter="set_audio_bus" getter="get_audio_bus">
|
<member name="audio_bus_name" type="String" setter="set_audio_bus" getter="get_audio_bus" default=""Master"">
|
||||||
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" default="false">
|
||||||
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.
|
||||||
</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" default="1">
|
||||||
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 [member collision_mask].
|
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 [member collision_mask].
|
||||||
</member>
|
</member>
|
||||||
<member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask">
|
<member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask" default="1">
|
||||||
The physics layers this area scans to determine collision detection.
|
The physics layers this area scans to determine collision detection.
|
||||||
</member>
|
</member>
|
||||||
<member name="gravity" type="float" setter="set_gravity" getter="get_gravity">
|
<member name="gravity" type="float" setter="set_gravity" getter="get_gravity" default="9.8">
|
||||||
The area's gravity intensity (ranges from -1024 to 1024). This value multiplies the gravity vector. This is useful to alter the force of gravity without altering its direction.
|
The area's gravity intensity (ranges from -1024 to 1024). This value multiplies the gravity vector. This is useful to alter the force of gravity without altering its direction.
|
||||||
</member>
|
</member>
|
||||||
<member name="gravity_distance_scale" type="float" setter="set_gravity_distance_scale" getter="get_gravity_distance_scale">
|
<member name="gravity_distance_scale" type="float" setter="set_gravity_distance_scale" getter="get_gravity_distance_scale" default="0.0">
|
||||||
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" default="false">
|
||||||
If [code]true[/code], gravity is calculated from a point (set via [member gravity_vec]). See also [member space_override]. Default value: [code]false[/code].
|
If [code]true[/code], gravity is calculated from a point (set via [member gravity_vec]). See also [member space_override].
|
||||||
</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" default="Vector3( 0, -1, 0 )">
|
||||||
The area's gravity vector (not normalized). If gravity is a point (see [member gravity_point]), this will be the point of attraction.
|
The area's gravity vector (not normalized). If gravity is a point (see [member gravity_point]), this will be the point of attraction.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_damp" type="float" setter="set_linear_damp" getter="get_linear_damp">
|
<member name="linear_damp" type="float" setter="set_linear_damp" getter="get_linear_damp" default="0.1">
|
||||||
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" default="true">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="monitoring" type="bool" setter="set_monitoring" getter="is_monitoring">
|
<member name="monitoring" type="bool" setter="set_monitoring" getter="is_monitoring" default="true">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="priority" type="float" setter="set_priority" getter="get_priority">
|
<member name="priority" type="float" setter="set_priority" getter="get_priority" default="0.0">
|
||||||
The area's priority. Higher priority areas are processed first. Default value: 0.
|
The area's priority. Higher priority areas are processed first.
|
||||||
</member>
|
</member>
|
||||||
<member name="reverb_bus_amount" type="float" setter="set_reverb_amount" getter="get_reverb_amount">
|
<member name="reverb_bus_amount" type="float" setter="set_reverb_amount" getter="get_reverb_amount" default="0.0">
|
||||||
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" default="false">
|
||||||
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" default=""Master"">
|
||||||
The reverb bus name to use for this area's associated audio.
|
The reverb bus name to use for this area's associated audio.
|
||||||
</member>
|
</member>
|
||||||
<member name="reverb_bus_uniformity" type="float" setter="set_reverb_uniformity" getter="get_reverb_uniformity">
|
<member name="reverb_bus_uniformity" type="float" setter="set_reverb_uniformity" getter="get_reverb_uniformity" default="0.0">
|
||||||
The degree to which this area's reverb is a uniform effect. Ranges from [code]0[/code] to [code]1[/code] with [code]0.1[/code] precision.
|
The degree to which this area's reverb is a uniform effect. Ranges from [code]0[/code] to [code]1[/code] with [code]0.1[/code] precision.
|
||||||
</member>
|
</member>
|
||||||
<member name="space_override" type="int" setter="set_space_override_mode" getter="get_space_override_mode" enum="Area.SpaceOverride">
|
<member name="space_override" type="int" setter="set_space_override_mode" getter="get_space_override_mode" enum="Area.SpaceOverride" default="0">
|
||||||
Override mode for gravity and damping calculations within this area. See [enum SpaceOverride] for possible values.
|
Override mode for gravity and damping calculations within this area. See [enum SpaceOverride] for possible values.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -86,46 +86,46 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp">
|
<member name="angular_damp" type="float" setter="set_angular_damp" getter="get_angular_damp" default="1.0">
|
||||||
The rate at which objects stop spinning in this area. Represents the angular velocity lost per second. Values range from [code]0[/code] (no damping) to [code]1[/code] (full damping).
|
The rate at which objects stop spinning in this area. Represents the angular velocity lost per second. Values range from [code]0[/code] (no damping) to [code]1[/code] (full damping).
|
||||||
</member>
|
</member>
|
||||||
<member name="audio_bus_name" type="String" setter="set_audio_bus_name" getter="get_audio_bus_name">
|
<member name="audio_bus_name" type="String" setter="set_audio_bus_name" getter="get_audio_bus_name" default=""Master"">
|
||||||
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" default="false">
|
||||||
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.
|
||||||
</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" default="1">
|
||||||
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 [member collision_mask].
|
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 [member collision_mask].
|
||||||
</member>
|
</member>
|
||||||
<member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask">
|
<member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask" default="1">
|
||||||
The physics layers this area scans to determine collision detection.
|
The physics layers this area scans to determine collision detection.
|
||||||
</member>
|
</member>
|
||||||
<member name="gravity" type="float" setter="set_gravity" getter="get_gravity">
|
<member name="gravity" type="float" setter="set_gravity" getter="get_gravity" default="98.0">
|
||||||
The area's gravity intensity (ranges from -1024 to 1024). This value multiplies the gravity vector. This is useful to alter the force of gravity without altering its direction.
|
The area's gravity intensity (ranges from -1024 to 1024). This value multiplies the gravity vector. This is useful to alter the force of gravity without altering its direction.
|
||||||
</member>
|
</member>
|
||||||
<member name="gravity_distance_scale" type="float" setter="set_gravity_distance_scale" getter="get_gravity_distance_scale">
|
<member name="gravity_distance_scale" type="float" setter="set_gravity_distance_scale" getter="get_gravity_distance_scale" default="0.0">
|
||||||
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" default="false">
|
||||||
If [code]true[/code], gravity is calculated from a point (set via [member gravity_vec]). See also [member space_override]. Default value: [code]false[/code].
|
If [code]true[/code], gravity is calculated from a point (set via [member gravity_vec]). See also [member space_override].
|
||||||
</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" default="Vector2( 0, 1 )">
|
||||||
The area's gravity vector (not normalized). If gravity is a point (see [member gravity_point]), this will be the point of attraction.
|
The area's gravity vector (not normalized). If gravity is a point (see [member gravity_point]), this will be the point of attraction.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_damp" type="float" setter="set_linear_damp" getter="get_linear_damp">
|
<member name="linear_damp" type="float" setter="set_linear_damp" getter="get_linear_damp" default="0.1">
|
||||||
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" default="true">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="monitoring" type="bool" setter="set_monitoring" getter="is_monitoring">
|
<member name="monitoring" type="bool" setter="set_monitoring" getter="is_monitoring" default="true">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="priority" type="float" setter="set_priority" getter="get_priority">
|
<member name="priority" type="float" setter="set_priority" getter="get_priority" default="0.0">
|
||||||
The area's priority. Higher priority areas are processed first. Default value: 0.
|
The area's priority. Higher priority areas are processed first.
|
||||||
</member>
|
</member>
|
||||||
<member name="space_override" type="int" setter="set_space_override_mode" getter="get_space_override_mode" enum="Area2D.SpaceOverride">
|
<member name="space_override" type="int" setter="set_space_override_mode" getter="get_space_override_mode" enum="Area2D.SpaceOverride" default="0">
|
||||||
Override mode for gravity and damping calculations within this area. See [enum SpaceOverride] for possible values.
|
Override mode for gravity and damping calculations within this area. See [enum SpaceOverride] for possible values.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -184,10 +184,10 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="blend_shape_mode" type="int" setter="set_blend_shape_mode" getter="get_blend_shape_mode" enum="Mesh.BlendShapeMode">
|
<member name="blend_shape_mode" type="int" setter="set_blend_shape_mode" getter="get_blend_shape_mode" enum="Mesh.BlendShapeMode" default="1">
|
||||||
</member>
|
</member>
|
||||||
<member name="custom_aabb" type="AABB" setter="set_custom_aabb" getter="get_custom_aabb">
|
<member name="custom_aabb" type="AABB" setter="set_custom_aabb" getter="get_custom_aabb" default="AABB( 0, 0, 0, 0, 0, 0 )">
|
||||||
Overrides the [AABB] with one defined by user for use with frustum culling. Especially useful to avoid unnexpected culling when using a shader to offset vertices.
|
Overrides the [AABB] with one defined by user for use with frustum culling. Especially useful to avoid unexpected culling when using a shader to offset vertices.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -12,16 +12,16 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="atlas" type="Texture" setter="set_atlas" getter="get_atlas">
|
<member name="atlas" type="Texture" setter="set_atlas" getter="get_atlas" default="null">
|
||||||
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" default="false">
|
||||||
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" default="Rect2( 0, 0, 0, 0 )">
|
||||||
The margin around the region. The [Rect2]'s [member Rect2.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 [member Rect2.size] parameter ("w" and "h" in the editor) resizes the texture so it fits within the margin.
|
||||||
</member>
|
</member>
|
||||||
<member name="region" type="Rect2" setter="set_region" getter="get_region">
|
<member name="region" type="Rect2" setter="set_region" getter="get_region" default="Rect2( 0, 0, 0, 0 )">
|
||||||
The AtlasTexture's used region.
|
The AtlasTexture's used region.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db">
|
<member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db" default="0.0">
|
||||||
Amount of amplification in decibels. Positive values make the sound louder, negative values make it quieter. Value can range from -80 to 24. Default value: [code]0[/code].
|
Amount of amplification in decibels. Positive values make the sound louder, negative values make it quieter. Value can range from -80 to 24.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -11,43 +11,43 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="dry" type="float" setter="set_dry" getter="get_dry">
|
<member name="dry" type="float" setter="set_dry" getter="get_dry" default="1.0">
|
||||||
The effect's raw signal.
|
The effect's raw signal.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/1/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
|
<member name="voice/1/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz" default="8000.0">
|
||||||
The voice's cutoff frequency.
|
The voice's cutoff frequency.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/1/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms">
|
<member name="voice/1/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms" default="15.0">
|
||||||
The voice's signal delay.
|
The voice's signal delay.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/1/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms">
|
<member name="voice/1/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms" default="2.0">
|
||||||
The voice filter's depth.
|
The voice filter's depth.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/1/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db">
|
<member name="voice/1/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db" default="0.0">
|
||||||
The voice's volume.
|
The voice's volume.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/1/pan" type="float" setter="set_voice_pan" getter="get_voice_pan">
|
<member name="voice/1/pan" type="float" setter="set_voice_pan" getter="get_voice_pan" default="-0.5">
|
||||||
The voice's pan level.
|
The voice's pan level.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/1/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
|
<member name="voice/1/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz" default="0.8">
|
||||||
The voice's filter rate.
|
The voice's filter rate.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/2/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
|
<member name="voice/2/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz" default="8000.0">
|
||||||
The voice's cutoff frequency.
|
The voice's cutoff frequency.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/2/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms">
|
<member name="voice/2/delay_ms" type="float" setter="set_voice_delay_ms" getter="get_voice_delay_ms" default="20.0">
|
||||||
The voice's signal delay.
|
The voice's signal delay.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/2/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms">
|
<member name="voice/2/depth_ms" type="float" setter="set_voice_depth_ms" getter="get_voice_depth_ms" default="3.0">
|
||||||
The voice filter's depth.
|
The voice filter's depth.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/2/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db">
|
<member name="voice/2/level_db" type="float" setter="set_voice_level_db" getter="get_voice_level_db" default="0.0">
|
||||||
The voice's volume.
|
The voice's volume.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/2/pan" type="float" setter="set_voice_pan" getter="get_voice_pan">
|
<member name="voice/2/pan" type="float" setter="set_voice_pan" getter="get_voice_pan" default="0.5">
|
||||||
The voice's pan level.
|
The voice's pan level.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/2/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
|
<member name="voice/2/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz" default="1.2">
|
||||||
The voice's filter rate.
|
The voice's filter rate.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice/3/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
|
<member name="voice/3/cutoff_hz" type="float" setter="set_voice_cutoff_hz" getter="get_voice_cutoff_hz">
|
||||||
|
@ -86,10 +86,10 @@
|
||||||
<member name="voice/4/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
|
<member name="voice/4/rate_hz" type="float" setter="set_voice_rate_hz" getter="get_voice_rate_hz">
|
||||||
The voice's filter rate.
|
The voice's filter rate.
|
||||||
</member>
|
</member>
|
||||||
<member name="voice_count" type="int" setter="set_voice_count" getter="get_voice_count">
|
<member name="voice_count" type="int" setter="set_voice_count" getter="get_voice_count" default="2">
|
||||||
The amount of voices in the effect.
|
The amount of voices in the effect.
|
||||||
</member>
|
</member>
|
||||||
<member name="wet" type="float" setter="set_wet" getter="get_wet">
|
<member name="wet" type="float" setter="set_wet" getter="get_wet" default="0.5">
|
||||||
The effect's processed signal.
|
The effect's processed signal.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -17,26 +17,26 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="attack_us" type="float" setter="set_attack_us" getter="get_attack_us">
|
<member name="attack_us" type="float" setter="set_attack_us" getter="get_attack_us" default="20.0">
|
||||||
Compressor's reaction time when the signal exceeds the threshold, in microseconds. Value can range from 20 to 2000. Default value: [code]20us[/code].
|
Compressor's reaction time when the signal exceeds the threshold, in microseconds. Value can range from 20 to 2000.
|
||||||
</member>
|
</member>
|
||||||
<member name="gain" type="float" setter="set_gain" getter="get_gain">
|
<member name="gain" type="float" setter="set_gain" getter="get_gain" default="0.0">
|
||||||
Gain applied to the output signal.
|
Gain applied to the output signal.
|
||||||
</member>
|
</member>
|
||||||
<member name="mix" type="float" setter="set_mix" getter="get_mix">
|
<member name="mix" type="float" setter="set_mix" getter="get_mix" default="1.0">
|
||||||
Balance between original signal and effect signal. Value can range from 0 (totally dry) to 1 (totally wet). Default value: [code]1[/code].
|
Balance between original signal and effect signal. Value can range from 0 (totally dry) to 1 (totally wet).
|
||||||
</member>
|
</member>
|
||||||
<member name="ratio" type="float" setter="set_ratio" getter="get_ratio">
|
<member name="ratio" type="float" setter="set_ratio" getter="get_ratio" default="4.0">
|
||||||
Amount of compression applied to the audio once it passes the threshold level. The higher the ratio, the more the loud parts of the audio will be compressed. Value can range from 1 to 48. Default value: [code]4[/code].
|
Amount of compression applied to the audio once it passes the threshold level. The higher the ratio, the more the loud parts of the audio will be compressed. Value can range from 1 to 48.
|
||||||
</member>
|
</member>
|
||||||
<member name="release_ms" type="float" setter="set_release_ms" getter="get_release_ms">
|
<member name="release_ms" type="float" setter="set_release_ms" getter="get_release_ms" default="250.0">
|
||||||
Compressor's delay time to stop reducing the signal after the signal level falls below the threshold, in milliseconds. Value can range from 20 to 2000. Default value: [code]250ms[/code].
|
Compressor's delay time to stop reducing the signal after the signal level falls below the threshold, in milliseconds. Value can range from 20 to 2000.
|
||||||
</member>
|
</member>
|
||||||
<member name="sidechain" type="String" setter="set_sidechain" getter="get_sidechain">
|
<member name="sidechain" type="String" setter="set_sidechain" getter="get_sidechain" default="""">
|
||||||
Reduce the sound level using another audio bus for threshold detection.
|
Reduce the sound level using another audio bus for threshold detection.
|
||||||
</member>
|
</member>
|
||||||
<member name="threshold" type="float" setter="set_threshold" getter="get_threshold">
|
<member name="threshold" type="float" setter="set_threshold" getter="get_threshold" default="0.0">
|
||||||
The level above which compression is applied to the audio. Value can range from -60 to 0. Default value: [code]0[/code].
|
The level above which compression is applied to the audio. Value can range from -60 to 0.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -12,44 +12,44 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="dry" type="float" setter="set_dry" getter="get_dry">
|
<member name="dry" type="float" setter="set_dry" getter="get_dry" default="1.0">
|
||||||
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.
|
||||||
</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" default="false">
|
||||||
If [code]true[/code], feedback is enabled. Default value: [code]false[/code].
|
If [code]true[/code], feedback is enabled.
|
||||||
</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" default="340.0">
|
||||||
Feedback delay time in milliseconds. Default value: [code]340[/code].
|
Feedback delay time in milliseconds.
|
||||||
</member>
|
</member>
|
||||||
<member name="feedback/level_db" type="float" setter="set_feedback_level_db" getter="get_feedback_level_db">
|
<member name="feedback/level_db" type="float" setter="set_feedback_level_db" getter="get_feedback_level_db" default="-6.0">
|
||||||
Sound level for [code]tap1[/code]. Default value: [code]-6 dB[/code].
|
Sound level for [code]tap1[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="feedback/lowpass" type="float" setter="set_feedback_lowpass" getter="get_feedback_lowpass">
|
<member name="feedback/lowpass" type="float" setter="set_feedback_lowpass" getter="get_feedback_lowpass" default="16000.0">
|
||||||
Low-pass filter for feedback, in Hz. Frequencies below this value are filtered out of the source signal. Default value: [code]16000[/code].
|
Low-pass filter for feedback, in Hz. Frequencies below this value are filtered out of the source signal.
|
||||||
</member>
|
</member>
|
||||||
<member name="tap1/active" type="bool" setter="set_tap1_active" getter="is_tap1_active">
|
<member name="tap1/active" type="bool" setter="set_tap1_active" getter="is_tap1_active" default="true">
|
||||||
If [code]true[/code], [code]tap1[/code] will be enabled. Default value: [code]true[/code].
|
If [code]true[/code], [code]tap1[/code] will be enabled.
|
||||||
</member>
|
</member>
|
||||||
<member name="tap1/delay_ms" type="float" setter="set_tap1_delay_ms" getter="get_tap1_delay_ms">
|
<member name="tap1/delay_ms" type="float" setter="set_tap1_delay_ms" getter="get_tap1_delay_ms" default="250.0">
|
||||||
[code]tap1[/code] delay time in milliseconds. Default value: [code]250ms[/code].
|
[code]tap1[/code] delay time in milliseconds.
|
||||||
</member>
|
</member>
|
||||||
<member name="tap1/level_db" type="float" setter="set_tap1_level_db" getter="get_tap1_level_db">
|
<member name="tap1/level_db" type="float" setter="set_tap1_level_db" getter="get_tap1_level_db" default="-6.0">
|
||||||
Sound level for [code]tap1[/code]. Default value: [code]-6 dB[/code].
|
Sound level for [code]tap1[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="tap1/pan" type="float" setter="set_tap1_pan" getter="get_tap1_pan">
|
<member name="tap1/pan" type="float" setter="set_tap1_pan" getter="get_tap1_pan" default="0.2">
|
||||||
Pan position for [code]tap1[/code]. Value can range from -1 (fully left) to 1 (fully right). Default value: [code]0.2[/code].
|
Pan position for [code]tap1[/code]. Value can range from -1 (fully left) to 1 (fully right).
|
||||||
</member>
|
</member>
|
||||||
<member name="tap2/active" type="bool" setter="set_tap2_active" getter="is_tap2_active">
|
<member name="tap2/active" type="bool" setter="set_tap2_active" getter="is_tap2_active" default="true">
|
||||||
If [code]true[/code], [code]tap2[/code] will be enabled. Default value: [code]true[/code].
|
If [code]true[/code], [code]tap2[/code] will be enabled.
|
||||||
</member>
|
</member>
|
||||||
<member name="tap2/delay_ms" type="float" setter="set_tap2_delay_ms" getter="get_tap2_delay_ms">
|
<member name="tap2/delay_ms" type="float" setter="set_tap2_delay_ms" getter="get_tap2_delay_ms" default="500.0">
|
||||||
[b]Tap2[/b] delay time in milliseconds. Default value: [code]500ms[/code].
|
[b]Tap2[/b] delay time in milliseconds.
|
||||||
</member>
|
</member>
|
||||||
<member name="tap2/level_db" type="float" setter="set_tap2_level_db" getter="get_tap2_level_db">
|
<member name="tap2/level_db" type="float" setter="set_tap2_level_db" getter="get_tap2_level_db" default="-12.0">
|
||||||
Sound level for [code]tap2[/code]. Default value: [code]-12 dB[/code].
|
Sound level for [code]tap2[/code].
|
||||||
</member>
|
</member>
|
||||||
<member name="tap2/pan" type="float" setter="set_tap2_pan" getter="get_tap2_pan">
|
<member name="tap2/pan" type="float" setter="set_tap2_pan" getter="get_tap2_pan" default="-0.4">
|
||||||
Pan position for [code]tap2[/code]. Value can range from -1 (fully left) to 1 (fully right). Default value: [code]-0.4[/code].
|
Pan position for [code]tap2[/code]. Value can range from -1 (fully left) to 1 (fully right).
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -13,20 +13,20 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="drive" type="float" setter="set_drive" getter="get_drive">
|
<member name="drive" type="float" setter="set_drive" getter="get_drive" default="0.0">
|
||||||
Distortion power. Value can range from 0 to 1. Default value: [code]0[/code].
|
Distortion power. Value can range from 0 to 1.
|
||||||
</member>
|
</member>
|
||||||
<member name="keep_hf_hz" type="float" setter="set_keep_hf_hz" getter="get_keep_hf_hz">
|
<member name="keep_hf_hz" type="float" setter="set_keep_hf_hz" getter="get_keep_hf_hz" default="16000.0">
|
||||||
High-pass filter, in Hz. Frequencies higher than this value will not be affected by the distortion. Value can range from 1 to 20000. Default value: [code]16000[/code].
|
High-pass filter, in Hz. Frequencies higher than this value will not be affected by the distortion. Value can range from 1 to 20000.
|
||||||
</member>
|
</member>
|
||||||
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="AudioEffectDistortion.Mode">
|
<member name="mode" type="int" setter="set_mode" getter="get_mode" enum="AudioEffectDistortion.Mode" default="0">
|
||||||
Distortion type. Default value: [constant MODE_CLIP].
|
Distortion type.
|
||||||
</member>
|
</member>
|
||||||
<member name="post_gain" type="float" setter="set_post_gain" getter="get_post_gain">
|
<member name="post_gain" type="float" setter="set_post_gain" getter="get_post_gain" default="0.0">
|
||||||
Increases or decreases the volume after the effect. Value can range from -80 to 24. Default value: [code]0[/code].
|
Increases or decreases the volume after the effect. Value can range from -80 to 24.
|
||||||
</member>
|
</member>
|
||||||
<member name="pre_gain" type="float" setter="set_pre_gain" getter="get_pre_gain">
|
<member name="pre_gain" type="float" setter="set_pre_gain" getter="get_pre_gain" default="0.0">
|
||||||
Increases or decreases the volume before the effect. Value can range from -60 to 60. Default value: [code]0[/code].
|
Increases or decreases the volume before the effect. Value can range from -60 to 60.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -11,15 +11,15 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="cutoff_hz" type="float" setter="set_cutoff" getter="get_cutoff">
|
<member name="cutoff_hz" type="float" setter="set_cutoff" getter="get_cutoff" default="2000.0">
|
||||||
Threshold frequency for the filter, in Hz.
|
Threshold frequency for the filter, in Hz.
|
||||||
</member>
|
</member>
|
||||||
<member name="db" type="int" setter="set_db" getter="get_db" enum="AudioEffectFilter.FilterDB">
|
<member name="db" type="int" setter="set_db" getter="get_db" enum="AudioEffectFilter.FilterDB" default="0">
|
||||||
</member>
|
</member>
|
||||||
<member name="gain" type="float" setter="set_gain" getter="get_gain">
|
<member name="gain" type="float" setter="set_gain" getter="get_gain" default="1.0">
|
||||||
Gain amount of the frequencies after the filter.
|
Gain amount of the frequencies after the filter.
|
||||||
</member>
|
</member>
|
||||||
<member name="resonance" type="float" setter="set_resonance" getter="get_resonance">
|
<member name="resonance" type="float" setter="set_resonance" getter="get_resonance" default="0.5">
|
||||||
Amount of boost in the overtones near the cutoff frequency.
|
Amount of boost in the overtones near the cutoff frequency.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -12,16 +12,16 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="ceiling_db" type="float" setter="set_ceiling_db" getter="get_ceiling_db">
|
<member name="ceiling_db" type="float" setter="set_ceiling_db" getter="get_ceiling_db" default="-0.1">
|
||||||
The waveform's maximum allowed value, in decibels. Value can range from -20 to -0.1. Default value: [code]-0.1dB[/code].
|
The waveform's maximum allowed value, in decibels. Value can range from -20 to -0.1.
|
||||||
</member>
|
</member>
|
||||||
<member name="soft_clip_db" type="float" setter="set_soft_clip_db" getter="get_soft_clip_db">
|
<member name="soft_clip_db" type="float" setter="set_soft_clip_db" getter="get_soft_clip_db" default="2.0">
|
||||||
Applies a gain to the limited waves, in decibels. Value can range from 0 to 6. Default value: [code]2dB[/code].
|
Applies a gain to the limited waves, in decibels. Value can range from 0 to 6.
|
||||||
</member>
|
</member>
|
||||||
<member name="soft_clip_ratio" type="float" setter="set_soft_clip_ratio" getter="get_soft_clip_ratio">
|
<member name="soft_clip_ratio" type="float" setter="set_soft_clip_ratio" getter="get_soft_clip_ratio" default="10.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="threshold_db" type="float" setter="set_threshold_db" getter="get_threshold_db">
|
<member name="threshold_db" type="float" setter="set_threshold_db" getter="get_threshold_db" default="0.0">
|
||||||
Threshold from which the limiter begins to be active, in decibels. Value can range from -30 to 0. Default value: [code]0dB[/code].
|
Threshold from which the limiter begins to be active, in decibels. Value can range from -30 to 0.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="pan" type="float" setter="set_pan" getter="get_pan">
|
<member name="pan" type="float" setter="set_pan" getter="get_pan" default="0.0">
|
||||||
Pan position. Value can range from -1 (fully left) to 1 (fully right).
|
Pan position. Value can range from -1 (fully left) to 1 (fully right).
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -12,19 +12,19 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="depth" type="float" setter="set_depth" getter="get_depth">
|
<member name="depth" type="float" setter="set_depth" getter="get_depth" default="1.0">
|
||||||
Governs how high the filter frequencies sweep. Low value will primarily affect bass frequencies. High value can sweep high into the treble. Value can range from 0.1 to 4. Default value: [code]1[/code].
|
Governs how high the filter frequencies sweep. Low value will primarily affect bass frequencies. High value can sweep high into the treble. Value can range from 0.1 to 4.
|
||||||
</member>
|
</member>
|
||||||
<member name="feedback" type="float" setter="set_feedback" getter="get_feedback">
|
<member name="feedback" type="float" setter="set_feedback" getter="get_feedback" default="0.7">
|
||||||
Output percent of modified sound. Value can range from 0.1 to 0.9. Default value: [code]0.7[/code].
|
Output percent of modified sound. Value can range from 0.1 to 0.9.
|
||||||
</member>
|
</member>
|
||||||
<member name="range_max_hz" type="float" setter="set_range_max_hz" getter="get_range_max_hz">
|
<member name="range_max_hz" type="float" setter="set_range_max_hz" getter="get_range_max_hz" default="1600.0">
|
||||||
Determines the maximum frequency affected by the LFO modulations, in Hz. Value can range from 10 to 10000. Default value: [code]1600hz[/code].
|
Determines the maximum frequency affected by the LFO modulations, in Hz. Value can range from 10 to 10000.
|
||||||
</member>
|
</member>
|
||||||
<member name="range_min_hz" type="float" setter="set_range_min_hz" getter="get_range_min_hz">
|
<member name="range_min_hz" type="float" setter="set_range_min_hz" getter="get_range_min_hz" default="440.0">
|
||||||
Determines the minimum frequency affected by the LFO modulations, in Hz. Value can range from 10 to 10000. Default value: [code]440hz[/code].
|
Determines the minimum frequency affected by the LFO modulations, in Hz. Value can range from 10 to 10000.
|
||||||
</member>
|
</member>
|
||||||
<member name="rate_hz" type="float" setter="set_rate_hz" getter="get_rate_hz">
|
<member name="rate_hz" type="float" setter="set_rate_hz" getter="get_rate_hz" default="0.5">
|
||||||
Adjusts the rate in Hz at which the effect sweeps up and down across the frequency range.
|
Adjusts the rate in Hz at which the effect sweeps up and down across the frequency range.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="fft_size" type="int" setter="set_fft_size" getter="get_fft_size" enum="AudioEffectPitchShift.FFT_Size">
|
<member name="fft_size" type="int" setter="set_fft_size" getter="get_fft_size" enum="AudioEffectPitchShift.FFT_Size" default="3">
|
||||||
</member>
|
</member>
|
||||||
<member name="oversampling" type="int" setter="set_oversampling" getter="get_oversampling">
|
<member name="oversampling" type="int" setter="set_oversampling" getter="get_oversampling" default="4">
|
||||||
</member>
|
</member>
|
||||||
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
|
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale" default="1.0">
|
||||||
Pitch value. Can range from 0 (-1 octave) to 16 (+16 octaves).
|
Pitch value. Can range from 0 (-1 octave) to 16 (+16 octaves).
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="format" type="int" setter="set_format" getter="get_format" enum="AudioStreamSample.Format">
|
<member name="format" type="int" setter="set_format" getter="get_format" enum="AudioStreamSample.Format" default="1">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -12,29 +12,29 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="damping" type="float" setter="set_damping" getter="get_damping">
|
<member name="damping" type="float" setter="set_damping" getter="get_damping" default="0.5">
|
||||||
Defines how reflective the imaginary room's walls are. Value can range from 0 to 1. Default value: [code]1[/code].
|
Defines how reflective the imaginary room's walls are. Value can range from 0 to 1.
|
||||||
</member>
|
</member>
|
||||||
<member name="dry" type="float" setter="set_dry" getter="get_dry">
|
<member name="dry" type="float" setter="set_dry" getter="get_dry" default="1.0">
|
||||||
Output percent of original sound. At 0, only modified sound is outputted. Value can range from 0 to 1. Default value: [code]1[/code].
|
Output percent of original sound. At 0, only modified sound is outputted. Value can range from 0 to 1.
|
||||||
</member>
|
</member>
|
||||||
<member name="hipass" type="float" setter="set_hpf" getter="get_hpf">
|
<member name="hipass" type="float" setter="set_hpf" getter="get_hpf" default="0.0">
|
||||||
High-pass filter passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. Value can range from 0 to 1. Default value: [code]0[/code].
|
High-pass filter passes signals with a frequency higher than a certain cutoff frequency and attenuates signals with frequencies lower than the cutoff frequency. Value can range from 0 to 1.
|
||||||
</member>
|
</member>
|
||||||
<member name="predelay_feedback" type="float" setter="set_predelay_feedback" getter="get_predelay_feedback">
|
<member name="predelay_feedback" type="float" setter="set_predelay_feedback" getter="get_predelay_feedback" default="0.4">
|
||||||
Output percent of predelay. Value can range from 0 to 1. Default value: [code]1[/code].
|
Output percent of predelay. Value can range from 0 to 1.
|
||||||
</member>
|
</member>
|
||||||
<member name="predelay_msec" type="float" setter="set_predelay_msec" getter="get_predelay_msec">
|
<member name="predelay_msec" type="float" setter="set_predelay_msec" getter="get_predelay_msec" default="150.0">
|
||||||
Time between the original signal and the early reflections of the reverb signal, in milliseconds. Default value: [code]150ms[/code].
|
Time between the original signal and the early reflections of the reverb signal, in milliseconds.
|
||||||
</member>
|
</member>
|
||||||
<member name="room_size" type="float" setter="set_room_size" getter="get_room_size">
|
<member name="room_size" type="float" setter="set_room_size" getter="get_room_size" default="0.8">
|
||||||
Dimensions of simulated room. Bigger means more echoes. Value can range from 0 to 1. Default value: [code]0.8[/code].
|
Dimensions of simulated room. Bigger means more echoes. Value can range from 0 to 1.
|
||||||
</member>
|
</member>
|
||||||
<member name="spread" type="float" setter="set_spread" getter="get_spread">
|
<member name="spread" type="float" setter="set_spread" getter="get_spread" default="1.0">
|
||||||
Widens or narrows the stereo image of the reverb tail. 1 means fully widens. Value can range from 0 to 1. Default value: [code]1[/code].
|
Widens or narrows the stereo image of the reverb tail. 1 means fully widens. Value can range from 0 to 1.
|
||||||
</member>
|
</member>
|
||||||
<member name="wet" type="float" setter="set_wet" getter="get_wet">
|
<member name="wet" type="float" setter="set_wet" getter="get_wet" default="0.5">
|
||||||
Output percent of modified sound. At 0, only original sound is outputted. Value can range from 0 to 1. Default value: [code]0.5[/code].
|
Output percent of modified sound. At 0, only original sound is outputted. Value can range from 0 to 1.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="buffer_length" type="float" setter="set_buffer_length" getter="get_buffer_length">
|
<member name="buffer_length" type="float" setter="set_buffer_length" getter="get_buffer_length" default="2.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="fft_size" type="int" setter="set_fft_size" getter="get_fft_size" enum="AudioEffectSpectrumAnalyzer.FFT_Size">
|
<member name="fft_size" type="int" setter="set_fft_size" getter="get_fft_size" enum="AudioEffectSpectrumAnalyzer.FFT_Size" default="2">
|
||||||
</member>
|
</member>
|
||||||
<member name="tap_back_pos" type="float" setter="set_tap_back_pos" getter="get_tap_back_pos">
|
<member name="tap_back_pos" type="float" setter="set_tap_back_pos" getter="get_tap_back_pos" default="0.01">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="pan_pullout" type="float" setter="set_pan_pullout" getter="get_pan_pullout">
|
<member name="pan_pullout" type="float" setter="set_pan_pullout" getter="get_pan_pullout" default="1.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="surround" type="float" setter="set_surround" getter="get_surround">
|
<member name="surround" type="float" setter="set_surround" getter="get_surround" default="0.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="time_pullout_ms" type="float" setter="set_time_pullout" getter="get_time_pullout">
|
<member name="time_pullout_ms" type="float" setter="set_time_pullout" getter="get_time_pullout" default="0.0">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="buffer_length" type="float" setter="set_buffer_length" getter="get_buffer_length">
|
<member name="buffer_length" type="float" setter="set_buffer_length" getter="get_buffer_length" default="0.5">
|
||||||
</member>
|
</member>
|
||||||
<member name="mix_rate" type="float" setter="set_mix_rate" getter="get_mix_rate">
|
<member name="mix_rate" type="float" setter="set_mix_rate" getter="get_mix_rate" default="44100.0">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -50,27 +50,27 @@
|
||||||
</method>
|
</method>
|
||||||
</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" default="false">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="bus" type="String" setter="set_bus" getter="get_bus">
|
<member name="bus" type="String" setter="set_bus" getter="get_bus" default=""Master"">
|
||||||
Bus on which this audio is playing.
|
Bus on which this audio is playing.
|
||||||
</member>
|
</member>
|
||||||
<member name="mix_target" type="int" setter="set_mix_target" getter="get_mix_target" enum="AudioStreamPlayer.MixTarget">
|
<member name="mix_target" type="int" setter="set_mix_target" getter="get_mix_target" enum="AudioStreamPlayer.MixTarget" default="0">
|
||||||
If the audio configuration has more than two speakers, this sets the target channels. See [code]MIX_TARGET_*[/code] constants.
|
If the audio configuration has more than two speakers, this sets the target channels. See [code]MIX_TARGET_*[/code] constants.
|
||||||
</member>
|
</member>
|
||||||
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
|
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale" default="1.0">
|
||||||
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" default="false">
|
||||||
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" default="null">
|
||||||
The [AudioStream] object to be played.
|
The [AudioStream] object to be played.
|
||||||
</member>
|
</member>
|
||||||
<member name="stream_paused" type="bool" setter="set_stream_paused" getter="get_stream_paused">
|
<member name="stream_paused" type="bool" setter="set_stream_paused" getter="get_stream_paused" default="false">
|
||||||
</member>
|
</member>
|
||||||
<member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db">
|
<member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db" default="0.0">
|
||||||
Volume of sound, in dB.
|
Volume of sound, in dB.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -50,33 +50,33 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="area_mask" type="int" setter="set_area_mask" getter="get_area_mask">
|
<member name="area_mask" type="int" setter="set_area_mask" getter="get_area_mask" default="1">
|
||||||
Areas in which this sound plays.
|
Areas in which this sound plays.
|
||||||
</member>
|
</member>
|
||||||
<member name="attenuation" type="float" setter="set_attenuation" getter="get_attenuation">
|
<member name="attenuation" type="float" setter="set_attenuation" getter="get_attenuation" default="1.0">
|
||||||
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" default="false">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="bus" type="String" setter="set_bus" getter="get_bus">
|
<member name="bus" type="String" setter="set_bus" getter="get_bus" default=""Master"">
|
||||||
Bus on which this audio is playing.
|
Bus on which this audio is playing.
|
||||||
</member>
|
</member>
|
||||||
<member name="max_distance" type="float" setter="set_max_distance" getter="get_max_distance">
|
<member name="max_distance" type="float" setter="set_max_distance" getter="get_max_distance" default="2000.0">
|
||||||
Maximum distance from which audio is still hearable.
|
Maximum distance from which audio is still hearable.
|
||||||
</member>
|
</member>
|
||||||
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
|
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale" default="1.0">
|
||||||
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" default="false">
|
||||||
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" default="null">
|
||||||
The [AudioStream] object to be played.
|
The [AudioStream] object to be played.
|
||||||
</member>
|
</member>
|
||||||
<member name="stream_paused" type="bool" setter="set_stream_paused" getter="get_stream_paused">
|
<member name="stream_paused" type="bool" setter="set_stream_paused" getter="get_stream_paused" default="false">
|
||||||
</member>
|
</member>
|
||||||
<member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db">
|
<member name="volume_db" type="float" setter="set_volume_db" getter="get_volume_db" default="0.0">
|
||||||
Base volume without dampening.
|
Base volume without dampening.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -50,60 +50,60 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="area_mask" type="int" setter="set_area_mask" getter="get_area_mask">
|
<member name="area_mask" type="int" setter="set_area_mask" getter="get_area_mask" default="1">
|
||||||
Areas in which this sound plays.
|
Areas in which this sound plays.
|
||||||
</member>
|
</member>
|
||||||
<member name="attenuation_filter_cutoff_hz" type="float" setter="set_attenuation_filter_cutoff_hz" getter="get_attenuation_filter_cutoff_hz">
|
<member name="attenuation_filter_cutoff_hz" type="float" setter="set_attenuation_filter_cutoff_hz" getter="get_attenuation_filter_cutoff_hz" default="5000.0">
|
||||||
Dampens audio above this frequency, in Hz.
|
Dampens audio above this frequency, in Hz.
|
||||||
</member>
|
</member>
|
||||||
<member name="attenuation_filter_db" type="float" setter="set_attenuation_filter_db" getter="get_attenuation_filter_db">
|
<member name="attenuation_filter_db" type="float" setter="set_attenuation_filter_db" getter="get_attenuation_filter_db" default="-24.0">
|
||||||
Amount how much the filter affects the loudness, in dB.
|
Amount how much the filter affects the loudness, in dB.
|
||||||
</member>
|
</member>
|
||||||
<member name="attenuation_model" type="int" setter="set_attenuation_model" getter="get_attenuation_model" enum="AudioStreamPlayer3D.AttenuationModel">
|
<member name="attenuation_model" type="int" setter="set_attenuation_model" getter="get_attenuation_model" enum="AudioStreamPlayer3D.AttenuationModel" default="0">
|
||||||
Decides if audio should get quieter with distance linearly, quadratically, logarithmically, or not be affected by distance, effectively disabling attenuation.
|
Decides if audio should get quieter with distance linearly, quadratically, logarithmically, or not be affected by distance, effectively disabling attenuation.
|
||||||
</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" default="false">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="bus" type="String" setter="set_bus" getter="get_bus">
|
<member name="bus" type="String" setter="set_bus" getter="get_bus" default=""Master"">
|
||||||
Bus on which this audio is playing.
|
Bus on which this audio is playing.
|
||||||
</member>
|
</member>
|
||||||
<member name="doppler_tracking" type="int" setter="set_doppler_tracking" getter="get_doppler_tracking" enum="AudioStreamPlayer3D.DopplerTracking">
|
<member name="doppler_tracking" type="int" setter="set_doppler_tracking" getter="get_doppler_tracking" enum="AudioStreamPlayer3D.DopplerTracking" default="0">
|
||||||
Decides in which step the Doppler effect should be calculated.
|
Decides in which step the Doppler effect should be calculated.
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_angle_degrees" type="float" setter="set_emission_angle" getter="get_emission_angle">
|
<member name="emission_angle_degrees" type="float" setter="set_emission_angle" getter="get_emission_angle" default="45.0">
|
||||||
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" default="false">
|
||||||
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" default="-12.0">
|
||||||
Dampens audio if camera is outside of [member emission_angle_degrees] and [member emission_angle_enabled] is set by this factor, in dB.
|
Dampens audio if camera is outside of [member emission_angle_degrees] and [member emission_angle_enabled] is set by this factor, in dB.
|
||||||
</member>
|
</member>
|
||||||
<member name="max_db" type="float" setter="set_max_db" getter="get_max_db">
|
<member name="max_db" type="float" setter="set_max_db" getter="get_max_db" default="3.0">
|
||||||
Sets the absolute maximum of the soundlevel, in dB.
|
Sets the absolute maximum of the soundlevel, in dB.
|
||||||
</member>
|
</member>
|
||||||
<member name="max_distance" type="float" setter="set_max_distance" getter="get_max_distance">
|
<member name="max_distance" type="float" setter="set_max_distance" getter="get_max_distance" default="0.0">
|
||||||
Sets the distance from which the [member out_of_range_mode] takes effect. Has no effect if set to 0.
|
Sets the distance from which the [member out_of_range_mode] takes effect. Has no effect if set to 0.
|
||||||
</member>
|
</member>
|
||||||
<member name="out_of_range_mode" type="int" setter="set_out_of_range_mode" getter="get_out_of_range_mode" enum="AudioStreamPlayer3D.OutOfRangeMode">
|
<member name="out_of_range_mode" type="int" setter="set_out_of_range_mode" getter="get_out_of_range_mode" enum="AudioStreamPlayer3D.OutOfRangeMode" default="0">
|
||||||
Decides if audio should pause when source is outside of [member max_distance] range.
|
Decides if audio should pause when source is outside of [member max_distance] range.
|
||||||
</member>
|
</member>
|
||||||
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale">
|
<member name="pitch_scale" type="float" setter="set_pitch_scale" getter="get_pitch_scale" default="1.0">
|
||||||
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" default="false">
|
||||||
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" default="null">
|
||||||
The [AudioStream] object to be played.
|
The [AudioStream] object to be played.
|
||||||
</member>
|
</member>
|
||||||
<member name="stream_paused" type="bool" setter="set_stream_paused" getter="get_stream_paused">
|
<member name="stream_paused" type="bool" setter="set_stream_paused" getter="get_stream_paused" default="false">
|
||||||
</member>
|
</member>
|
||||||
<member name="unit_db" type="float" setter="set_unit_db" getter="get_unit_db">
|
<member name="unit_db" type="float" setter="set_unit_db" getter="get_unit_db" default="0.0">
|
||||||
Base sound level unaffected by dampening, in dB.
|
Base sound level unaffected by dampening, in dB.
|
||||||
</member>
|
</member>
|
||||||
<member name="unit_size" type="float" setter="set_unit_size" getter="get_unit_size">
|
<member name="unit_size" type="float" setter="set_unit_size" getter="get_unit_size" default="1.0">
|
||||||
Factor for the attenuation effect.
|
Factor for the attenuation effect.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="audio_stream" type="AudioStream" setter="set_audio_stream" getter="get_audio_stream">
|
<member name="audio_stream" type="AudioStream" setter="set_audio_stream" getter="get_audio_stream" default="null">
|
||||||
The current [AudioStream].
|
The current [AudioStream].
|
||||||
</member>
|
</member>
|
||||||
<member name="random_pitch" type="float" setter="set_random_pitch" getter="get_random_pitch">
|
<member name="random_pitch" type="float" setter="set_random_pitch" getter="get_random_pitch" default="1.1">
|
||||||
The intensity of random pitch variation.
|
The intensity of random pitch variation.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -22,26 +22,26 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="data" type="PoolByteArray" setter="set_data" getter="get_data">
|
<member name="data" type="PoolByteArray" setter="set_data" getter="get_data" default="PoolByteArray( )">
|
||||||
Contains the audio data in bytes.
|
Contains the audio data in bytes.
|
||||||
</member>
|
</member>
|
||||||
<member name="format" type="int" setter="set_format" getter="get_format" enum="AudioStreamSample.Format">
|
<member name="format" type="int" setter="set_format" getter="get_format" enum="AudioStreamSample.Format" default="0">
|
||||||
Audio format. See [code]FORMAT_*[/code] constants for values.
|
Audio format. See [code]FORMAT_*[/code] constants for values.
|
||||||
</member>
|
</member>
|
||||||
<member name="loop_begin" type="int" setter="set_loop_begin" getter="get_loop_begin">
|
<member name="loop_begin" type="int" setter="set_loop_begin" getter="get_loop_begin" default="0">
|
||||||
Loop start in bytes.
|
Loop start in bytes.
|
||||||
</member>
|
</member>
|
||||||
<member name="loop_end" type="int" setter="set_loop_end" getter="get_loop_end">
|
<member name="loop_end" type="int" setter="set_loop_end" getter="get_loop_end" default="0">
|
||||||
Loop end in bytes.
|
Loop end in bytes.
|
||||||
</member>
|
</member>
|
||||||
<member name="loop_mode" type="int" setter="set_loop_mode" getter="get_loop_mode" enum="AudioStreamSample.LoopMode">
|
<member name="loop_mode" type="int" setter="set_loop_mode" getter="get_loop_mode" enum="AudioStreamSample.LoopMode" default="0">
|
||||||
Loop mode. See [code]LOOP_*[/code] constants for values.
|
Loop mode. See [code]LOOP_*[/code] constants for values.
|
||||||
</member>
|
</member>
|
||||||
<member name="mix_rate" type="int" setter="set_mix_rate" getter="get_mix_rate">
|
<member name="mix_rate" type="int" setter="set_mix_rate" getter="get_mix_rate" default="44100">
|
||||||
The sample rate for mixing this audio.
|
The sample rate for mixing this audio.
|
||||||
</member>
|
</member>
|
||||||
<member name="stereo" type="bool" setter="set_stereo" getter="is_stereo">
|
<member name="stereo" type="bool" setter="set_stereo" getter="is_stereo" default="false">
|
||||||
If [code]true[/code], audio is stereo. Default value: [code]false[/code].
|
If [code]true[/code], audio is stereo.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="copy_mode" type="int" setter="set_copy_mode" getter="get_copy_mode" enum="BackBufferCopy.CopyMode">
|
<member name="copy_mode" type="int" setter="set_copy_mode" getter="get_copy_mode" enum="BackBufferCopy.CopyMode" default="1">
|
||||||
Buffer mode. See [enum CopyMode] constants.
|
Buffer mode. See [enum CopyMode] constants.
|
||||||
</member>
|
</member>
|
||||||
<member name="rect" type="Rect2" setter="set_rect" getter="get_rect">
|
<member name="rect" type="Rect2" setter="set_rect" getter="get_rect" default="Rect2( -100, -100, 200, 200 )">
|
||||||
The area covered by the BackBufferCopy. Only used if [member copy_mode] is [constant COPY_MODE_RECT].
|
The area covered by the BackBufferCopy. Only used if [member copy_mode] is [constant COPY_MODE_RECT].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -28,32 +28,32 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="bake_cell_size" type="float" setter="set_bake_cell_size" getter="get_bake_cell_size">
|
<member name="bake_cell_size" type="float" setter="set_bake_cell_size" getter="get_bake_cell_size" default="0.25">
|
||||||
Grid subdivision size for lightmapper calculation. Default value of [code]0.25[/code] will work for most cases. Increase for better lighting on small details or if your scene is very large.
|
Grid subdivision size for lightmapper calculation. The default value will work for most cases. Increase for better lighting on small details or if your scene is very large.
|
||||||
</member>
|
</member>
|
||||||
<member name="bake_energy" type="float" setter="set_energy" getter="get_energy">
|
<member name="bake_energy" type="float" setter="set_energy" getter="get_energy" default="1.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="bake_extents" type="Vector3" setter="set_extents" getter="get_extents">
|
<member name="bake_extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 10, 10, 10 )">
|
||||||
The size of the affected area.
|
The size of the 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" default="false">
|
||||||
If [code]true[/code], the lightmap can capture light values greater than [code]1.0[/code]. Turning this off will result in a smaller file size. Default value: [code]false[/code].
|
If [code]true[/code], the lightmap can capture light values greater than [code]1.0[/code]. Turning this off will result in a smaller file size.
|
||||||
</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" default="0">
|
||||||
Lightmapping mode. See [enum BakeMode].
|
Lightmapping mode. See [enum BakeMode].
|
||||||
</member>
|
</member>
|
||||||
<member name="bake_propagation" type="float" setter="set_propagation" getter="get_propagation">
|
<member name="bake_propagation" type="float" setter="set_propagation" getter="get_propagation" default="1.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="bake_quality" type="int" setter="set_bake_quality" getter="get_bake_quality" enum="BakedLightmap.BakeQuality">
|
<member name="bake_quality" type="int" setter="set_bake_quality" getter="get_bake_quality" enum="BakedLightmap.BakeQuality" default="1">
|
||||||
Three quality modes are available. Higher quality requires more rendering time. See [enum BakeQuality].
|
Three quality modes are available. Higher quality requires more rendering time. See [enum BakeQuality].
|
||||||
</member>
|
</member>
|
||||||
<member name="capture_cell_size" type="float" setter="set_capture_cell_size" getter="get_capture_cell_size">
|
<member name="capture_cell_size" type="float" setter="set_capture_cell_size" getter="get_capture_cell_size" default="0.5">
|
||||||
Grid size used for real-time capture information on dynamic objects. Cannot be larger than [member bake_cell_size].
|
Grid size used for real-time capture information on dynamic objects. Cannot be larger than [member bake_cell_size].
|
||||||
</member>
|
</member>
|
||||||
<member name="image_path" type="String" setter="set_image_path" getter="get_image_path">
|
<member name="image_path" type="String" setter="set_image_path" getter="get_image_path" default=""."">
|
||||||
The location where lightmaps will be saved.
|
The location where lightmaps will be saved.
|
||||||
</member>
|
</member>
|
||||||
<member name="light_data" type="BakedLightmapData" setter="set_light_data" getter="get_light_data">
|
<member name="light_data" type="BakedLightmapData" setter="set_light_data" getter="get_light_data" default="null">
|
||||||
The calculated light data.
|
The calculated light data.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -49,15 +49,15 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="bounds" type="AABB" setter="set_bounds" getter="get_bounds">
|
<member name="bounds" type="AABB" setter="set_bounds" getter="get_bounds" default="AABB( 0, 0, 0, 0, 0, 0 )">
|
||||||
</member>
|
</member>
|
||||||
<member name="cell_space_transform" type="Transform" setter="set_cell_space_transform" getter="get_cell_space_transform">
|
<member name="cell_space_transform" type="Transform" setter="set_cell_space_transform" getter="get_cell_space_transform" default="Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )">
|
||||||
</member>
|
</member>
|
||||||
<member name="cell_subdiv" type="int" setter="set_cell_subdiv" getter="get_cell_subdiv">
|
<member name="cell_subdiv" type="int" setter="set_cell_subdiv" getter="get_cell_subdiv" default="1">
|
||||||
</member>
|
</member>
|
||||||
<member name="energy" type="float" setter="set_energy" getter="get_energy">
|
<member name="energy" type="float" setter="set_energy" getter="get_energy" default="1.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="octree" type="PoolByteArray" setter="set_octree" getter="get_octree">
|
<member name="octree" type="PoolByteArray" setter="set_octree" getter="get_octree" default="PoolByteArray( )">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -41,35 +41,35 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="action_mode" type="int" setter="set_action_mode" getter="get_action_mode" enum="BaseButton.ActionMode">
|
<member name="action_mode" type="int" setter="set_action_mode" getter="get_action_mode" enum="BaseButton.ActionMode" default="1">
|
||||||
Determines when the button is considered clicked, one of the [code]ACTION_MODE_*[/code] constants.
|
Determines when the button is considered clicked, one of the [code]ACTION_MODE_*[/code] constants.
|
||||||
</member>
|
</member>
|
||||||
<member name="button_mask" type="int" setter="set_button_mask" getter="get_button_mask">
|
<member name="button_mask" type="int" setter="set_button_mask" getter="get_button_mask" default="1">
|
||||||
Binary mask to choose which mouse buttons this button will respond to.
|
Binary mask to choose which mouse buttons this button will respond to.
|
||||||
To allow both left-click and right-click, use [code]BUTTON_MASK_LEFT | BUTTON_MASK_RIGHT[/code].
|
To allow both left-click and right-click, use [code]BUTTON_MASK_LEFT | BUTTON_MASK_RIGHT[/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" default="false">
|
||||||
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" default="2">
|
||||||
Focus access mode to use when switching between enabled/disabled (see [member Control.focus_mode] and [member disabled]).
|
Focus access mode to use when switching between enabled/disabled (see [member Control.focus_mode] and [member disabled]).
|
||||||
</member>
|
</member>
|
||||||
<member name="group" type="ButtonGroup" setter="set_button_group" getter="get_button_group">
|
<member name="group" type="ButtonGroup" setter="set_button_group" getter="get_button_group" default="null">
|
||||||
[ButtonGroup] associated to the button.
|
[ButtonGroup] associated to the button.
|
||||||
</member>
|
</member>
|
||||||
<member name="keep_pressed_outside" type="bool" setter="set_keep_pressed_outside" getter="is_keep_pressed_outside">
|
<member name="keep_pressed_outside" type="bool" setter="set_keep_pressed_outside" getter="is_keep_pressed_outside" default="false">
|
||||||
If [code]true[/code], the button stays pressed when moving the cursor outside the button while pressing it. Default value: [code]false[/code].
|
If [code]true[/code], the button stays pressed when moving the cursor outside the button while pressing it.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false">
|
||||||
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" default="null">
|
||||||
[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" default="true">
|
||||||
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" default="false">
|
||||||
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>
|
||||||
|
|
|
@ -197,13 +197,13 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="x" type="Vector3" setter="" getter="">
|
<member name="x" type="Vector3" setter="" getter="" default="Vector3( 1, 0, 0 )">
|
||||||
The basis matrix's X vector.
|
The basis matrix's X vector.
|
||||||
</member>
|
</member>
|
||||||
<member name="y" type="Vector3" setter="" getter="">
|
<member name="y" type="Vector3" setter="" getter="" default="Vector3( 0, 1, 0 )">
|
||||||
The basis matrix's Y vector.
|
The basis matrix's Y vector.
|
||||||
</member>
|
</member>
|
||||||
<member name="z" type="Vector3" setter="" getter="">
|
<member name="z" type="Vector3" setter="" getter="" default="Vector3( 0, 0, 1 )">
|
||||||
The basis matrix's Z vector.
|
The basis matrix's Z vector.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -104,16 +104,16 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="ascent" type="float" setter="set_ascent" getter="get_ascent">
|
<member name="ascent" type="float" setter="set_ascent" getter="get_ascent" default="0.0">
|
||||||
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" default="false">
|
||||||
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" default="null">
|
||||||
The fallback font.
|
The fallback font.
|
||||||
</member>
|
</member>
|
||||||
<member name="height" type="float" setter="set_height" getter="get_height">
|
<member name="height" type="float" setter="set_height" getter="get_height" default="1.0">
|
||||||
Total font height (ascent plus descent) in pixels.
|
Total font height (ascent plus descent) in pixels.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -35,10 +35,10 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="default_length" type="float" setter="set_default_length" getter="get_default_length">
|
<member name="default_length" type="float" setter="set_default_length" getter="get_default_length" default="16.0">
|
||||||
Length of the bone's representation drawn in the editor's viewport in pixels.
|
Length of the bone's representation drawn in the editor's viewport in pixels.
|
||||||
</member>
|
</member>
|
||||||
<member name="rest" type="Transform2D" setter="set_rest" getter="get_rest">
|
<member name="rest" type="Transform2D" setter="set_rest" getter="get_rest" default="Transform2D( 0, 0, 0, 0, 0, 0 )">
|
||||||
Rest transform of the bone. You can reset the node's transforms to this value using [method apply_rest].
|
Rest transform of the bone. You can reset the node's transforms to this value using [method apply_rest].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="bone_name" type="String" setter="set_bone_name" getter="get_bone_name">
|
<member name="bone_name" type="String" setter="set_bone_name" getter="get_bone_name" default="""">
|
||||||
The name of the attached bone.
|
The name of the attached bone.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="alignment" type="int" setter="set_alignment" getter="get_alignment" enum="BoxContainer.AlignMode">
|
<member name="alignment" type="int" setter="set_alignment" getter="get_alignment" enum="BoxContainer.AlignMode" default="0">
|
||||||
The alignment of the container's children (must be one of [constant ALIGN_BEGIN], [constant ALIGN_CENTER] or [constant ALIGN_END]).
|
The alignment of the container's children (must be one of [constant ALIGN_BEGIN], [constant ALIGN_CENTER] or [constant ALIGN_END]).
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents">
|
<member name="extents" type="Vector3" setter="set_extents" getter="get_extents" default="Vector3( 1, 1, 1 )">
|
||||||
The box's half extents. The width, height and depth of this shape is twice the half extents.
|
The box's half extents. The width, height and depth of this shape is twice the half extents.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,19 +11,19 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="align" type="int" setter="set_text_align" getter="get_text_align" enum="Button.TextAlign">
|
<member name="align" type="int" setter="set_text_align" getter="get_text_align" enum="Button.TextAlign" default="1">
|
||||||
Text alignment policy for the button's text, use one of the [code]ALIGN_*[/code] constants.
|
Text alignment policy for the button's text, use one of the [code]ALIGN_*[/code] constants.
|
||||||
</member>
|
</member>
|
||||||
<member name="clip_text" type="bool" setter="set_clip_text" getter="get_clip_text">
|
<member name="clip_text" type="bool" setter="set_clip_text" getter="get_clip_text" default="false">
|
||||||
When this property is enabled, text that is too large to fit the button is clipped, when disabled the Button will always be wide enough to hold the text. This property is disabled by default.
|
When this property is enabled, text that is too large to fit the button is clipped, when disabled the Button will always be wide enough to hold the text. This property is disabled by default.
|
||||||
</member>
|
</member>
|
||||||
<member name="flat" type="bool" setter="set_flat" getter="is_flat">
|
<member name="flat" type="bool" setter="set_flat" getter="is_flat" default="false">
|
||||||
Flat buttons don't display decoration.
|
Flat buttons don't display decoration.
|
||||||
</member>
|
</member>
|
||||||
<member name="icon" type="Texture" setter="set_button_icon" getter="get_button_icon">
|
<member name="icon" type="Texture" setter="set_button_icon" getter="get_button_icon" default="null">
|
||||||
Button's icon, if text is present the icon will be placed before the text.
|
Button's icon, if text is present the icon will be placed before the text.
|
||||||
</member>
|
</member>
|
||||||
<member name="text" type="String" setter="set_text" getter="get_text">
|
<member name="text" type="String" setter="set_text" getter="get_text" default="""">
|
||||||
The button's text that will be displayed inside the button's area.
|
The button's text that will be displayed inside the button's area.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
@ -45,17 +45,17 @@
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font" type="Font">
|
<theme_item name="font" type="Font">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color" type="Color">
|
<theme_item name="font_color" type="Color" default="Color( 0.878431, 0.878431, 0.878431, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_disabled" type="Color">
|
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_hover" type="Color">
|
<theme_item name="font_color_hover" type="Color" default="Color( 0.941176, 0.941176, 0.941176, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_pressed" type="Color">
|
<theme_item name="font_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="hover" type="StyleBox">
|
<theme_item name="hover" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="hseparation" type="int">
|
<theme_item name="hseparation" type="int" default="2">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="normal" type="StyleBox">
|
<theme_item name="normal" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
|
|
|
@ -28,140 +28,140 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="amount" type="int" setter="set_amount" getter="get_amount">
|
<member name="amount" type="int" setter="set_amount" getter="get_amount" default="8">
|
||||||
Number of particles emitted in one emission cycle.
|
Number of particles emitted in one emission cycle.
|
||||||
</member>
|
</member>
|
||||||
<member name="angle" type="float" setter="set_param" getter="get_param">
|
<member name="angle" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Initial rotation applied to each particle, in degrees.
|
Initial rotation applied to each particle, in degrees.
|
||||||
</member>
|
</member>
|
||||||
<member name="angle_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="angle_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's rotation will be animated along this [Curve].
|
Each particle's rotation will be animated along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="angle_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="angle_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Rotation randomness ratio. Default value: [code]0[/code].
|
Rotation randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_velocity" type="float" setter="set_param" getter="get_param">
|
<member name="angular_velocity" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Initial angular velocity applied to each particle. Sets the speed of rotation of the particle.
|
Initial angular velocity applied to each particle. Sets the speed of rotation of the particle.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_velocity_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="angular_velocity_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's angular velocity will vary along this [Curve].
|
Each particle's angular velocity will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="angular_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Angular velocity randomness ratio. Default value: [code]0[/code].
|
Angular velocity randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_offset" type="float" setter="set_param" getter="get_param">
|
<member name="anim_offset" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Particle animation offset.
|
Particle animation offset.
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_offset_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="anim_offset_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's animation offset will vary along this [Curve].
|
Each particle's animation offset will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_offset_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="anim_offset_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Animation offset randomness ratio. Default value: [code]0[/code].
|
Animation offset randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_speed" type="float" setter="set_param" getter="get_param">
|
<member name="anim_speed" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Particle animation speed.
|
Particle animation speed.
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_speed_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="anim_speed_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's animation speed will vary along this [Curve].
|
Each particle's animation speed will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_speed_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="anim_speed_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Animation speed randomness ratio. Default value: [code]0[/code].
|
Animation speed randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="color" type="Color" setter="set_color" getter="get_color">
|
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
|
||||||
Unused for 3D particles.
|
Unused for 3D particles.
|
||||||
</member>
|
</member>
|
||||||
<member name="color_ramp" type="Gradient" setter="set_color_ramp" getter="get_color_ramp">
|
<member name="color_ramp" type="Gradient" setter="set_color_ramp" getter="get_color_ramp" default="null">
|
||||||
Unused for 3D particles.
|
Unused for 3D particles.
|
||||||
</member>
|
</member>
|
||||||
<member name="damping" type="float" setter="set_param" getter="get_param">
|
<member name="damping" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
The rate at which particles lose velocity.
|
The rate at which particles lose velocity.
|
||||||
</member>
|
</member>
|
||||||
<member name="damping_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="damping_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Damping will vary along this [Curve].
|
Damping will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="damping_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="damping_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Damping randomness ratio. Default value: [code]0[/code].
|
Damping randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="draw_order" type="int" setter="set_draw_order" getter="get_draw_order" enum="CPUParticles.DrawOrder">
|
<member name="draw_order" type="int" setter="set_draw_order" getter="get_draw_order" enum="CPUParticles.DrawOrder" default="0">
|
||||||
Particle draw order. Uses [enum DrawOrder] values. Default value: [constant DRAW_ORDER_INDEX].
|
Particle draw order. Uses [enum DrawOrder] values.
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_box_extents" type="Vector3" setter="set_emission_box_extents" getter="get_emission_box_extents">
|
<member name="emission_box_extents" type="Vector3" setter="set_emission_box_extents" getter="get_emission_box_extents">
|
||||||
The rectangle's extents if [member emission_shape] is set to [constant EMISSION_SHAPE_BOX].
|
The rectangle's extents if [member emission_shape] is set to [constant EMISSION_SHAPE_BOX].
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_colors" type="PoolColorArray" setter="set_emission_colors" getter="get_emission_colors">
|
<member name="emission_colors" type="PoolColorArray" setter="set_emission_colors" getter="get_emission_colors" default="PoolColorArray( )">
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_normals" type="PoolVector3Array" setter="set_emission_normals" getter="get_emission_normals">
|
<member name="emission_normals" type="PoolVector3Array" setter="set_emission_normals" getter="get_emission_normals">
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_points" type="PoolVector3Array" setter="set_emission_points" getter="get_emission_points">
|
<member name="emission_points" type="PoolVector3Array" setter="set_emission_points" getter="get_emission_points" default="PoolVector3Array( )">
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_shape" type="int" setter="set_emission_shape" getter="get_emission_shape" enum="CPUParticles.EmissionShape">
|
<member name="emission_shape" type="int" setter="set_emission_shape" getter="get_emission_shape" enum="CPUParticles.EmissionShape" default="0">
|
||||||
Particles will be emitted inside this region. See [enum EmissionShape] for possible values. Default value: [constant EMISSION_SHAPE_POINT].
|
Particles will be emitted inside this region. See [enum EmissionShape] for possible values.
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_sphere_radius" type="float" setter="set_emission_sphere_radius" getter="get_emission_sphere_radius">
|
<member name="emission_sphere_radius" type="float" setter="set_emission_sphere_radius" getter="get_emission_sphere_radius">
|
||||||
The sphere's radius if [enum EmissionShape] is set to [constant EMISSION_SHAPE_SPHERE].
|
The sphere's radius if [enum EmissionShape] is set to [constant EMISSION_SHAPE_SPHERE].
|
||||||
</member>
|
</member>
|
||||||
<member name="emitting" type="bool" setter="set_emitting" getter="is_emitting">
|
<member name="emitting" type="bool" setter="set_emitting" getter="is_emitting" default="true">
|
||||||
If [code]true[/code], particles are being emitted. Default value: [code]true[/code].
|
If [code]true[/code], particles are being emitted.
|
||||||
</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" default="0.0">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="fixed_fps" type="int" setter="set_fixed_fps" getter="get_fixed_fps">
|
<member name="fixed_fps" type="int" setter="set_fixed_fps" getter="get_fixed_fps" default="0">
|
||||||
The particle system's frame rate is fixed to a value. For instance, changing the value to 2 will make the particles render at 2 frames per second. Note this does not slow down the particle system itself.
|
The particle system's frame rate is fixed to a value. For instance, changing the value to 2 will make the particles render at 2 frames per second. Note this does not slow down the particle system itself.
|
||||||
</member>
|
</member>
|
||||||
<member name="flag_align_y" type="bool" setter="set_particle_flag" getter="get_particle_flag">
|
<member name="flag_align_y" type="bool" setter="set_particle_flag" getter="get_particle_flag" default="false">
|
||||||
Align Y axis of particle with the direction of its velocity.
|
Align Y axis of particle with the direction of its velocity.
|
||||||
</member>
|
</member>
|
||||||
<member name="flag_disable_z" type="bool" setter="set_particle_flag" getter="get_particle_flag">
|
<member name="flag_disable_z" type="bool" setter="set_particle_flag" getter="get_particle_flag" default="false">
|
||||||
If [code]true[/code], particles will not move on the z axis. Default value: [code]false[/code].
|
If [code]true[/code], particles will not move on the z axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="flag_rotate_y" type="bool" setter="set_particle_flag" getter="get_particle_flag">
|
<member name="flag_rotate_y" type="bool" setter="set_particle_flag" getter="get_particle_flag" default="false">
|
||||||
If [code]true[/code], particles rotate around Y axis by [member angle].
|
If [code]true[/code], particles rotate around Y axis by [member angle].
|
||||||
</member>
|
</member>
|
||||||
<member name="flatness" type="float" setter="set_flatness" getter="get_flatness">
|
<member name="flatness" type="float" setter="set_flatness" getter="get_flatness" default="0.0">
|
||||||
Amount of [member spread] in Y/Z plane. A value of [code]1[/code] restricts particles to X/Z plane. Default [code]0[/code].
|
Amount of [member spread] in Y/Z plane. A value of [code]1[/code] restricts particles to X/Z plane.
|
||||||
</member>
|
</member>
|
||||||
<member name="fract_delta" type="bool" setter="set_fractional_delta" getter="get_fractional_delta">
|
<member name="fract_delta" type="bool" setter="set_fractional_delta" getter="get_fractional_delta" default="true">
|
||||||
If [code]true[/code], results in fractional delta calculation which has a smoother particles display effect. Default value: [code]true[/code].
|
If [code]true[/code], results in fractional delta calculation which has a smoother particles display effect.
|
||||||
</member>
|
</member>
|
||||||
<member name="gravity" type="Vector3" setter="set_gravity" getter="get_gravity">
|
<member name="gravity" type="Vector3" setter="set_gravity" getter="get_gravity" default="Vector3( 0, -9.8, 0 )">
|
||||||
Gravity applied to every particle. Default value: [code](0, -9.8, 0)[/code].
|
Gravity applied to every particle.
|
||||||
</member>
|
</member>
|
||||||
<member name="hue_variation" type="float" setter="set_param" getter="get_param">
|
<member name="hue_variation" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Initial hue variation applied to each particle.
|
Initial hue variation applied to each particle.
|
||||||
</member>
|
</member>
|
||||||
<member name="hue_variation_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="hue_variation_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's hue will vary along this [Curve].
|
Each particle's hue will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="hue_variation_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="hue_variation_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Hue variation randomness ratio. Default value: [code]0[/code].
|
Hue variation randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="initial_velocity" type="float" setter="set_param" getter="get_param">
|
<member name="initial_velocity" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Initial velocity magnitude for each particle. Direction comes from [member spread] and the node's orientation.
|
Initial velocity magnitude for each particle. Direction comes from [member spread] and the node's orientation.
|
||||||
</member>
|
</member>
|
||||||
<member name="initial_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="initial_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Initial velocity randomness ratio. Default value: [code]0[/code].
|
Initial velocity randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="lifetime" type="float" setter="set_lifetime" getter="get_lifetime">
|
<member name="lifetime" type="float" setter="set_lifetime" getter="get_lifetime" default="1.0">
|
||||||
Amount of time each particle will exist. Default value: [code]1[/code].
|
Amount of time each particle will exist.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_accel" type="float" setter="set_param" getter="get_param">
|
<member name="linear_accel" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Linear acceleration applied to each particle in the direction of motion.
|
Linear acceleration applied to each particle in the direction of motion.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="linear_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's linear acceleration will vary along this [Curve].
|
Each particle's linear acceleration will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="linear_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Linear acceleration randomness ratio. Default value: [code]0[/code].
|
Linear acceleration randomness ratio.
|
||||||
</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" default="true">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh">
|
<member name="mesh" type="Mesh" setter="set_mesh" getter="get_mesh" default="null">
|
||||||
The [Mesh] used for each particle. If [code]null[/code], particles will be spheres.
|
The [Mesh] used for each particle. If [code]null[/code], particles will be spheres.
|
||||||
</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" default="false">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="orbit_velocity" type="float" setter="set_param" getter="get_param">
|
<member name="orbit_velocity" type="float" setter="set_param" getter="get_param">
|
||||||
Orbital velocity applied to each particle. Makes the particles circle around origin in the local XY plane. Specified in number of full rotations around origin per second.
|
Orbital velocity applied to each particle. Makes the particles circle around origin in the local XY plane. Specified in number of full rotations around origin per second.
|
||||||
|
@ -171,46 +171,46 @@
|
||||||
Each particle's orbital velocity will vary along this [Curve].
|
Each particle's orbital velocity will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="orbit_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="orbit_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
||||||
Orbital velocity randomness ratio. Default value: [code]0[/code].
|
Orbital velocity randomness ratio.
|
||||||
</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" default="0.0">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="radial_accel" type="float" setter="set_param" getter="get_param">
|
<member name="radial_accel" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Radial acceleration applied to each particle. Makes particle accelerate away from origin.
|
Radial acceleration applied to each particle. Makes particle accelerate away from origin.
|
||||||
</member>
|
</member>
|
||||||
<member name="radial_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="radial_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's radial acceleration will vary along this [Curve].
|
Each particle's radial acceleration will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="radial_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="radial_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Radial acceleration randomness ratio. Default value: [code]0[/code].
|
Radial acceleration randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="randomness" type="float" setter="set_randomness_ratio" getter="get_randomness_ratio">
|
<member name="randomness" type="float" setter="set_randomness_ratio" getter="get_randomness_ratio" default="0.0">
|
||||||
Emission lifetime randomness ratio. Default value: [code]0[/code].
|
Emission lifetime randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="scale_amount" type="float" setter="set_param" getter="get_param">
|
<member name="scale_amount" type="float" setter="set_param" getter="get_param" default="1.0">
|
||||||
Initial scale applied to each particle.
|
Initial scale applied to each particle.
|
||||||
</member>
|
</member>
|
||||||
<member name="scale_amount_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="scale_amount_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's scale will vary along this [Curve].
|
Each particle's scale will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="scale_amount_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="scale_amount_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Scale randomness ratio. Default value: [code]0[/code].
|
Scale randomness ratio.
|
||||||
</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" default="1.0">
|
||||||
Particle system's running speed scaling ratio. Default value: [code]1[/code]. A value of [code]0[/code] can be used to pause the particles.
|
Particle system's running speed scaling ratio. A value of [code]0[/code] can be used to pause the particles.
|
||||||
</member>
|
</member>
|
||||||
<member name="spread" type="float" setter="set_spread" getter="get_spread">
|
<member name="spread" type="float" setter="set_spread" getter="get_spread" default="45.0">
|
||||||
Each particle's initial direction range from [code]+spread[/code] to [code]-spread[/code] degrees. Default value: [code]45[/code].
|
Each particle's initial direction range from [code]+spread[/code] to [code]-spread[/code] degrees. Applied to X/Z plane and Y/Z planes.
|
||||||
</member>
|
</member>
|
||||||
<member name="tangential_accel" type="float" setter="set_param" getter="get_param">
|
<member name="tangential_accel" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Tangential acceleration applied to each particle. Tangential acceleration is perpendicular to the particle's velocity giving the particles a swirling motion.
|
Tangential acceleration applied to each particle. Tangential acceleration is perpendicular to the particle's velocity giving the particles a swirling motion.
|
||||||
</member>
|
</member>
|
||||||
<member name="tangential_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="tangential_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's tangential acceleration will vary along this [Curve].
|
Each particle's tangential acceleration will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="tangential_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="tangential_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Tangential acceleration randomness ratio. Default value: [code]0[/code].
|
Tangential acceleration randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -29,62 +29,62 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="amount" type="int" setter="set_amount" getter="get_amount">
|
<member name="amount" type="int" setter="set_amount" getter="get_amount" default="8">
|
||||||
Number of particles emitted in one emission cycle.
|
Number of particles emitted in one emission cycle.
|
||||||
</member>
|
</member>
|
||||||
<member name="angle" type="float" setter="set_param" getter="get_param">
|
<member name="angle" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Initial rotation applied to each particle, in degrees.
|
Initial rotation applied to each particle, in degrees.
|
||||||
</member>
|
</member>
|
||||||
<member name="angle_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="angle_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's rotation will be animated along this [Curve].
|
Each particle's rotation will be animated along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="angle_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="angle_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Rotation randomness ratio. Default value: [code]0[/code].
|
Rotation randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_velocity" type="float" setter="set_param" getter="get_param">
|
<member name="angular_velocity" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Initial angular velocity applied to each particle. Sets the speed of rotation of the particle.
|
Initial angular velocity applied to each particle. Sets the speed of rotation of the particle.
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_velocity_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="angular_velocity_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's angular velocity will vary along this [Curve].
|
Each particle's angular velocity will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="angular_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="angular_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Angular velocity randomness ratio. Default value: [code]0[/code].
|
Angular velocity randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_offset" type="float" setter="set_param" getter="get_param">
|
<member name="anim_offset" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Particle animation offset.
|
Particle animation offset.
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_offset_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="anim_offset_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's animation offset will vary along this [Curve].
|
Each particle's animation offset will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_offset_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="anim_offset_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Animation offset randomness ratio. Default value: [code]0[/code].
|
Animation offset randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_speed" type="float" setter="set_param" getter="get_param">
|
<member name="anim_speed" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Particle animation speed.
|
Particle animation speed.
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_speed_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="anim_speed_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's animation speed will vary along this [Curve].
|
Each particle's animation speed will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="anim_speed_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="anim_speed_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Animation speed randomness ratio. Default value: [code]0[/code].
|
Animation speed randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="color" type="Color" setter="set_color" getter="get_color">
|
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
|
||||||
Each particle's initial color. If [member texture] is defined, it will be multiplied by this color.
|
Each particle's initial color. If [member texture] is defined, it will be multiplied by this color.
|
||||||
</member>
|
</member>
|
||||||
<member name="color_ramp" type="Gradient" setter="set_color_ramp" getter="get_color_ramp">
|
<member name="color_ramp" type="Gradient" setter="set_color_ramp" getter="get_color_ramp" default="null">
|
||||||
Each particle's color will vary along this [Gradient].
|
Each particle's color will vary along this [Gradient].
|
||||||
</member>
|
</member>
|
||||||
<member name="damping" type="float" setter="set_param" getter="get_param">
|
<member name="damping" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
The rate at which particles lose velocity.
|
The rate at which particles lose velocity.
|
||||||
</member>
|
</member>
|
||||||
<member name="damping_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="damping_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Damping will vary along this [Curve].
|
Damping will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="damping_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="damping_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Damping randomness ratio. Default value: [code]0[/code].
|
Damping randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="draw_order" type="int" setter="set_draw_order" getter="get_draw_order" enum="CPUParticles2D.DrawOrder">
|
<member name="draw_order" type="int" setter="set_draw_order" getter="get_draw_order" enum="CPUParticles2D.DrawOrder" default="0">
|
||||||
Particle draw order. Uses [enum DrawOrder] values. Default value: [constant DRAW_ORDER_INDEX].
|
Particle draw order. Uses [enum DrawOrder] values.
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_colors" type="PoolColorArray" setter="set_emission_colors" getter="get_emission_colors">
|
<member name="emission_colors" type="PoolColorArray" setter="set_emission_colors" getter="get_emission_colors">
|
||||||
</member>
|
</member>
|
||||||
|
@ -95,117 +95,117 @@
|
||||||
<member name="emission_rect_extents" type="Vector2" setter="set_emission_rect_extents" getter="get_emission_rect_extents">
|
<member name="emission_rect_extents" type="Vector2" setter="set_emission_rect_extents" getter="get_emission_rect_extents">
|
||||||
The rectangle's extents if [member emission_shape] is set to [constant EMISSION_SHAPE_RECTANGLE].
|
The rectangle's extents if [member emission_shape] is set to [constant EMISSION_SHAPE_RECTANGLE].
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_shape" type="int" setter="set_emission_shape" getter="get_emission_shape" enum="CPUParticles2D.EmissionShape">
|
<member name="emission_shape" type="int" setter="set_emission_shape" getter="get_emission_shape" enum="CPUParticles2D.EmissionShape" default="0">
|
||||||
Particles will be emitted inside this region. See [enum EmissionShape] for possible values. Default value: [constant EMISSION_SHAPE_POINT].
|
Particles will be emitted inside this region. See [enum EmissionShape] for possible values.
|
||||||
</member>
|
</member>
|
||||||
<member name="emission_sphere_radius" type="float" setter="set_emission_sphere_radius" getter="get_emission_sphere_radius">
|
<member name="emission_sphere_radius" type="float" setter="set_emission_sphere_radius" getter="get_emission_sphere_radius">
|
||||||
The sphere's radius if [member emission_shape] is set to [constant EMISSION_SHAPE_SPHERE].
|
The sphere's radius if [member emission_shape] is set to [constant EMISSION_SHAPE_SPHERE].
|
||||||
</member>
|
</member>
|
||||||
<member name="emitting" type="bool" setter="set_emitting" getter="is_emitting">
|
<member name="emitting" type="bool" setter="set_emitting" getter="is_emitting" default="true">
|
||||||
If [code]true[/code], particles are being emitted. Default value: [code]true[/code].
|
If [code]true[/code], particles are being emitted.
|
||||||
</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" default="0.0">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="fixed_fps" type="int" setter="set_fixed_fps" getter="get_fixed_fps">
|
<member name="fixed_fps" type="int" setter="set_fixed_fps" getter="get_fixed_fps" default="0">
|
||||||
The particle system's frame rate is fixed to a value. For instance, changing the value to 2 will make the particles render at 2 frames per second. Note this does not slow down the simulation of the particle system itself.
|
The particle system's frame rate is fixed to a value. For instance, changing the value to 2 will make the particles render at 2 frames per second. Note this does not slow down the simulation of the particle system itself.
|
||||||
</member>
|
</member>
|
||||||
<member name="flag_align_y" type="bool" setter="set_particle_flag" getter="get_particle_flag">
|
<member name="flag_align_y" type="bool" setter="set_particle_flag" getter="get_particle_flag" default="false">
|
||||||
Align Y axis of particle with the direction of its velocity.
|
Align Y axis of particle with the direction of its velocity.
|
||||||
</member>
|
</member>
|
||||||
<member name="flatness" type="float" setter="set_flatness" getter="get_flatness">
|
<member name="flatness" type="float" setter="set_flatness" getter="get_flatness" default="0.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="fract_delta" type="bool" setter="set_fractional_delta" getter="get_fractional_delta">
|
<member name="fract_delta" type="bool" setter="set_fractional_delta" getter="get_fractional_delta" default="true">
|
||||||
If [code]true[/code], results in fractional delta calculation which has a smoother particles display effect. Default value: [code]true[/code].
|
If [code]true[/code], results in fractional delta calculation which has a smoother particles display effect.
|
||||||
</member>
|
</member>
|
||||||
<member name="gravity" type="Vector2" setter="set_gravity" getter="get_gravity">
|
<member name="gravity" type="Vector2" setter="set_gravity" getter="get_gravity" default="Vector2( 0, 98 )">
|
||||||
Gravity applied to every particle. Default value: [code](0, 98)[/code].
|
Gravity applied to every particle.
|
||||||
</member>
|
</member>
|
||||||
<member name="hue_variation" type="float" setter="set_param" getter="get_param">
|
<member name="hue_variation" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Initial hue variation applied to each particle.
|
Initial hue variation applied to each particle.
|
||||||
</member>
|
</member>
|
||||||
<member name="hue_variation_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="hue_variation_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's hue will vary along this [Curve].
|
Each particle's hue will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="hue_variation_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="hue_variation_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Hue variation randomness ratio. Default value: [code]0[/code].
|
Hue variation randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="initial_velocity" type="float" setter="set_param" getter="get_param">
|
<member name="initial_velocity" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Initial velocity magnitude for each particle. Direction comes from [member spread] and the node's orientation.
|
Initial velocity magnitude for each particle. Direction comes from [member spread] and the node's orientation.
|
||||||
</member>
|
</member>
|
||||||
<member name="initial_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="initial_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Initial velocity randomness ratio. Default value: [code]0[/code].
|
Initial velocity randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="lifetime" type="float" setter="set_lifetime" getter="get_lifetime">
|
<member name="lifetime" type="float" setter="set_lifetime" getter="get_lifetime" default="1.0">
|
||||||
Amount of time each particle will exist. Default value: [code]1[/code].
|
Amount of time each particle will exist.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_accel" type="float" setter="set_param" getter="get_param">
|
<member name="linear_accel" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Linear acceleration applied to each particle in the direction of motion.
|
Linear acceleration applied to each particle in the direction of motion.
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="linear_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's linear acceleration will vary along this [Curve].
|
Each particle's linear acceleration will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="linear_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="linear_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Linear acceleration randomness ratio. Default value: [code]0[/code].
|
Linear acceleration randomness ratio.
|
||||||
</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" default="true">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="normalmap" type="Texture" setter="set_normalmap" getter="get_normalmap">
|
<member name="normalmap" type="Texture" setter="set_normalmap" getter="get_normalmap" default="null">
|
||||||
Normal map to be used for the [member texture] property.
|
Normal map to be used for the [member texture] property.
|
||||||
</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" default="false">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="orbit_velocity" type="float" setter="set_param" getter="get_param">
|
<member name="orbit_velocity" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Orbital velocity applied to each particle. Makes the particles circle around origin. Specified in number of full rotations around origin per second.
|
Orbital velocity applied to each particle. Makes the particles circle around origin. Specified in number of full rotations around origin per second.
|
||||||
</member>
|
</member>
|
||||||
<member name="orbit_velocity_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="orbit_velocity_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's orbital velocity will vary along this [Curve].
|
Each particle's orbital velocity will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="orbit_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="orbit_velocity_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Orbital velocity randomness ratio. Default value: [code]0[/code].
|
Orbital velocity randomness ratio.
|
||||||
</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" default="0.0">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="radial_accel" type="float" setter="set_param" getter="get_param">
|
<member name="radial_accel" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Radial acceleration applied to each particle. Makes particle accelerate away from origin.
|
Radial acceleration applied to each particle. Makes particle accelerate away from origin.
|
||||||
</member>
|
</member>
|
||||||
<member name="radial_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="radial_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's radial acceleration will vary along this [Curve].
|
Each particle's radial acceleration will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="radial_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="radial_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Radial acceleration randomness ratio. Default value: [code]0[/code].
|
Radial acceleration randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="randomness" type="float" setter="set_randomness_ratio" getter="get_randomness_ratio">
|
<member name="randomness" type="float" setter="set_randomness_ratio" getter="get_randomness_ratio" default="0.0">
|
||||||
Emission lifetime randomness ratio. Default value: [code]0[/code].
|
Emission lifetime randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="scale_amount" type="float" setter="set_param" getter="get_param">
|
<member name="scale_amount" type="float" setter="set_param" getter="get_param" default="1.0">
|
||||||
Initial scale applied to each particle.
|
Initial scale applied to each particle.
|
||||||
</member>
|
</member>
|
||||||
<member name="scale_amount_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="scale_amount_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's scale will vary along this [Curve].
|
Each particle's scale will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="scale_amount_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="scale_amount_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Scale randomness ratio. Default value: [code]0[/code].
|
Scale randomness ratio.
|
||||||
</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" default="1.0">
|
||||||
Particle system's running speed scaling ratio. Default value: [code]1[/code]. A value of [code]0[/code] can be used to pause the particles.
|
Particle system's running speed scaling ratio. A value of [code]0[/code] can be used to pause the particles.
|
||||||
</member>
|
</member>
|
||||||
<member name="spread" type="float" setter="set_spread" getter="get_spread">
|
<member name="spread" type="float" setter="set_spread" getter="get_spread" default="45.0">
|
||||||
Each particle's initial direction range from [code]+spread[/code] to [code]-spread[/code] degrees. Default value: [code]45[/code].
|
Each particle's initial direction range from [code]+spread[/code] to [code]-spread[/code] degrees.
|
||||||
</member>
|
</member>
|
||||||
<member name="tangential_accel" type="float" setter="set_param" getter="get_param">
|
<member name="tangential_accel" type="float" setter="set_param" getter="get_param" default="0.0">
|
||||||
Tangential acceleration applied to each particle. Tangential acceleration is perpendicular to the particle's velocity giving the particles a swirling motion.
|
Tangential acceleration applied to each particle. Tangential acceleration is perpendicular to the particle's velocity giving the particles a swirling motion.
|
||||||
</member>
|
</member>
|
||||||
<member name="tangential_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve">
|
<member name="tangential_accel_curve" type="Curve" setter="set_param_curve" getter="get_param_curve" default="null">
|
||||||
Each particle's tangential acceleration will vary along this [Curve].
|
Each particle's tangential acceleration will vary along this [Curve].
|
||||||
</member>
|
</member>
|
||||||
<member name="tangential_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness">
|
<member name="tangential_accel_random" type="float" setter="set_param_randomness" getter="get_param_randomness" default="0.0">
|
||||||
Tangential acceleration randomness ratio. Default value: [code]0[/code].
|
Tangential acceleration randomness ratio.
|
||||||
</member>
|
</member>
|
||||||
<member name="texture" type="Texture" setter="set_texture" getter="get_texture">
|
<member name="texture" type="Texture" setter="set_texture" getter="get_texture" default="null">
|
||||||
Particle texture. If [code]null[/code], particles will be squares.
|
Particle texture. If [code]null[/code], particles will be squares.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -162,42 +162,42 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="cull_mask" type="int" setter="set_cull_mask" getter="get_cull_mask">
|
<member name="cull_mask" type="int" setter="set_cull_mask" getter="get_cull_mask" default="1048575">
|
||||||
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" default="false">
|
||||||
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.
|
||||||
</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" default="0">
|
||||||
If not [constant DOPPLER_TRACKING_DISABLED], this camera will simulate the Doppler effect for objects changed in particular [code]_process[/code] methods. See [enum DopplerTracking] for possible values. Default value: [constant DOPPLER_TRACKING_DISABLED].
|
If not [constant DOPPLER_TRACKING_DISABLED], this camera will simulate the Doppler effect for objects changed in particular [code]_process[/code] methods. See [enum DopplerTracking] for possible values.
|
||||||
</member>
|
</member>
|
||||||
<member name="environment" type="Environment" setter="set_environment" getter="get_environment">
|
<member name="environment" type="Environment" setter="set_environment" getter="get_environment" default="null">
|
||||||
The [Environment] to use for this camera.
|
The [Environment] to use for this camera.
|
||||||
</member>
|
</member>
|
||||||
<member name="far" type="float" setter="set_zfar" getter="get_zfar">
|
<member name="far" type="float" setter="set_zfar" getter="get_zfar" default="100.0">
|
||||||
The distance to the far culling boundary for this camera relative to its local Z axis.
|
The distance to the far culling boundary for this camera relative to its local Z axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="fov" type="float" setter="set_fov" getter="get_fov">
|
<member name="fov" type="float" setter="set_fov" getter="get_fov" default="70.0">
|
||||||
The camera's field of view angle (in degrees). Only applicable in perspective mode. Since [member keep_aspect] locks one axis, [code]fov[/code] sets the other axis' field of view angle.
|
The camera's field of view angle (in degrees). Only applicable in perspective mode. Since [member keep_aspect] locks one axis, [code]fov[/code] sets the other axis' field of view angle.
|
||||||
</member>
|
</member>
|
||||||
<member name="frustum_offset" type="Vector2" setter="set_frustum_offset" getter="get_frustum_offset">
|
<member name="frustum_offset" type="Vector2" setter="set_frustum_offset" getter="get_frustum_offset" default="Vector2( 0, 0 )">
|
||||||
</member>
|
</member>
|
||||||
<member name="h_offset" type="float" setter="set_h_offset" getter="get_h_offset">
|
<member name="h_offset" type="float" setter="set_h_offset" getter="get_h_offset" default="0.0">
|
||||||
The horizontal (X) offset of the camera viewport.
|
The horizontal (X) offset of the camera viewport.
|
||||||
</member>
|
</member>
|
||||||
<member name="keep_aspect" type="int" setter="set_keep_aspect_mode" getter="get_keep_aspect_mode" enum="Camera.KeepAspect">
|
<member name="keep_aspect" type="int" setter="set_keep_aspect_mode" getter="get_keep_aspect_mode" enum="Camera.KeepAspect" default="1">
|
||||||
The axis to lock during [member fov]/[member size] adjustments. Can be either [constant KEEP_WIDTH] or [constant KEEP_HEIGHT].
|
The axis to lock during [member fov]/[member size] adjustments. Can be either [constant KEEP_WIDTH] or [constant KEEP_HEIGHT].
|
||||||
</member>
|
</member>
|
||||||
<member name="near" type="float" setter="set_znear" getter="get_znear">
|
<member name="near" type="float" setter="set_znear" getter="get_znear" default="0.05">
|
||||||
The distance to the near culling boundary for this camera relative to its local Z axis.
|
The distance to the near culling boundary for this camera relative to its local Z axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="projection" type="int" setter="set_projection" getter="get_projection" enum="Camera.Projection">
|
<member name="projection" type="int" setter="set_projection" getter="get_projection" enum="Camera.Projection" default="0">
|
||||||
The camera's projection mode. In [constant PROJECTION_PERSPECTIVE] mode, objects' Z distance from the camera's local space scales their perceived size.
|
The camera's projection mode. In [constant PROJECTION_PERSPECTIVE] mode, objects' Z distance from the camera's local space scales their perceived size.
|
||||||
</member>
|
</member>
|
||||||
<member name="size" type="float" setter="set_size" getter="get_size">
|
<member name="size" type="float" setter="set_size" getter="get_size" default="1.0">
|
||||||
The camera's size measured as 1/2 the width or height. Only applicable in orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] sets the other axis' size length.
|
The camera's size measured as 1/2 the width or height. Only applicable in orthogonal mode. Since [member keep_aspect] locks on axis, [code]size[/code] sets the other axis' size length.
|
||||||
</member>
|
</member>
|
||||||
<member name="v_offset" type="float" setter="set_v_offset" getter="get_v_offset">
|
<member name="v_offset" type="float" setter="set_v_offset" getter="get_v_offset" default="0.0">
|
||||||
The vertical (Y) offset of the camera viewport.
|
The vertical (Y) offset of the camera viewport.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -62,78 +62,78 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="anchor_mode" type="int" setter="set_anchor_mode" getter="get_anchor_mode" enum="Camera2D.AnchorMode">
|
<member name="anchor_mode" type="int" setter="set_anchor_mode" getter="get_anchor_mode" enum="Camera2D.AnchorMode" default="1">
|
||||||
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" default="false">
|
||||||
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 [Camera2D]. If [code]null[/code] or not a [Viewport], uses the default viewport instead.
|
The custom [Viewport] node attached to the [Camera2D]. If [code]null[/code] or not a [Viewport], uses the default viewport instead.
|
||||||
</member>
|
</member>
|
||||||
<member name="drag_margin_bottom" type="float" setter="set_drag_margin" getter="get_drag_margin">
|
<member name="drag_margin_bottom" type="float" setter="set_drag_margin" getter="get_drag_margin" default="0.2">
|
||||||
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" default="true">
|
||||||
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.
|
||||||
</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" default="0.2">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="drag_margin_right" type="float" setter="set_drag_margin" getter="get_drag_margin">
|
<member name="drag_margin_right" type="float" setter="set_drag_margin" getter="get_drag_margin" default="0.2">
|
||||||
Right margin needed to drag the camera. A value of [code]1[/code] makes the camera move only when reaching the edge of the screen.
|
Right 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_top" type="float" setter="set_drag_margin" getter="get_drag_margin">
|
<member name="drag_margin_top" type="float" setter="set_drag_margin" getter="get_drag_margin" default="0.2">
|
||||||
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" default="true">
|
||||||
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.
|
||||||
</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" default="false">
|
||||||
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.
|
||||||
</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" default="false">
|
||||||
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.
|
||||||
</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" default="true">
|
||||||
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.
|
||||||
</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" default="10000000">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="limit_left" type="int" setter="set_limit" getter="get_limit">
|
<member name="limit_left" type="int" setter="set_limit" getter="get_limit" default="-10000000">
|
||||||
Left scroll limit in pixels. The camera stops moving when reaching this value.
|
Left scroll limit in pixels. The camera stops moving when reaching this value.
|
||||||
</member>
|
</member>
|
||||||
<member name="limit_right" type="int" setter="set_limit" getter="get_limit">
|
<member name="limit_right" type="int" setter="set_limit" getter="get_limit" default="10000000">
|
||||||
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" default="false">
|
||||||
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.
|
||||||
</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" default="-10000000">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset">
|
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2( 0, 0 )">
|
||||||
The camera's offset, useful for looking around or camera shake animations.
|
The camera's offset, useful for looking around or camera shake animations.
|
||||||
</member>
|
</member>
|
||||||
<member name="offset_h" type="float" setter="set_h_offset" getter="get_h_offset">
|
<member name="offset_h" type="float" setter="set_h_offset" getter="get_h_offset" default="0.0">
|
||||||
The horizontal offset of the camera, relative to the drag margins. Default value: [code]0[/code].
|
The horizontal offset of the camera, relative to the drag margins.
|
||||||
</member>
|
</member>
|
||||||
<member name="offset_v" type="float" setter="set_v_offset" getter="get_v_offset">
|
<member name="offset_v" type="float" setter="set_v_offset" getter="get_v_offset" default="0.0">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
<member name="process_mode" type="int" setter="set_process_mode" getter="get_process_mode" enum="Camera2D.Camera2DProcessMode">
|
<member name="process_mode" type="int" setter="set_process_mode" getter="get_process_mode" enum="Camera2D.Camera2DProcessMode" default="1">
|
||||||
</member>
|
</member>
|
||||||
<member name="rotating" type="bool" setter="set_rotating" getter="is_rotating">
|
<member name="rotating" type="bool" setter="set_rotating" getter="is_rotating" default="false">
|
||||||
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.
|
||||||
</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" default="false">
|
||||||
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].
|
||||||
</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" default="5.0">
|
||||||
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].
|
||||||
</member>
|
</member>
|
||||||
<member name="zoom" type="Vector2" setter="set_zoom" getter="get_zoom">
|
<member name="zoom" type="Vector2" setter="set_zoom" getter="get_zoom" default="Vector2( 1, 1 )">
|
||||||
The camera's zoom relative to the viewport. Values larger than [code]Vector2(1, 1)[/code] zoom out and smaller values zoom in. For an example, use [code]Vector2(0.5, 0.5)[/code] for a 2× zoom-in, and [code]Vector2(4, 4)[/code] for a 4× zoom-out.
|
The camera's zoom relative to the viewport. Values larger than [code]Vector2(1, 1)[/code] zoom out and smaller values zoom in. For an example, use [code]Vector2(0.5, 0.5)[/code] for a 2× zoom-in, and [code]Vector2(4, 4)[/code] for a 4× zoom-out.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -33,9 +33,9 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="feed_is_active" type="bool" setter="set_active" getter="is_active">
|
<member name="feed_is_active" type="bool" setter="set_active" getter="is_active" default="false">
|
||||||
</member>
|
</member>
|
||||||
<member name="feed_transform" type="Transform2D" setter="set_transform" getter="get_transform">
|
<member name="feed_transform" type="Transform2D" setter="set_transform" getter="get_transform" default="Transform2D( 1, 0, 0, -1, 0, 1 )">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -11,13 +11,13 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="camera_feed_id" type="int" setter="set_camera_feed_id" getter="get_camera_feed_id">
|
<member name="camera_feed_id" type="int" setter="set_camera_feed_id" getter="get_camera_feed_id" default="0">
|
||||||
The ID of the [CameraFeed] for which we want to display the image.
|
The ID of the [CameraFeed] for which we want to display the image.
|
||||||
</member>
|
</member>
|
||||||
<member name="camera_is_active" type="bool" setter="set_camera_active" getter="get_camera_active">
|
<member name="camera_is_active" type="bool" setter="set_camera_active" getter="get_camera_active" default="false">
|
||||||
Convenience property that gives access to the active property of the [CameraFeed].
|
Convenience property that gives access to the active property of the [CameraFeed].
|
||||||
</member>
|
</member>
|
||||||
<member name="which_feed" type="int" setter="set_which_feed" getter="get_which_feed" enum="CameraServer.FeedImage">
|
<member name="which_feed" type="int" setter="set_which_feed" getter="get_which_feed" enum="CameraServer.FeedImage" default="0">
|
||||||
Which image within the [CameraFeed] we want access to, important if the camera image is split in a Y and CbCr component.
|
Which image within the [CameraFeed] we want access to, important if the camera image is split in a Y and CbCr component.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -511,29 +511,29 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="light_mask" type="int" setter="set_light_mask" getter="get_light_mask">
|
<member name="light_mask" type="int" setter="set_light_mask" getter="get_light_mask" default="1">
|
||||||
The rendering layers in which this [CanvasItem] responds to [Light2D] nodes. Default value: [code]1[/code].
|
The rendering layers in which this [CanvasItem] responds to [Light2D] nodes.
|
||||||
</member>
|
</member>
|
||||||
<member name="material" type="Material" setter="set_material" getter="get_material">
|
<member name="material" type="Material" setter="set_material" getter="get_material" default="null">
|
||||||
The material applied to textures on this [CanvasItem]. Default value: [code]null[/code].
|
The material applied to textures on this [CanvasItem].
|
||||||
</member>
|
</member>
|
||||||
<member name="modulate" type="Color" setter="set_modulate" getter="get_modulate">
|
<member name="modulate" type="Color" setter="set_modulate" getter="get_modulate" default="Color( 1, 1, 1, 1 )">
|
||||||
The color applied to textures on this [CanvasItem]. Default value: [code]Color(1, 1, 1, 1)[/code] (opaque "white").
|
The color applied to textures on this [CanvasItem].
|
||||||
</member>
|
</member>
|
||||||
<member name="self_modulate" type="Color" setter="set_self_modulate" getter="get_self_modulate">
|
<member name="self_modulate" type="Color" setter="set_self_modulate" getter="get_self_modulate" default="Color( 1, 1, 1, 1 )">
|
||||||
The color applied to textures on this [CanvasItem]. This is not inherited by children [CanvasItem]s. Default value: [code]Color(1, 1, 1, 1)[/code] (opaque "white")..
|
The color applied to textures on this [CanvasItem]. This is not inherited by children [CanvasItem]s.
|
||||||
</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" default="false">
|
||||||
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.
|
||||||
</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.
|
||||||
</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" default="false">
|
||||||
If [code]true[/code], the parent [CanvasItem]'s [member material] property is used as this one's material. Default value: [code]false[/code].
|
If [code]true[/code], the parent [CanvasItem]'s [member material] property is used as this one's material.
|
||||||
</member>
|
</member>
|
||||||
<member name="visible" type="bool" setter="set_visible" getter="is_visible">
|
<member name="visible" type="bool" setter="set_visible" getter="is_visible" default="true">
|
||||||
If [code]true[/code], this [CanvasItem] 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 [code]popup*()[/code] functions instead.
|
If [code]true[/code], this [CanvasItem] is drawn. For controls that inherit [Popup], the correct way to make them visible is to call one of the multiple [code]popup*()[/code] functions instead.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="CanvasItemMaterial.BlendMode">
|
<member name="blend_mode" type="int" setter="set_blend_mode" getter="get_blend_mode" enum="CanvasItemMaterial.BlendMode" default="0">
|
||||||
The manner in which a material's rendering is applied to underlying textures.
|
The manner in which a material's rendering is applied to underlying textures.
|
||||||
</member>
|
</member>
|
||||||
<member name="light_mode" type="int" setter="set_light_mode" getter="get_light_mode" enum="CanvasItemMaterial.LightMode">
|
<member name="light_mode" type="int" setter="set_light_mode" getter="get_light_mode" enum="CanvasItemMaterial.LightMode" default="0">
|
||||||
The manner in which material reacts to lighting.
|
The manner in which material reacts to lighting.
|
||||||
</member>
|
</member>
|
||||||
<member name="particles_anim_h_frames" type="int" setter="set_particles_anim_h_frames" getter="get_particles_anim_h_frames">
|
<member name="particles_anim_h_frames" type="int" setter="set_particles_anim_h_frames" getter="get_particles_anim_h_frames">
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
</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">
|
||||||
</member>
|
</member>
|
||||||
<member name="particles_animation" type="bool" setter="set_particles_animation" getter="get_particles_animation">
|
<member name="particles_animation" type="bool" setter="set_particles_animation" getter="get_particles_animation" default="false">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -23,26 +23,26 @@
|
||||||
<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 assigned to the [CanvasLayer]. If [code]null[/code], uses the default viewport instead.
|
The custom [Viewport] node assigned to the [CanvasLayer]. If [code]null[/code], uses the default viewport instead.
|
||||||
</member>
|
</member>
|
||||||
<member name="follow_viewport_enable" type="bool" setter="set_follow_viewport" getter="is_following_viewport">
|
<member name="follow_viewport_enable" type="bool" setter="set_follow_viewport" getter="is_following_viewport" default="false">
|
||||||
</member>
|
</member>
|
||||||
<member name="follow_viewport_scale" type="float" setter="set_follow_viewport_scale" getter="get_follow_viewport_scale">
|
<member name="follow_viewport_scale" type="float" setter="set_follow_viewport_scale" getter="get_follow_viewport_scale" default="1.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="layer" type="int" setter="set_layer" getter="get_layer">
|
<member name="layer" type="int" setter="set_layer" getter="get_layer" default="1">
|
||||||
Layer index for draw order. Lower values are drawn first. Default value: [code]1[/code].
|
Layer index for draw order. Lower values are drawn first.
|
||||||
</member>
|
</member>
|
||||||
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset">
|
<member name="offset" type="Vector2" setter="set_offset" getter="get_offset" default="Vector2( 0, 0 )">
|
||||||
The layer's base offset.
|
The layer's base offset.
|
||||||
</member>
|
</member>
|
||||||
<member name="rotation" type="float" setter="set_rotation" getter="get_rotation">
|
<member name="rotation" type="float" setter="set_rotation" getter="get_rotation" default="0.0">
|
||||||
The layer's rotation in radians.
|
The layer's rotation in radians.
|
||||||
</member>
|
</member>
|
||||||
<member name="rotation_degrees" type="float" setter="set_rotation_degrees" getter="get_rotation_degrees">
|
<member name="rotation_degrees" type="float" setter="set_rotation_degrees" getter="get_rotation_degrees" default="0.0">
|
||||||
The layer's rotation in degrees.
|
The layer's rotation in degrees.
|
||||||
</member>
|
</member>
|
||||||
<member name="scale" type="Vector2" setter="set_scale" getter="get_scale">
|
<member name="scale" type="Vector2" setter="set_scale" getter="get_scale" default="Vector2( 1, 1 )">
|
||||||
The layer's scale.
|
The layer's scale.
|
||||||
</member>
|
</member>
|
||||||
<member name="transform" type="Transform2D" setter="set_transform" getter="get_transform">
|
<member name="transform" type="Transform2D" setter="set_transform" getter="get_transform" default="Transform2D( 1, 0, 0, 1, 0, 0 )">
|
||||||
The layer's transform.
|
The layer's transform.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="color" type="Color" setter="set_color" getter="get_color">
|
<member name="color" type="Color" setter="set_color" getter="get_color" default="Color( 1, 1, 1, 1 )">
|
||||||
The tint color to apply.
|
The tint color to apply.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,17 +11,17 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="mid_height" type="float" setter="set_mid_height" getter="get_mid_height">
|
<member name="mid_height" type="float" setter="set_mid_height" getter="get_mid_height" default="1.0">
|
||||||
Height of the capsule mesh from the center point. Defaults to 1.0.
|
Height of the capsule mesh from the center point.
|
||||||
</member>
|
</member>
|
||||||
<member name="radial_segments" type="int" setter="set_radial_segments" getter="get_radial_segments">
|
<member name="radial_segments" type="int" setter="set_radial_segments" getter="get_radial_segments" default="64">
|
||||||
Number of radial segments on the capsule mesh. Defaults to 64.
|
Number of radial segments on the capsule mesh.
|
||||||
</member>
|
</member>
|
||||||
<member name="radius" type="float" setter="set_radius" getter="get_radius">
|
<member name="radius" type="float" setter="set_radius" getter="get_radius" default="1.0">
|
||||||
Radius of the capsule mesh. Defaults to 1.0.
|
Radius of the capsule mesh.
|
||||||
</member>
|
</member>
|
||||||
<member name="rings" type="int" setter="set_rings" getter="get_rings">
|
<member name="rings" type="int" setter="set_rings" getter="get_rings" default="8">
|
||||||
Number of rings along the height of the capsule. Defaults to 8.
|
Number of rings along the height of the capsule.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="height" type="float" setter="set_height" getter="get_height">
|
<member name="height" type="float" setter="set_height" getter="get_height" default="1.0">
|
||||||
The capsule's height.
|
The capsule's height.
|
||||||
</member>
|
</member>
|
||||||
<member name="radius" type="float" setter="set_radius" getter="get_radius">
|
<member name="radius" type="float" setter="set_radius" getter="get_radius" default="1.0">
|
||||||
The capsule's radius.
|
The capsule's radius.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="height" type="float" setter="set_height" getter="get_height">
|
<member name="height" type="float" setter="set_height" getter="get_height" default="20.0">
|
||||||
The capsule's height.
|
The capsule's height.
|
||||||
</member>
|
</member>
|
||||||
<member name="radius" type="float" setter="set_radius" getter="get_radius">
|
<member name="radius" type="float" setter="set_radius" getter="get_radius" default="10.0">
|
||||||
The capsule's radius.
|
The capsule's radius.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
<methods>
|
<methods>
|
||||||
</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" default="false">
|
||||||
If [code]true[/code], centers children relative to the [CenterContainer]'s top left corner. Default value: [code]false[/code].
|
If [code]true[/code], centers children relative to the [CenterContainer]'s top left corner.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<constants>
|
<constants>
|
||||||
</constants>
|
</constants>
|
||||||
<theme_items>
|
<theme_items>
|
||||||
<theme_item name="check_vadjust" type="int">
|
<theme_item name="check_vadjust" type="int" default="0">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="checked" type="Texture">
|
<theme_item name="checked" type="Texture">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
|
@ -23,21 +23,21 @@
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font" type="Font">
|
<theme_item name="font" type="Font">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color" type="Color">
|
<theme_item name="font_color" type="Color" default="Color( 0.878431, 0.878431, 0.878431, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_disabled" type="Color">
|
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_hover" type="Color">
|
<theme_item name="font_color_hover" type="Color" default="Color( 0.941176, 0.941176, 0.941176, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_hover_pressed" type="Color">
|
<theme_item name="font_color_hover_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_pressed" type="Color">
|
<theme_item name="font_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="hover" type="StyleBox">
|
<theme_item name="hover" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="hover_pressed" type="StyleBox">
|
<theme_item name="hover_pressed" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="hseparation" type="int">
|
<theme_item name="hseparation" type="int" default="4">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="normal" type="StyleBox">
|
<theme_item name="normal" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<constants>
|
<constants>
|
||||||
</constants>
|
</constants>
|
||||||
<theme_items>
|
<theme_items>
|
||||||
<theme_item name="check_vadjust" type="int">
|
<theme_item name="check_vadjust" type="int" default="0">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="disabled" type="StyleBox">
|
<theme_item name="disabled" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
|
@ -21,21 +21,21 @@
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font" type="Font">
|
<theme_item name="font" type="Font">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color" type="Color">
|
<theme_item name="font_color" type="Color" default="Color( 0.878431, 0.878431, 0.878431, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_disabled" type="Color">
|
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.2 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_hover" type="Color">
|
<theme_item name="font_color_hover" type="Color" default="Color( 0.941176, 0.941176, 0.941176, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_hover_pressed" type="Color">
|
<theme_item name="font_color_hover_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_pressed" type="Color">
|
<theme_item name="font_color_pressed" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="hover" type="StyleBox">
|
<theme_item name="hover" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="hover_pressed" type="StyleBox">
|
<theme_item name="hover_pressed" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="hseparation" type="int">
|
<theme_item name="hseparation" type="int" default="4">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="normal" type="StyleBox">
|
<theme_item name="normal" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="radius" type="float" setter="set_radius" getter="get_radius">
|
<member name="radius" type="float" setter="set_radius" getter="get_radius" default="10.0">
|
||||||
The circle's radius.
|
The circle's radius.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -71,15 +71,15 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="clip_to_areas" type="bool" setter="set_clip_to_areas" getter="is_clip_to_areas_enabled">
|
<member name="clip_to_areas" type="bool" setter="set_clip_to_areas" getter="is_clip_to_areas_enabled" default="false">
|
||||||
</member>
|
</member>
|
||||||
<member name="clip_to_bodies" type="bool" setter="set_clip_to_bodies" getter="is_clip_to_bodies_enabled">
|
<member name="clip_to_bodies" type="bool" setter="set_clip_to_bodies" getter="is_clip_to_bodies_enabled" default="true">
|
||||||
</member>
|
</member>
|
||||||
<member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask">
|
<member name="collision_mask" type="int" setter="set_collision_mask" getter="get_collision_mask" default="1">
|
||||||
</member>
|
</member>
|
||||||
<member name="margin" type="float" setter="set_margin" getter="get_margin">
|
<member name="margin" type="float" setter="set_margin" getter="get_margin" default="0.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="process_mode" type="int" setter="set_process_mode" getter="get_process_mode" enum="ClippedCamera.ProcessMode">
|
<member name="process_mode" type="int" setter="set_process_mode" getter="get_process_mode" enum="ClippedCamera.ProcessMode" default="0">
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -180,11 +180,11 @@
|
||||||
</method>
|
</method>
|
||||||
</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" default="false">
|
||||||
If [code]true[/code], the [CollisionObject] will continue to receive input events as the mouse is dragged across its shapes. Default value: [code]false[/code].
|
If [code]true[/code], the [CollisionObject] will continue to receive input events as the mouse is dragged across its shapes.
|
||||||
</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" default="true">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -214,7 +214,7 @@
|
||||||
</method>
|
</method>
|
||||||
</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" default="true">
|
||||||
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. Requires at least one [code]collision_layer[/code] bit to be set.
|
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. Requires at least one [code]collision_layer[/code] bit to be set.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,13 +11,13 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="depth" type="float" setter="set_depth" getter="get_depth">
|
<member name="depth" type="float" setter="set_depth" getter="get_depth" default="1.0">
|
||||||
Length that the resulting collision extends in either direction perpendicular to its polygon.
|
Length that the resulting collision extends in either direction perpendicular to its polygon.
|
||||||
</member>
|
</member>
|
||||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled">
|
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false">
|
||||||
If [code]true[/code], no collision will be produced.
|
If [code]true[/code], no collision will be produced.
|
||||||
</member>
|
</member>
|
||||||
<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon">
|
<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon" default="PoolVector2Array( )">
|
||||||
Array of vertices which define the polygon.
|
Array of vertices which define the polygon.
|
||||||
[b]Note:[/b] The returned value is a copy of the original. Methods which mutate the size or properties of the return value will not impact the original polygon. To change properties of the polygon, assign it to a temporary variable and make changes before reassigning the [code]polygon[/code] member.
|
[b]Note:[/b] The returned value is a copy of the original. Methods which mutate the size or properties of the return value will not impact the original polygon. To change properties of the polygon, assign it to a temporary variable and make changes before reassigning the [code]polygon[/code] member.
|
||||||
</member>
|
</member>
|
||||||
|
|
|
@ -11,18 +11,18 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="build_mode" type="int" setter="set_build_mode" getter="get_build_mode" enum="CollisionPolygon2D.BuildMode">
|
<member name="build_mode" type="int" setter="set_build_mode" getter="get_build_mode" enum="CollisionPolygon2D.BuildMode" default="0">
|
||||||
Collision build mode. Use one of the [code]BUILD_*[/code] constants. Default value: [constant BUILD_SOLIDS].
|
Collision build mode. Use one of the [code]BUILD_*[/code] constants.
|
||||||
</member>
|
</member>
|
||||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled">
|
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false">
|
||||||
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" default="false">
|
||||||
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="one_way_collision_margin" type="float" setter="set_one_way_collision_margin" getter="get_one_way_collision_margin">
|
<member name="one_way_collision_margin" type="float" setter="set_one_way_collision_margin" getter="get_one_way_collision_margin" default="1.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon">
|
<member name="polygon" type="PoolVector2Array" setter="set_polygon" getter="get_polygon" default="PoolVector2Array( )">
|
||||||
The polygon's list of vertices. The final point will be connected to the first. The returned value is a clone of the PoolVector2Array, not a reference.
|
The polygon's list of vertices. The final point will be connected to the first. The returned value is a clone of the PoolVector2Array, not a reference.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -28,10 +28,10 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled">
|
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false">
|
||||||
A disabled collision shape has no effect in the world.
|
A disabled collision shape has no effect in the world.
|
||||||
</member>
|
</member>
|
||||||
<member name="shape" type="Shape" setter="set_shape" getter="get_shape">
|
<member name="shape" type="Shape" setter="set_shape" getter="get_shape" default="null">
|
||||||
The actual shape owned by this collision shape.
|
The actual shape owned by this collision shape.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -12,15 +12,15 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled">
|
<member name="disabled" type="bool" setter="set_disabled" getter="is_disabled" default="false">
|
||||||
A disabled collision shape has no effect in the world.
|
A disabled collision shape has no effect in the world.
|
||||||
</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" default="false">
|
||||||
Sets whether this collision shape should only detect collision on one side (top or bottom).
|
Sets whether this collision shape should only detect collision on one side (top or bottom).
|
||||||
</member>
|
</member>
|
||||||
<member name="one_way_collision_margin" type="float" setter="set_one_way_collision_margin" getter="get_one_way_collision_margin">
|
<member name="one_way_collision_margin" type="float" setter="set_one_way_collision_margin" getter="get_one_way_collision_margin" default="1.0">
|
||||||
</member>
|
</member>
|
||||||
<member name="shape" type="Shape2D" setter="set_shape" getter="get_shape">
|
<member name="shape" type="Shape2D" setter="set_shape" getter="get_shape" default="null">
|
||||||
The actual shape owned by this collision shape.
|
The actual shape owned by this collision shape.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -263,37 +263,37 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="a" type="float" setter="" getter="">
|
<member name="a" type="float" setter="" getter="" default="1.0">
|
||||||
Alpha value (range 0 to 1).
|
Alpha value (range 0 to 1).
|
||||||
</member>
|
</member>
|
||||||
<member name="a8" type="int" setter="" getter="">
|
<member name="a8" type="int" setter="" getter="" default="255">
|
||||||
Alpha value (range 0 to 255).
|
Alpha value (range 0 to 255).
|
||||||
</member>
|
</member>
|
||||||
<member name="b" type="float" setter="" getter="">
|
<member name="b" type="float" setter="" getter="" default="0.0">
|
||||||
Blue value (range 0 to 1).
|
Blue value (range 0 to 1).
|
||||||
</member>
|
</member>
|
||||||
<member name="b8" type="int" setter="" getter="">
|
<member name="b8" type="int" setter="" getter="" default="0">
|
||||||
Blue value (range 0 to 255).
|
Blue value (range 0 to 255).
|
||||||
</member>
|
</member>
|
||||||
<member name="g" type="float" setter="" getter="">
|
<member name="g" type="float" setter="" getter="" default="0.0">
|
||||||
Green value (range 0 to 1).
|
Green value (range 0 to 1).
|
||||||
</member>
|
</member>
|
||||||
<member name="g8" type="int" setter="" getter="">
|
<member name="g8" type="int" setter="" getter="" default="0">
|
||||||
Green value (range 0 to 255).
|
Green value (range 0 to 255).
|
||||||
</member>
|
</member>
|
||||||
<member name="h" type="float" setter="" getter="">
|
<member name="h" type="float" setter="" getter="" default="0.0">
|
||||||
HSV hue value (range 0 to 1).
|
HSV hue value (range 0 to 1).
|
||||||
</member>
|
</member>
|
||||||
<member name="r" type="float" setter="" getter="">
|
<member name="r" type="float" setter="" getter="" default="0.0">
|
||||||
Red value (range 0 to 1).
|
Red value (range 0 to 1).
|
||||||
</member>
|
</member>
|
||||||
<member name="r8" type="int" setter="" getter="">
|
<member name="r8" type="int" setter="" getter="" default="0">
|
||||||
Red value (range 0 to 255).
|
Red value (range 0 to 255).
|
||||||
</member>
|
</member>
|
||||||
<member name="s" type="float" setter="" getter="">
|
<member name="s" type="float" setter="" getter="" default="0.0">
|
||||||
HSV saturation value (range 0 to 1).
|
HSV saturation value (range 0 to 1).
|
||||||
</member>
|
</member>
|
||||||
<member name="v" type="float" setter="" getter="">
|
<member name="v" type="float" setter="" getter="" default="0.0">
|
||||||
HSV value (range 0 to 1).
|
HSV value (range 0 to 1).
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -37,24 +37,24 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="color" type="Color" setter="set_pick_color" getter="get_pick_color">
|
<member name="color" type="Color" setter="set_pick_color" getter="get_pick_color" default="Color( 1, 1, 1, 1 )">
|
||||||
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" default="false">
|
||||||
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" default="true">
|
||||||
If [code]true[/code], shows an alpha channel slider (transparency).
|
If [code]true[/code], shows an alpha channel slider (transparency).
|
||||||
</member>
|
</member>
|
||||||
<member name="hsv_mode" type="bool" setter="set_hsv_mode" getter="is_hsv_mode">
|
<member name="hsv_mode" type="bool" setter="set_hsv_mode" getter="is_hsv_mode" default="false">
|
||||||
If [code]true[/code], allows editing the color with Hue/Saturation/Value sliders.
|
If [code]true[/code], allows editing the color with Hue/Saturation/Value sliders.
|
||||||
[b]Note:[/b] Cannot be enabled if raw mode is on.
|
[b]Note:[/b] Cannot be enabled if raw mode is on.
|
||||||
</member>
|
</member>
|
||||||
<member name="presets_enabled" type="bool" setter="set_presets_enabled" getter="are_presets_enabled">
|
<member name="presets_enabled" type="bool" setter="set_presets_enabled" getter="are_presets_enabled" default="true">
|
||||||
</member>
|
</member>
|
||||||
<member name="presets_visible" type="bool" setter="set_presets_visible" getter="are_presets_visible">
|
<member name="presets_visible" type="bool" setter="set_presets_visible" getter="are_presets_visible" default="true">
|
||||||
</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" default="false">
|
||||||
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).
|
||||||
[b]Note:[/b] Cannot be enabled if HSV mode is on.
|
[b]Note:[/b] Cannot be enabled if HSV mode is on.
|
||||||
</member>
|
</member>
|
||||||
|
@ -91,19 +91,19 @@
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="color_sample" type="Texture">
|
<theme_item name="color_sample" type="Texture">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="h_width" type="int">
|
<theme_item name="h_width" type="int" default="30">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="label_width" type="int">
|
<theme_item name="label_width" type="int" default="10">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="margin" type="int">
|
<theme_item name="margin" type="int" default="4">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="preset_bg" type="Texture">
|
<theme_item name="preset_bg" type="Texture">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="screen_picker" type="Texture">
|
<theme_item name="screen_picker" type="Texture">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="sv_height" type="int">
|
<theme_item name="sv_height" type="int" default="256">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="sv_width" type="int">
|
<theme_item name="sv_width" type="int" default="256">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
</theme_items>
|
</theme_items>
|
||||||
</class>
|
</class>
|
||||||
|
|
|
@ -25,11 +25,11 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="color" type="Color" setter="set_pick_color" getter="get_pick_color">
|
<member name="color" type="Color" setter="set_pick_color" getter="get_pick_color" default="Color( 0, 0, 0, 1 )">
|
||||||
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" default="true">
|
||||||
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.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
@ -56,17 +56,17 @@
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font" type="Font">
|
<theme_item name="font" type="Font">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color" type="Color">
|
<theme_item name="font_color" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_disabled" type="Color">
|
<theme_item name="font_color_disabled" type="Color" default="Color( 0.9, 0.9, 0.9, 0.3 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_hover" type="Color">
|
<theme_item name="font_color_hover" type="Color" default="Color( 1, 1, 1, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="font_color_pressed" type="Color">
|
<theme_item name="font_color_pressed" type="Color" default="Color( 0.8, 0.8, 0.8, 1 )">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="hover" type="StyleBox">
|
<theme_item name="hover" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="hseparation" type="int">
|
<theme_item name="hseparation" type="int" default="2">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
<theme_item name="normal" type="StyleBox">
|
<theme_item name="normal" type="StyleBox">
|
||||||
</theme_item>
|
</theme_item>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="color" type="Color" setter="set_frame_color" getter="get_frame_color">
|
<member name="color" type="Color" setter="set_frame_color" getter="get_frame_color" default="Color( 1, 1, 1, 1 )">
|
||||||
The fill color.
|
The fill color.
|
||||||
[codeblock]
|
[codeblock]
|
||||||
$ColorRect.color = Color(1, 0, 0, 1) # Set ColorRect's color to red.
|
$ColorRect.color = Color(1, 0, 0, 1) # Set ColorRect's color to red.
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="segments" type="PoolVector2Array" setter="set_segments" getter="get_segments">
|
<member name="segments" type="PoolVector2Array" setter="set_segments" getter="get_segments" default="PoolVector2Array( )">
|
||||||
The array of points that make up the [ConcavePolygonShape2D]'s line segments.
|
The array of points that make up the [ConcavePolygonShape2D]'s line segments.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -13,23 +13,23 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="bias" type="float" setter="set_param" getter="get_param">
|
<member name="bias" type="float" setter="set_param" getter="get_param" default="0.3">
|
||||||
The speed with which the swing or twist will take place.
|
The speed with which the swing or twist will take place.
|
||||||
The higher, the faster.
|
The higher, the faster.
|
||||||
</member>
|
</member>
|
||||||
<member name="relaxation" type="float" setter="set_param" getter="get_param">
|
<member name="relaxation" type="float" setter="set_param" getter="get_param" default="1.0">
|
||||||
Defines, how fast the swing- and twist-speed-difference on both sides gets synced.
|
Defines, how fast the swing- and twist-speed-difference on both sides gets synced.
|
||||||
</member>
|
</member>
|
||||||
<member name="softness" type="float" setter="set_param" getter="get_param">
|
<member name="softness" type="float" setter="set_param" getter="get_param" default="0.8">
|
||||||
The ease with which the joint starts to twist. If it's too low, it takes more force to start twisting the joint.
|
The ease with which the joint starts to twist. If it's too low, it takes more force to start twisting the joint.
|
||||||
</member>
|
</member>
|
||||||
<member name="swing_span" type="float" setter="_set_swing_span" getter="_get_swing_span">
|
<member name="swing_span" type="float" setter="_set_swing_span" getter="_get_swing_span" default="45.0">
|
||||||
Swing is rotation from side to side, around the axis perpendicular to the twist axis.
|
Swing is rotation from side to side, around the axis perpendicular to the twist axis.
|
||||||
The swing span defines, how much rotation will not get corrected along the swing axis.
|
The swing span defines, how much rotation will not get corrected along the swing axis.
|
||||||
Could be defined as looseness in the [ConeTwistJoint].
|
Could be defined as looseness in the [ConeTwistJoint].
|
||||||
If below 0.05, this behavior is locked. Default value: [code]PI/4[/code].
|
If below 0.05, this behavior is locked.
|
||||||
</member>
|
</member>
|
||||||
<member name="twist_span" type="float" setter="_set_twist_span" getter="_get_twist_span">
|
<member name="twist_span" type="float" setter="_set_twist_span" getter="_get_twist_span" default="180.0">
|
||||||
Twist is the rotation around the twist axis, this value defined how far the joint can twist.
|
Twist is the rotation around the twist axis, this value defined how far the joint can twist.
|
||||||
Twist is locked if below 0.05.
|
Twist is locked if below 0.05.
|
||||||
</member>
|
</member>
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
Swing is rotation from side to side, around the axis perpendicular to the twist axis.
|
Swing is rotation from side to side, around the axis perpendicular to the twist axis.
|
||||||
The swing span defines, how much rotation will not get corrected along the swing axis.
|
The swing span defines, how much rotation will not get corrected along the swing axis.
|
||||||
Could be defined as looseness in the [ConeTwistJoint].
|
Could be defined as looseness in the [ConeTwistJoint].
|
||||||
If below 0.05, this behavior is locked. Default value: [code]PI/4[/code].
|
If below 0.05, this behavior is locked.
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="PARAM_TWIST_SPAN" value="1" enum="Param">
|
<constant name="PARAM_TWIST_SPAN" value="1" enum="Param">
|
||||||
Twist is the rotation around the twist axis, this value defined how far the joint can twist.
|
Twist is the rotation around the twist axis, this value defined how far the joint can twist.
|
||||||
|
|
|
@ -644,107 +644,107 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="anchor_bottom" type="float" setter="_set_anchor" getter="get_anchor">
|
<member name="anchor_bottom" type="float" setter="_set_anchor" getter="get_anchor" default="0.0">
|
||||||
Anchors the bottom edge of the node to the origin, the center, or the end of its parent control. It changes how the bottom margin updates when the node moves or changes size. You can use one of the [code]ANCHOR_*[/code] constants for convenience. Default value: [constant ANCHOR_BEGIN].
|
Anchors the bottom edge of the node to the origin, the center, or the end of its parent control. It changes how the bottom margin updates when the node moves or changes size. You can use one of the [code]ANCHOR_*[/code] constants for convenience.
|
||||||
</member>
|
</member>
|
||||||
<member name="anchor_left" type="float" setter="_set_anchor" getter="get_anchor">
|
<member name="anchor_left" type="float" setter="_set_anchor" getter="get_anchor" default="0.0">
|
||||||
Anchors the left edge of the node to the origin, the center or the end of its parent control. It changes how the left margin updates when the node moves or changes size. You can use one of the [code]ANCHOR_*[/code] constants for convenience.Default value: [constant ANCHOR_BEGIN].
|
Anchors the left edge of the node to the origin, the center or the end of its parent control. It changes how the left margin updates when the node moves or changes size. You can use one of the [code]ANCHOR_*[/code] constants for convenience.
|
||||||
</member>
|
</member>
|
||||||
<member name="anchor_right" type="float" setter="_set_anchor" getter="get_anchor">
|
<member name="anchor_right" type="float" setter="_set_anchor" getter="get_anchor" default="0.0">
|
||||||
Anchors the right edge of the node to the origin, the center or the end of its parent control. It changes how the right margin updates when the node moves or changes size. You can use one of the [code]ANCHOR_*[/code] constants for convenience. Default value: [constant ANCHOR_BEGIN].
|
Anchors the right edge of the node to the origin, the center or the end of its parent control. It changes how the right margin updates when the node moves or changes size. You can use one of the [code]ANCHOR_*[/code] constants for convenience.
|
||||||
</member>
|
</member>
|
||||||
<member name="anchor_top" type="float" setter="_set_anchor" getter="get_anchor">
|
<member name="anchor_top" type="float" setter="_set_anchor" getter="get_anchor" default="0.0">
|
||||||
Anchors the top edge of the node to the origin, the center or the end of its parent control. It changes how the top margin updates when the node moves or changes size. You can use one of the [code]ANCHOR_*[/code] constants for convenience. Default value: [constant ANCHOR_BEGIN].
|
Anchors the top edge of the node to the origin, the center or the end of its parent control. It changes how the top margin updates when the node moves or changes size. You can use one of the [code]ANCHOR_*[/code] constants for convenience.
|
||||||
</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" default="0">
|
||||||
The focus access mode for the control (None, Click or All). Only one Control can be focused at the same time, and it will receive keyboard signals.
|
The focus access mode for the control (None, Click or All). Only one Control can be focused at the same time, and it will receive keyboard signals.
|
||||||
</member>
|
</member>
|
||||||
<member name="focus_neighbour_bottom" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour">
|
<member name="focus_neighbour_bottom" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour" default="NodePath("")">
|
||||||
Tells Godot which node it should give keyboard focus to if the user presses the down arrow on the keyboard or down on a gamepad by default. You can change the key by editing the [code]ui_down[/code] input action. The node must be a [Control]. If this property is not set, Godot will give focus to the closest [Control] to the bottom of this one.
|
Tells Godot which node it should give keyboard focus to if the user presses the down arrow on the keyboard or down on a gamepad by default. You can change the key by editing the [code]ui_down[/code] input action. The node must be a [Control]. If this property is not set, Godot will give focus to the closest [Control] to the bottom of this one.
|
||||||
</member>
|
</member>
|
||||||
<member name="focus_neighbour_left" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour">
|
<member name="focus_neighbour_left" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour" default="NodePath("")">
|
||||||
Tells Godot which node it should give keyboard focus to if the user presses the left arrow on the keyboard or left on a gamepad by default. You can change the key by editing the [code]ui_left[/code] input action. The node must be a [Control]. If this property is not set, Godot will give focus to the closest [Control] to the left of this one.
|
Tells Godot which node it should give keyboard focus to if the user presses the left arrow on the keyboard or left on a gamepad by default. You can change the key by editing the [code]ui_left[/code] input action. The node must be a [Control]. If this property is not set, Godot will give focus to the closest [Control] to the left of this one.
|
||||||
</member>
|
</member>
|
||||||
<member name="focus_neighbour_right" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour">
|
<member name="focus_neighbour_right" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour" default="NodePath("")">
|
||||||
Tells Godot which node it should give keyboard focus to if the user presses the right arrow on the keyboard or right on a gamepad by default. You can change the key by editing the [code]ui_right[/code] input action. The node must be a [Control]. If this property is not set, Godot will give focus to the closest [Control] to the bottom of this one.
|
Tells Godot which node it should give keyboard focus to if the user presses the right arrow on the keyboard or right on a gamepad by default. You can change the key by editing the [code]ui_right[/code] input action. The node must be a [Control]. If this property is not set, Godot will give focus to the closest [Control] to the bottom of this one.
|
||||||
</member>
|
</member>
|
||||||
<member name="focus_neighbour_top" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour">
|
<member name="focus_neighbour_top" type="NodePath" setter="set_focus_neighbour" getter="get_focus_neighbour" default="NodePath("")">
|
||||||
Tells Godot which node it should give keyboard focus to if the user presses the top arrow on the keyboard or top on a gamepad by default. You can change the key by editing the [code]ui_top[/code] input action. The node must be a [Control]. If this property is not set, Godot will give focus to the closest [Control] to the bottom of this one.
|
Tells Godot which node it should give keyboard focus to if the user presses the top arrow on the keyboard or top on a gamepad by default. You can change the key by editing the [code]ui_top[/code] input action. The node must be a [Control]. If this property is not set, Godot will give focus to the closest [Control] to the bottom of this one.
|
||||||
</member>
|
</member>
|
||||||
<member name="focus_next" type="NodePath" setter="set_focus_next" getter="get_focus_next">
|
<member name="focus_next" type="NodePath" setter="set_focus_next" getter="get_focus_next" default="NodePath("")">
|
||||||
Tells Godot which node it should give keyboard focus to if the user presses Tab on a keyboard by default. You can change the key by editing the [code]ui_focus_next[/code] input action.
|
Tells Godot which node it should give keyboard focus to if the user presses Tab on a keyboard by default. You can change the key by editing the [code]ui_focus_next[/code] input action.
|
||||||
If this property is not set, Godot will select a "best guess" based on surrounding nodes in the scene tree.
|
If this property is not set, Godot will select a "best guess" based on surrounding nodes in the scene tree.
|
||||||
</member>
|
</member>
|
||||||
<member name="focus_previous" type="NodePath" setter="set_focus_previous" getter="get_focus_previous">
|
<member name="focus_previous" type="NodePath" setter="set_focus_previous" getter="get_focus_previous" default="NodePath("")">
|
||||||
Tells Godot which node it should give keyboard focus to if the user presses Shift+Tab on a keyboard by default. You can change the key by editing the [code]ui_focus_prev[/code] input action.
|
Tells Godot which node it should give keyboard focus to if the user presses Shift+Tab on a keyboard by default. You can change the key by editing the [code]ui_focus_prev[/code] input action.
|
||||||
If this property is not set, Godot will select a "best guess" based on surrounding nodes in the scene tree.
|
If this property is not set, Godot will select a "best guess" based on surrounding nodes in the scene tree.
|
||||||
</member>
|
</member>
|
||||||
<member name="grow_horizontal" type="int" setter="set_h_grow_direction" getter="get_h_grow_direction" enum="Control.GrowDirection">
|
<member name="grow_horizontal" type="int" setter="set_h_grow_direction" getter="get_h_grow_direction" enum="Control.GrowDirection" default="1">
|
||||||
Controls the direction on the horizontal axis in which the control should grow if its horizontal minimum size is changed to be greater than its current size, as the control always has to be at least the minimum size.
|
Controls the direction on the horizontal axis in which the control should grow if its horizontal minimum size is changed to be greater than its current size, as the control always has to be at least the minimum size.
|
||||||
</member>
|
</member>
|
||||||
<member name="grow_vertical" type="int" setter="set_v_grow_direction" getter="get_v_grow_direction" enum="Control.GrowDirection">
|
<member name="grow_vertical" type="int" setter="set_v_grow_direction" getter="get_v_grow_direction" enum="Control.GrowDirection" default="1">
|
||||||
Controls the direction on the vertical axis in which the control should grow if its vertical minimum size is changed to be greater than its current size, as the control always has to be at least the minimum size.
|
Controls the direction on the vertical axis in which the control should grow if its vertical minimum size is changed to be greater than its current size, as the control always has to be at least the minimum size.
|
||||||
</member>
|
</member>
|
||||||
<member name="hint_tooltip" type="String" setter="set_tooltip" getter="_get_tooltip">
|
<member name="hint_tooltip" type="String" setter="set_tooltip" getter="_get_tooltip" default="""">
|
||||||
Changes the tooltip text. The tooltip appears when the user's mouse cursor stays idle over this control for a few moments, provided that the [member mouse_filter] property is not [constant MOUSE_FILTER_IGNORE].
|
Changes the tooltip text. The tooltip appears when the user's mouse cursor stays idle over this control for a few moments, provided that the [member mouse_filter] property is not [constant MOUSE_FILTER_IGNORE].
|
||||||
</member>
|
</member>
|
||||||
<member name="margin_bottom" type="float" setter="set_margin" getter="get_margin">
|
<member name="margin_bottom" type="float" setter="set_margin" getter="get_margin" default="0.0">
|
||||||
Distance between the node's bottom edge and its parent control, based on [member anchor_bottom].
|
Distance between the node's bottom edge and its parent control, based on [member anchor_bottom].
|
||||||
Margins are often controlled by one or multiple parent [Container] nodes, so you should not modify them manually if your node is a direct child of a [Container]. Margins update automatically when you move or resize the node.
|
Margins are often controlled by one or multiple parent [Container] nodes, so you should not modify them manually if your node is a direct child of a [Container]. Margins update automatically when you move or resize the node.
|
||||||
</member>
|
</member>
|
||||||
<member name="margin_left" type="float" setter="set_margin" getter="get_margin">
|
<member name="margin_left" type="float" setter="set_margin" getter="get_margin" default="0.0">
|
||||||
Distance between the node's left edge and its parent control, based on [member anchor_left].
|
Distance between the node's left edge and its parent control, based on [member anchor_left].
|
||||||
Margins are often controlled by one or multiple parent [Container] nodes, so you should not modify them manually if your node is a direct child of a [Container]. Margins update automatically when you move or resize the node.
|
Margins are often controlled by one or multiple parent [Container] nodes, so you should not modify them manually if your node is a direct child of a [Container]. Margins update automatically when you move or resize the node.
|
||||||
</member>
|
</member>
|
||||||
<member name="margin_right" type="float" setter="set_margin" getter="get_margin">
|
<member name="margin_right" type="float" setter="set_margin" getter="get_margin" default="0.0">
|
||||||
Distance between the node's right edge and its parent control, based on [member anchor_right].
|
Distance between the node's right edge and its parent control, based on [member anchor_right].
|
||||||
Margins are often controlled by one or multiple parent [Container] nodes, so you should not modify them manually if your node is a direct child of a [Container]. Margins update automatically when you move or resize the node.
|
Margins are often controlled by one or multiple parent [Container] nodes, so you should not modify them manually if your node is a direct child of a [Container]. Margins update automatically when you move or resize the node.
|
||||||
</member>
|
</member>
|
||||||
<member name="margin_top" type="float" setter="set_margin" getter="get_margin">
|
<member name="margin_top" type="float" setter="set_margin" getter="get_margin" default="0.0">
|
||||||
Distance between the node's top edge and its parent control, based on [member anchor_top].
|
Distance between the node's top edge and its parent control, based on [member anchor_top].
|
||||||
Margins are often controlled by one or multiple parent [Container] nodes, so you should not modify them manually if your node is a direct child of a [Container]. Margins update automatically when you move or resize the node.
|
Margins are often controlled by one or multiple parent [Container] nodes, so you should not modify them manually if your node is a direct child of a [Container]. Margins update automatically when you move or resize the node.
|
||||||
</member>
|
</member>
|
||||||
<member name="mouse_default_cursor_shape" type="int" setter="set_default_cursor_shape" getter="get_default_cursor_shape" enum="Control.CursorShape">
|
<member name="mouse_default_cursor_shape" type="int" setter="set_default_cursor_shape" getter="get_default_cursor_shape" enum="Control.CursorShape" default="0">
|
||||||
The default cursor shape for this control. Useful for Godot plugins and applications or games that use the system's mouse cursors.
|
The default cursor shape for this control. Useful for Godot plugins and applications or games that use the system's mouse cursors.
|
||||||
[b]Note:[/b] On Linux, shapes may vary depending on the cursor theme of the system.
|
[b]Note:[/b] On Linux, shapes may vary depending on the cursor theme of the system.
|
||||||
</member>
|
</member>
|
||||||
<member name="mouse_filter" type="int" setter="set_mouse_filter" getter="get_mouse_filter" enum="Control.MouseFilter">
|
<member name="mouse_filter" type="int" setter="set_mouse_filter" getter="get_mouse_filter" enum="Control.MouseFilter" default="0">
|
||||||
Controls whether the control will be able to receive mouse button input events through [method _gui_input] and how these events should be handled. Also controls whether the control can receive the [signal mouse_entered], and [signal mouse_exited] signals. See the constants to learn what each does.
|
Controls whether the control will be able to receive mouse button input events through [method _gui_input] and how these events should be handled. Also controls whether the control can receive the [signal mouse_entered], and [signal mouse_exited] signals. See the constants to learn what each does.
|
||||||
</member>
|
</member>
|
||||||
<member name="rect_clip_content" type="bool" setter="set_clip_contents" getter="is_clipping_contents">
|
<member name="rect_clip_content" type="bool" setter="set_clip_contents" getter="is_clipping_contents" default="false">
|
||||||
Enables whether rendering of children should be clipped to this control's rectangle. If [code]true[/code], parts of a child which would be visibly outside of this control's rectangle will not be rendered.
|
Enables whether rendering of children should be clipped to this control's rectangle. If [code]true[/code], parts of a child which would be visibly outside of this control's rectangle will not be rendered.
|
||||||
</member>
|
</member>
|
||||||
<member name="rect_global_position" type="Vector2" setter="_set_global_position" getter="get_global_position">
|
<member name="rect_global_position" type="Vector2" setter="_set_global_position" getter="get_global_position">
|
||||||
The node's global position, relative to the world (usually to the top-left corner of the window).
|
The node's global position, relative to the world (usually to the top-left corner of the window).
|
||||||
</member>
|
</member>
|
||||||
<member name="rect_min_size" type="Vector2" setter="set_custom_minimum_size" getter="get_custom_minimum_size">
|
<member name="rect_min_size" type="Vector2" setter="set_custom_minimum_size" getter="get_custom_minimum_size" default="Vector2( 0, 0 )">
|
||||||
The minimum size of the node's bounding rectangle. If you set it to a value greater than (0, 0), the node's bounding rectangle will always have at least this size, even if its content is smaller. If it's set to (0, 0), the node sizes automatically to fit its content, be it a texture or child nodes.
|
The minimum size of the node's bounding rectangle. If you set it to a value greater than (0, 0), the node's bounding rectangle will always have at least this size, even if its content is smaller. If it's set to (0, 0), the node sizes automatically to fit its content, be it a texture or child nodes.
|
||||||
</member>
|
</member>
|
||||||
<member name="rect_pivot_offset" type="Vector2" setter="set_pivot_offset" getter="get_pivot_offset">
|
<member name="rect_pivot_offset" type="Vector2" setter="set_pivot_offset" getter="get_pivot_offset" default="Vector2( 0, 0 )">
|
||||||
By default, the node's pivot is its top-left corner. When you change its [member rect_scale], it will scale around this pivot. Set this property to [member rect_size] / 2 to center the pivot in the node's rectangle.
|
By default, the node's pivot is its top-left corner. When you change its [member rect_scale], it will scale around this pivot. Set this property to [member rect_size] / 2 to center the pivot in the node's rectangle.
|
||||||
</member>
|
</member>
|
||||||
<member name="rect_position" type="Vector2" setter="_set_position" getter="get_position">
|
<member name="rect_position" type="Vector2" setter="_set_position" getter="get_position" default="Vector2( 0, 0 )">
|
||||||
The node's position, relative to its parent. It corresponds to the rectangle's top-left corner. The property is not affected by [member rect_pivot_offset].
|
The node's position, relative to its parent. It corresponds to the rectangle's top-left corner. The property is not affected by [member rect_pivot_offset].
|
||||||
</member>
|
</member>
|
||||||
<member name="rect_rotation" type="float" setter="set_rotation_degrees" getter="get_rotation_degrees">
|
<member name="rect_rotation" type="float" setter="set_rotation_degrees" getter="get_rotation_degrees" default="0.0">
|
||||||
The node's rotation around its pivot, in degrees. See [member rect_pivot_offset] to change the pivot's position.
|
The node's rotation around its pivot, in degrees. See [member rect_pivot_offset] to change the pivot's position.
|
||||||
</member>
|
</member>
|
||||||
<member name="rect_scale" type="Vector2" setter="set_scale" getter="get_scale">
|
<member name="rect_scale" type="Vector2" setter="set_scale" getter="get_scale" default="Vector2( 1, 1 )">
|
||||||
The node's scale, relative to its [member rect_size]. Change this property to scale the node around its [member rect_pivot_offset].
|
The node's scale, relative to its [member rect_size]. Change this property to scale the node around its [member rect_pivot_offset].
|
||||||
</member>
|
</member>
|
||||||
<member name="rect_size" type="Vector2" setter="_set_size" getter="get_size">
|
<member name="rect_size" type="Vector2" setter="_set_size" getter="get_size" default="Vector2( 0, 0 )">
|
||||||
The size of the node's bounding rectangle, in pixels. [Container] nodes update this property automatically.
|
The size of the node's bounding rectangle, in pixels. [Container] nodes update this property automatically.
|
||||||
</member>
|
</member>
|
||||||
<member name="size_flags_horizontal" type="int" setter="set_h_size_flags" getter="get_h_size_flags">
|
<member name="size_flags_horizontal" type="int" setter="set_h_size_flags" getter="get_h_size_flags" default="1">
|
||||||
Tells the parent [Container] nodes how they should resize and place the node on the X axis. Use one of the [code]SIZE_*[/code] constants to change the flags. See the constants to learn what each does.
|
Tells the parent [Container] nodes how they should resize and place the node on the X axis. Use one of the [code]SIZE_*[/code] constants to change the flags. See the constants to learn what each does.
|
||||||
</member>
|
</member>
|
||||||
<member name="size_flags_stretch_ratio" type="float" setter="set_stretch_ratio" getter="get_stretch_ratio">
|
<member name="size_flags_stretch_ratio" type="float" setter="set_stretch_ratio" getter="get_stretch_ratio" default="1.0">
|
||||||
If the node and at least one of its neighbours uses the [constant SIZE_EXPAND] size flag, the parent [Container] will let it take more or less space depending on this property. If this node has a stretch ratio of 2 and its neighbour a ratio of 1, this node will take two thirds of the available space.
|
If the node and at least one of its neighbours uses the [constant SIZE_EXPAND] size flag, the parent [Container] will let it take more or less space depending on this property. If this node has a stretch ratio of 2 and its neighbour a ratio of 1, this node will take two thirds of the available space.
|
||||||
</member>
|
</member>
|
||||||
<member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags">
|
<member name="size_flags_vertical" type="int" setter="set_v_size_flags" getter="get_v_size_flags" default="1">
|
||||||
Tells the parent [Container] nodes how they should resize and place the node on the Y axis. Use one of the [code]SIZE_*[/code] constants to change the flags. See the constants to learn what each does.
|
Tells the parent [Container] nodes how they should resize and place the node on the Y axis. Use one of the [code]SIZE_*[/code] constants to change the flags. See the constants to learn what each does.
|
||||||
</member>
|
</member>
|
||||||
<member name="theme" type="Theme" setter="set_theme" getter="get_theme">
|
<member name="theme" type="Theme" setter="set_theme" getter="get_theme" default="null">
|
||||||
Changing this property replaces the current [Theme] resource this node and all its [Control] children use.
|
Changing this property replaces the current [Theme] resource this node and all its [Control] children use.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="points" type="PoolVector3Array" setter="set_points" getter="get_points">
|
<member name="points" type="PoolVector3Array" setter="set_points" getter="get_points" default="PoolVector3Array( )">
|
||||||
The list of 3D points forming the convex polygon shape.
|
The list of 3D points forming the convex polygon shape.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="points" type="PoolVector2Array" setter="set_points" getter="get_points">
|
<member name="points" type="PoolVector2Array" setter="set_points" getter="get_points" default="PoolVector2Array( )">
|
||||||
The polygon's list of vertices. Can be in either clockwise or counterclockwise order.
|
The polygon's list of vertices. Can be in either clockwise or counterclockwise order.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -45,13 +45,13 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="flags" type="int" setter="set_flags" getter="get_flags">
|
<member name="flags" type="int" setter="set_flags" getter="get_flags" default="7">
|
||||||
The render flags for the [CubeMap]. See the [code]FLAG_*[/code] constants for details.
|
The render flags for the [CubeMap]. See the [code]FLAG_*[/code] constants for details.
|
||||||
</member>
|
</member>
|
||||||
<member name="lossy_storage_quality" type="float" setter="set_lossy_storage_quality" getter="get_lossy_storage_quality">
|
<member name="lossy_storage_quality" type="float" setter="set_lossy_storage_quality" getter="get_lossy_storage_quality" default="0.7">
|
||||||
The lossy storage quality of the [CubeMap] if the storage mode is set to STORAGE_COMPRESS_LOSSY.
|
The lossy storage quality of the [CubeMap] if the storage mode is set to STORAGE_COMPRESS_LOSSY.
|
||||||
</member>
|
</member>
|
||||||
<member name="storage_mode" type="int" setter="set_storage" getter="get_storage" enum="CubeMap.Storage">
|
<member name="storage_mode" type="int" setter="set_storage" getter="get_storage" enum="CubeMap.Storage" default="0">
|
||||||
The [CubeMap]'s storage mode. See [code]STORAGE_*[/code] constants.
|
The [CubeMap]'s storage mode. See [code]STORAGE_*[/code] constants.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
|
@ -12,17 +12,17 @@
|
||||||
<methods>
|
<methods>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="size" type="Vector3" setter="set_size" getter="get_size">
|
<member name="size" type="Vector3" setter="set_size" getter="get_size" default="Vector3( 2, 2, 2 )">
|
||||||
Size of the cuboid mesh. Defaults to (2, 2, 2).
|
Size of the cuboid mesh.
|
||||||
</member>
|
</member>
|
||||||
<member name="subdivide_depth" type="int" setter="set_subdivide_depth" getter="get_subdivide_depth">
|
<member name="subdivide_depth" type="int" setter="set_subdivide_depth" getter="get_subdivide_depth" default="0">
|
||||||
Number of extra edge loops inserted along the Z axis. Defaults to 0.
|
Number of extra edge loops inserted along the Z axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="subdivide_height" type="int" setter="set_subdivide_height" getter="get_subdivide_height">
|
<member name="subdivide_height" type="int" setter="set_subdivide_height" getter="get_subdivide_height" default="0">
|
||||||
Number of extra edge loops inserted along the Y axis. Defaults to 0.
|
Number of extra edge loops inserted along the Y axis.
|
||||||
</member>
|
</member>
|
||||||
<member name="subdivide_width" type="int" setter="set_subdivide_width" getter="get_subdivide_width">
|
<member name="subdivide_width" type="int" setter="set_subdivide_width" getter="get_subdivide_width" default="0">
|
||||||
Number of extra edge loops inserted along the X axis. Defaults to 0.
|
Number of extra edge loops inserted along the X axis.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<constants>
|
<constants>
|
||||||
|
|
|
@ -194,14 +194,14 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="bake_resolution" type="int" setter="set_bake_resolution" getter="get_bake_resolution">
|
<member name="bake_resolution" type="int" setter="set_bake_resolution" getter="get_bake_resolution" default="100">
|
||||||
The number of points to include in the baked (i.e. cached) curve data.
|
The number of points to include in the baked (i.e. cached) curve data.
|
||||||
</member>
|
</member>
|
||||||
<member name="max_value" type="float" setter="set_max_value" getter="get_max_value">
|
<member name="max_value" type="float" setter="set_max_value" getter="get_max_value" default="1.0">
|
||||||
The maximum value the curve can reach. Default value: [code]1[/code].
|
The maximum value the curve can reach.
|
||||||
</member>
|
</member>
|
||||||
<member name="min_value" type="float" setter="set_min_value" getter="get_min_value">
|
<member name="min_value" type="float" setter="set_min_value" getter="get_min_value" default="0.0">
|
||||||
The minimum value the curve can reach. Default value: [code]0[/code].
|
The minimum value the curve can reach.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
<signals>
|
<signals>
|
||||||
|
|
|
@ -193,7 +193,7 @@
|
||||||
</method>
|
</method>
|
||||||
</methods>
|
</methods>
|
||||||
<members>
|
<members>
|
||||||
<member name="bake_interval" type="float" setter="set_bake_interval" getter="get_bake_interval">
|
<member name="bake_interval" type="float" setter="set_bake_interval" getter="get_bake_interval" default="5.0">
|
||||||
The distance in pixels between two adjacent cached points. Changing it forces the cache to be recomputed the next time the [method get_baked_points] or [method get_baked_length] function is called. The smaller the distance, the more points in the cache and the more memory it will consume, so use with care.
|
The distance in pixels between two adjacent cached points. Changing it forces the cache to be recomputed the next time the [method get_baked_points] or [method get_baked_length] function is called. The smaller the distance, the more points in the cache and the more memory it will consume, so use with care.
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue