Add a minimap to the GraphEdit
This commit is contained in:
parent
27f1c67155
commit
999ce610a2
8 changed files with 509 additions and 9 deletions
|
|
@ -175,6 +175,15 @@
|
|||
</methods>
|
||||
<members>
|
||||
<member name="focus_mode" type="int" setter="set_focus_mode" getter="get_focus_mode" override="true" enum="Control.FocusMode" default="2" />
|
||||
<member name="minimap_enabled" type="bool" setter="set_minimap_enabled" getter="is_minimap_enabled" default="true">
|
||||
If [code]true[/code], the minimap is visible.
|
||||
</member>
|
||||
<member name="minimap_opacity" type="float" setter="set_minimap_opacity" getter="get_minimap_opacity" default="0.45">
|
||||
The opacity of the minimap rectangle.
|
||||
</member>
|
||||
<member name="minimap_size" type="Vector2" setter="set_minimap_size" getter="get_minimap_size" default="Vector2(240, 160)">
|
||||
The size of the minimap rectangle. The map itself is based on the size of the grid area and is scaled to fit this rectangle.
|
||||
</member>
|
||||
<member name="rect_clip_content" type="bool" setter="set_clip_contents" getter="is_clipping_contents" override="true" default="true" />
|
||||
<member name="right_disconnects" type="bool" setter="set_right_disconnects" getter="is_right_disconnects_enabled" default="false">
|
||||
If [code]true[/code], enables disconnection of existing connections in the GraphEdit by dragging the right end.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue