GrowerEffect
Inherits: Effect
Grow the given target's custom minimum size to the size of the given content
Description
Optionally an inside panel and separator can be specified to make them visible when the parent fully grows.
Properties
| Type | Name | Default |
|---|---|---|
| Control | target | get_parent() |
| Control | content_container | |
| Control | inside_panel | |
| Control | separator | |
| float | grow_speed | 0.2 |
| Tween | tween | |
| String | shrink_signal |
Methods
| Returns | Signature |
|---|---|
| void | grow() |
| void | shrink() |
Property Descriptions
target
Control target = get_parent()
The target node to grow. This will animate the minimum custom size of this node to be the size of the content container.
content_container
Control content_container
Content that the target node will grow to match the size.
inside_panel
Control inside_panel
Optional inside panel to toggle visibility after growing.
separator
Control separator
Optional separator to toggle visibility after growing.
grow_speed
float grow_speed = 0.2
The speed of the grow animation in seconds.
tween
Tween tween
Note
There is currently no description for this property. Please help us by contributing one!
shrink_signal
String shrink_signal
Note
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
grow()
void grow()
Note
There is currently no description for this method. Please help us by contributing one!
shrink()
void shrink()
Note
There is currently no description for this method. Please help us by contributing one!