[gd_scene load_steps=6 format=2] [ext_resource path="res://addons/voxel-core/assets/controls/cancel.png" type="Texture" id=1] [ext_resource path="res://addons/voxel-core/assets/controls/sub.png" type="Texture" id=2] [ext_resource path="res://addons/voxel-core/assets/controls/add.png" type="Texture" id=3] [ext_resource path="res://addons/voxel-core/assets/controls/duplicate.png" type="Texture" id=4] [ext_resource path="res://addons/voxel-core/controls/voxel_set_viewer/voxel_set_viewer.gd" type="Script" id=5] [node name="VoxelSetViewer" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 script = ExtResource( 5 ) __meta__ = { "_edit_use_anchors_": false } [node name="VBoxContainer" type="VBoxContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 __meta__ = { "_edit_use_anchors_": false } [node name="Search" type="LineEdit" parent="VBoxContainer"] margin_right = 1024.0 margin_bottom = 24.0 size_flags_horizontal = 3 clear_button_enabled = true placeholder_text = "Search by ID or Name..." caret_blink = true caret_blink_speed = 0.5 [node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"] margin_top = 28.0 margin_right = 1024.0 margin_bottom = 600.0 size_flags_horizontal = 3 size_flags_vertical = 3 follow_focus = true [node name="Voxels" type="GridContainer" parent="VBoxContainer/ScrollContainer"] margin_right = 1024.0 margin_bottom = 572.0 size_flags_horizontal = 3 size_flags_vertical = 3 custom_constants/hseparation = 4 columns = 28 [node name="Hints" type="VBoxContainer" parent="VBoxContainer"] visible = false margin_top = 582.0 margin_right = 1024.0 margin_bottom = 600.0 size_flags_horizontal = 3 custom_constants/separation = 0 [node name="HSeparator" type="HSeparator" parent="VBoxContainer/Hints"] margin_right = 1024.0 margin_bottom = 4.0 [node name="Hint" type="Label" parent="VBoxContainer/Hints"] margin_top = 4.0 margin_right = 1024.0 margin_bottom = 18.0 size_flags_horizontal = 3 size_flags_vertical = 7 align = 2 valign = 1 autowrap = true [node name="ContextMenu" type="PopupMenu" parent="."] margin_right = 146.0 margin_bottom = 154.0 items = [ "Add voxel", ExtResource( 3 ), 0, false, false, 0, 0, null, "", false, "Duplicate voxel", ExtResource( 4 ), 0, false, false, 2, 0, null, "", false, "Remove voxel", ExtResource( 2 ), 0, false, false, 2, 0, null, "", false, "", null, 0, false, false, 3, 0, null, "", true, "Deselect", ExtResource( 1 ), 0, false, false, 4, 0, null, "", false, "Duplicate voxels", ExtResource( 4 ), 0, false, false, 5, 0, null, "", false, "Remove voxels", ExtResource( 2 ), 0, false, false, 6, 0, null, "", false ] __meta__ = { "_edit_use_anchors_": false } [connection signal="resized" from="." to="." method="correct"] [connection signal="text_changed" from="VBoxContainer/Search" to="." method="_on_Search_text_changed"] [connection signal="gui_input" from="VBoxContainer/ScrollContainer/Voxels" to="." method="_on_Voxels_gui_input"] [connection signal="id_pressed" from="ContextMenu" to="." method="_on_ContextMenu_id_pressed"]