mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 15:39:49 +00:00
790 lines
23 KiB
Plaintext
790 lines
23 KiB
Plaintext
[gd_scene load_steps=10 format=3 uid="uid://cg7d36746on67"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ctfgfelg0sho8" path="res://src/Tools/BaseTool.tscn" id="1"]
|
|
[ext_resource type="Script" path="res://src/Tools/3DShapeEdit.gd" id="2"]
|
|
[ext_resource type="PackedScene" path="res://src/UI/Nodes/ValueSliderV2.tscn" id="3"]
|
|
[ext_resource type="PackedScene" uid="uid://yjhp0ssng2mp" path="res://src/UI/Nodes/ValueSlider.tscn" id="4"]
|
|
[ext_resource type="Script" path="res://src/UI/Nodes/ValueSlider.gd" id="5"]
|
|
[ext_resource type="Script" path="res://src/UI/Nodes/CollapsibleContainer.gd" id="6"]
|
|
[ext_resource type="PackedScene" path="res://src/UI/Nodes/ValueSliderV3.tscn" id="7"]
|
|
|
|
[sub_resource type="InputEventAction" id="InputEventAction_8sqgw"]
|
|
action = &"delete"
|
|
|
|
[sub_resource type="Shortcut" id="34"]
|
|
events = [SubResource("InputEventAction_8sqgw")]
|
|
|
|
[node name="3DShapeEdit" instance=ExtResource("1")]
|
|
script = ExtResource("2")
|
|
|
|
[node name="HandleObjects" type="GridContainer" parent="." index="2"]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="Label" type="Label" parent="HandleObjects" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Selected object:"
|
|
|
|
[node name="ObjectOptionButton" type="OptionButton" parent="HandleObjects" index="1"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 2
|
|
item_count = 1
|
|
selected = 0
|
|
popup/item_0/text = "None"
|
|
popup/item_0/id = 0
|
|
|
|
[node name="NewObjectMenuButton" type="MenuButton" parent="HandleObjects" index="2"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
text = "Add new object"
|
|
|
|
[node name="RemoveObject" type="Button" parent="HandleObjects" index="3"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 2
|
|
disabled = true
|
|
shortcut = SubResource("34")
|
|
text = "Remove object"
|
|
|
|
[node name="CelOptions" type="VBoxContainer" parent="." index="3"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="CameraOptions" type="VBoxContainer" parent="CelOptions" index="0"]
|
|
layout_mode = 2
|
|
theme_type_variation = &"CollapsibleContainer"
|
|
script = ExtResource("6")
|
|
text = "Camera"
|
|
visible_content = true
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="CelOptions/CameraOptions" index="1"]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="ProjectionLabel" type="Label" parent="CelOptions/CameraOptions/GridContainer" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Projection:"
|
|
|
|
[node name="ProjectionOptionButton" type="OptionButton" parent="CelOptions/CameraOptions/GridContainer" index="1"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 2
|
|
item_count = 3
|
|
selected = 0
|
|
popup/item_0/text = "Perspective"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Orthogonal"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "Frustum"
|
|
popup/item_2/id = 2
|
|
|
|
[node name="RotationLabel" type="Label" parent="CelOptions/CameraOptions/GridContainer" index="2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 0
|
|
text = "Rotation:"
|
|
|
|
[node name="CameraRotation" parent="CelOptions/CameraOptions/GridContainer" index="3" instance=ExtResource("7")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
min_value = Vector3(-180, -180, -180)
|
|
max_value = Vector3(180, 180, 180)
|
|
step = 0.1
|
|
suffix_x = "°"
|
|
suffix_y = "°"
|
|
suffix_z = "°"
|
|
|
|
[node name="CameraFOVLabel" type="Label" parent="CelOptions/CameraOptions/GridContainer" index="4"]
|
|
layout_mode = 2
|
|
text = "FOV:"
|
|
|
|
[node name="CameraFOV" type="TextureProgressBar" parent="CelOptions/CameraOptions/GridContainer" index="5"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
min_value = 1.0
|
|
max_value = 179.0
|
|
value = 70.0
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
suffix = "°"
|
|
|
|
[node name="CameraSizeLabel" type="Label" parent="CelOptions/CameraOptions/GridContainer" index="6"]
|
|
visible = false
|
|
layout_mode = 2
|
|
text = "Size:"
|
|
|
|
[node name="CameraSize" type="TextureProgressBar" parent="CelOptions/CameraOptions/GridContainer" index="7"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
min_value = 0.001
|
|
max_value = 32.0
|
|
step = 0.001
|
|
value = 1.0
|
|
allow_greater = true
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="EnvironmentOptions" type="VBoxContainer" parent="CelOptions" index="1"]
|
|
layout_mode = 2
|
|
theme_type_variation = &"CollapsibleContainer"
|
|
script = ExtResource("6")
|
|
text = "Environment"
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="CelOptions/EnvironmentOptions" index="1"]
|
|
visible = false
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="AmbientColorLabel" type="Label" parent="CelOptions/EnvironmentOptions/GridContainer" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Ambient color:"
|
|
|
|
[node name="AmbientColorPickerButton" type="ColorPickerButton" parent="CelOptions/EnvironmentOptions/GridContainer" index="1"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
edit_alpha = false
|
|
|
|
[node name="AmbientEnergyLabel" type="Label" parent="CelOptions/EnvironmentOptions/GridContainer" index="2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Ambient color energy:"
|
|
|
|
[node name="AmbientEnergy" parent="CelOptions/EnvironmentOptions/GridContainer" index="3" instance=ExtResource("4")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
max_value = 16.0
|
|
step = 0.01
|
|
value = 1.0
|
|
allow_greater = true
|
|
|
|
[node name="ObjectOptions" type="VBoxContainer" parent="." index="4"]
|
|
unique_name_in_owner = true
|
|
visible = false
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="GlobalOptions" type="GridContainer" parent="ObjectOptions" index="0"]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="VisibleLabel" type="Label" parent="ObjectOptions/GlobalOptions" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Visible:"
|
|
|
|
[node name="VisibleCheckBox" type="CheckBox" parent="ObjectOptions/GlobalOptions" index="1"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 2
|
|
text = "On"
|
|
|
|
[node name="TransformOptions" type="VBoxContainer" parent="ObjectOptions" index="1"]
|
|
layout_mode = 2
|
|
theme_type_variation = &"CollapsibleContainer"
|
|
script = ExtResource("6")
|
|
text = "Transform"
|
|
visible_content = true
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="ObjectOptions/TransformOptions" index="1"]
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="PositionLabel" type="Label" parent="ObjectOptions/TransformOptions/GridContainer" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
text = "Position:"
|
|
|
|
[node name="ObjectPosition" parent="ObjectOptions/TransformOptions/GridContainer" index="1" instance=ExtResource("7")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
min_value = Vector3(-20, -20, -20)
|
|
max_value = Vector3(20, 20, 20)
|
|
step = 0.01
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
suffix_x = "m"
|
|
suffix_y = "m"
|
|
suffix_z = "m"
|
|
|
|
[node name="RotationLabel" type="Label" parent="ObjectOptions/TransformOptions/GridContainer" index="2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
text = "Rotation:"
|
|
|
|
[node name="ObjectRotation" parent="ObjectOptions/TransformOptions/GridContainer" index="3" instance=ExtResource("7")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
min_value = Vector3(-180, -180, -180)
|
|
max_value = Vector3(180, 180, 180)
|
|
step = 0.1
|
|
suffix_x = "°"
|
|
suffix_y = "°"
|
|
suffix_z = "°"
|
|
|
|
[node name="ScaleLabel" type="Label" parent="ObjectOptions/TransformOptions/GridContainer" index="4"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
text = "Scale:"
|
|
|
|
[node name="ObjectScale" parent="ObjectOptions/TransformOptions/GridContainer" index="5" instance=ExtResource("7")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
value = Vector3(100, 100, 100)
|
|
step = 0.01
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
show_ratio = true
|
|
suffix_x = "%"
|
|
suffix_y = "%"
|
|
suffix_z = "%"
|
|
|
|
[node name="MeshOptions" type="VBoxContainer" parent="ObjectOptions" index="2"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_type_variation = &"CollapsibleContainer"
|
|
script = ExtResource("6")
|
|
text = "Mesh"
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="ObjectOptions/MeshOptions" index="1"]
|
|
visible = false
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="MeshSizeLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Size:"
|
|
clip_text = true
|
|
|
|
[node name="MeshSize" parent="ObjectOptions/MeshOptions/GridContainer" index="1" instance=ExtResource("7")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
max_value = Vector3(10, 10, 10)
|
|
step = 0.01
|
|
allow_greater = true
|
|
show_ratio = true
|
|
|
|
[node name="MeshSizeLabel2" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Size:"
|
|
clip_text = true
|
|
|
|
[node name="MeshSizeV2" parent="ObjectOptions/MeshOptions/GridContainer" index="3" instance=ExtResource("3")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
max_value = Vector2(10, 10)
|
|
allow_greater = true
|
|
show_ratio = true
|
|
snap_step = 0.01
|
|
|
|
[node name="MeshLeftToRightLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="4"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Left to right:"
|
|
clip_text = true
|
|
|
|
[node name="MeshLeftToRight" type="TextureProgressBar" parent="ObjectOptions/MeshOptions/GridContainer" index="5"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
min_value = -2.0
|
|
max_value = 2.0
|
|
step = 0.1
|
|
value = 0.5
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="MeshRadiusLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="6"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Radius:"
|
|
clip_text = true
|
|
|
|
[node name="MeshRadius" type="TextureProgressBar" parent="ObjectOptions/MeshOptions/GridContainer" index="7"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
min_value = 0.001
|
|
max_value = 10.0
|
|
step = 0.01
|
|
value = 1.001
|
|
allow_greater = true
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="MeshHeightLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="8"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Height:"
|
|
clip_text = true
|
|
|
|
[node name="MeshHeight" type="TextureProgressBar" parent="ObjectOptions/MeshOptions/GridContainer" index="9"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
min_value = 0.001
|
|
max_value = 10.0
|
|
step = 0.01
|
|
value = 2.001
|
|
allow_greater = true
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="MeshRadialSegmentsLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="10"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Radial segments:"
|
|
clip_text = true
|
|
|
|
[node name="MeshRadialSegments" type="TextureProgressBar" parent="ObjectOptions/MeshOptions/GridContainer" index="11"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
min_value = 4.0
|
|
max_value = 640.0
|
|
value = 64.0
|
|
allow_greater = true
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="MeshRingsLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="12"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Rings:"
|
|
clip_text = true
|
|
|
|
[node name="MeshRings" type="TextureProgressBar" parent="ObjectOptions/MeshOptions/GridContainer" index="13"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
min_value = 1.0
|
|
max_value = 320.0
|
|
value = 32.0
|
|
allow_greater = true
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="MeshIsHemisphereLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="14"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Is hemisphere:"
|
|
clip_text = true
|
|
|
|
[node name="MeshIsHemisphere" type="CheckBox" parent="ObjectOptions/MeshOptions/GridContainer" index="15"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 2
|
|
text = "On"
|
|
|
|
[node name="MeshTopRadiusLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="16"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Top radius:"
|
|
clip_text = true
|
|
|
|
[node name="MeshTopRadius" type="TextureProgressBar" parent="ObjectOptions/MeshOptions/GridContainer" index="17"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
max_value = 10.0
|
|
step = 0.01
|
|
value = 1.0
|
|
allow_greater = true
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="MeshBottomRadiusLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="18"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Bottom radius:"
|
|
clip_text = true
|
|
|
|
[node name="MeshBottomRadius" type="TextureProgressBar" parent="ObjectOptions/MeshOptions/GridContainer" index="19"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
max_value = 10.0
|
|
step = 0.01
|
|
value = 1.0
|
|
allow_greater = true
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="MeshTextLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="20"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Text:"
|
|
clip_text = true
|
|
|
|
[node name="MeshText" type="TextEdit" parent="ObjectOptions/MeshOptions/GridContainer" index="21"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(150, 50)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="MeshPixelSizeLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="22"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Pixel size:"
|
|
clip_text = true
|
|
|
|
[node name="MeshPixelSize" type="TextureProgressBar" parent="ObjectOptions/MeshOptions/GridContainer" index="23"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
min_value = 0.001
|
|
max_value = 10.0
|
|
step = 0.001
|
|
value = 0.01
|
|
allow_greater = true
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
snap_step = 0.01
|
|
|
|
[node name="MeshFontSizeLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="24"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Font size:"
|
|
clip_text = true
|
|
|
|
[node name="MeshFontSize" type="TextureProgressBar" parent="ObjectOptions/MeshOptions/GridContainer" index="25"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
min_value = 1.0
|
|
max_value = 10.0
|
|
value = 1.0
|
|
allow_greater = true
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="MeshOffsetLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="26"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Offset:"
|
|
clip_text = true
|
|
|
|
[node name="MeshOffsetV2" parent="ObjectOptions/MeshOptions/GridContainer" index="27" instance=ExtResource("3")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
max_value = Vector2(10, 10)
|
|
allow_greater = true
|
|
allow_lesser = true
|
|
show_ratio = true
|
|
snap_step = 0.01
|
|
|
|
[node name="MeshCurveStepLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="28"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Curve step:"
|
|
clip_text = true
|
|
|
|
[node name="MeshCurveStep" type="TextureProgressBar" parent="ObjectOptions/MeshOptions/GridContainer" index="29"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
min_value = 0.1
|
|
max_value = 10.0
|
|
step = 0.1
|
|
value = 0.5
|
|
allow_greater = true
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="MeshHorizontalAlignmentLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="30"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Horizontal alignment:"
|
|
clip_text = true
|
|
|
|
[node name="MeshHorizontalAlignment" type="OptionButton" parent="ObjectOptions/MeshOptions/GridContainer" index="31"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 2
|
|
item_count = 3
|
|
selected = 0
|
|
popup/item_0/text = "Left"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Center"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "Right"
|
|
popup/item_2/id = 2
|
|
|
|
[node name="MeshVerticalAlignmentLabel" type="Label" parent="ObjectOptions/MeshOptions/GridContainer" index="32"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Vertical alignment:"
|
|
clip_text = true
|
|
|
|
[node name="MeshVerticalAlignment" type="OptionButton" parent="ObjectOptions/MeshOptions/GridContainer" index="33"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 2
|
|
item_count = 3
|
|
selected = 0
|
|
popup/item_0/text = "Top"
|
|
popup/item_0/id = 0
|
|
popup/item_1/text = "Center"
|
|
popup/item_1/id = 1
|
|
popup/item_2/text = "Bottom"
|
|
popup/item_2/id = 2
|
|
|
|
[node name="LightOptions" type="VBoxContainer" parent="ObjectOptions" index="3"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
theme_type_variation = &"CollapsibleContainer"
|
|
script = ExtResource("6")
|
|
text = "Light"
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="ObjectOptions/LightOptions" index="1"]
|
|
visible = false
|
|
layout_mode = 2
|
|
columns = 2
|
|
|
|
[node name="LightColorLabel" type="Label" parent="ObjectOptions/LightOptions/GridContainer" index="0"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Color:"
|
|
|
|
[node name="LightColor" type="ColorPickerButton" parent="ObjectOptions/LightOptions/GridContainer" index="1"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
color = Color(1, 1, 1, 1)
|
|
edit_alpha = false
|
|
|
|
[node name="LightEnergyLabel" type="Label" parent="ObjectOptions/LightOptions/GridContainer" index="2"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Energy:"
|
|
|
|
[node name="LightEnergy" parent="ObjectOptions/LightOptions/GridContainer" index="3" instance=ExtResource("4")]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
max_value = 16.0
|
|
step = 0.01
|
|
value = 1.0
|
|
allow_greater = true
|
|
|
|
[node name="LightNegativeLabel" type="Label" parent="ObjectOptions/LightOptions/GridContainer" index="4"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Negative:"
|
|
|
|
[node name="LightNegative" type="CheckBox" parent="ObjectOptions/LightOptions/GridContainer" index="5"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 2
|
|
text = "On"
|
|
|
|
[node name="ShadowEnabledLabel" type="Label" parent="ObjectOptions/LightOptions/GridContainer" index="6"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Shadow:"
|
|
|
|
[node name="ShadowEnabled" type="CheckBox" parent="ObjectOptions/LightOptions/GridContainer" index="7"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_default_cursor_shape = 2
|
|
text = "On"
|
|
|
|
[node name="OmniRangeLabel" type="Label" parent="ObjectOptions/LightOptions/GridContainer" index="8"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Range:"
|
|
|
|
[node name="OmniRange" type="TextureProgressBar" parent="ObjectOptions/LightOptions/GridContainer" index="9"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
max_value = 4096.0
|
|
step = 0.01
|
|
value = 5.0
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="SpotRangeLabel" type="Label" parent="ObjectOptions/LightOptions/GridContainer" index="10"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Range:"
|
|
|
|
[node name="SpotRange" type="TextureProgressBar" parent="ObjectOptions/LightOptions/GridContainer" index="11"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
max_value = 4096.0
|
|
step = 0.01
|
|
value = 5.0
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="SpotAngleLabel" type="Label" parent="ObjectOptions/LightOptions/GridContainer" index="12"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
text = "Angle:"
|
|
|
|
[node name="SpotAngle" type="TextureProgressBar" parent="ObjectOptions/LightOptions/GridContainer" index="13"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
focus_mode = 2
|
|
mouse_default_cursor_shape = 2
|
|
theme_type_variation = &"ValueSlider"
|
|
max_value = 180.0
|
|
step = 0.01
|
|
value = 45.0
|
|
nine_patch_stretch = true
|
|
stretch_margin_left = 3
|
|
stretch_margin_top = 3
|
|
stretch_margin_right = 3
|
|
stretch_margin_bottom = 3
|
|
script = ExtResource("5")
|
|
|
|
[node name="UndoRedoTimer" type="Timer" parent="." index="5"]
|
|
wait_time = 0.2
|
|
one_shot = true
|
|
|
|
[node name="LoadModelDialog" type="FileDialog" parent="." index="6"]
|
|
mode = 1
|
|
title = "Open File(s)"
|
|
size = Vector2i(558, 300)
|
|
ok_button_text = "Open"
|
|
file_mode = 1
|
|
access = 2
|
|
filters = PackedStringArray("*.obj")
|
|
show_hidden_files = true
|
|
|
|
[connection signal="item_selected" from="HandleObjects/ObjectOptionButton" to="." method="_on_ObjectOptionButton_item_selected"]
|
|
[connection signal="pressed" from="HandleObjects/RemoveObject" to="." method="_on_RemoveObject_pressed"]
|
|
[connection signal="timeout" from="UndoRedoTimer" to="." method="_on_UndoRedoTimer_timeout"]
|
|
[connection signal="files_selected" from="LoadModelDialog" to="." method="_on_LoadModelDialog_files_selected"]
|
|
[connection signal="visibility_changed" from="LoadModelDialog" to="." method="_on_load_model_dialog_visibility_changed"]
|