2019-12-10 06:54:10 +01:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2019-10-20 08:50:32 +02:00
|
|
|
|
2019-12-08 08:50:14 +01:00
|
|
|
[ext_resource path="res://addons/material_maker/preview/preview_3d.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://addons/material_maker/preview/preview_3d_scene.tscn" type="PackedScene" id=2]
|
2019-10-20 08:50:32 +02:00
|
|
|
|
2019-12-08 08:50:14 +01:00
|
|
|
[sub_resource type="World" id=1]
|
2019-10-20 08:50:32 +02:00
|
|
|
|
2019-12-08 08:50:14 +01:00
|
|
|
[node name="Preview3D" type="ViewportContainer"]
|
2019-10-31 20:58:46 +01:00
|
|
|
visible = false
|
2019-12-08 08:50:14 +01:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 32.0
|
|
|
|
margin_right = -4.0
|
|
|
|
margin_bottom = -4.0
|
|
|
|
rect_min_size = Vector2( 200, 200 )
|
|
|
|
mouse_filter = 1
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
stretch = true
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
|
|
|
[node name="MaterialPreview" type="Viewport" parent="."]
|
|
|
|
size = Vector2( 1272, 684 )
|
|
|
|
own_world = true
|
|
|
|
world = SubResource( 1 )
|
|
|
|
handle_input_locally = false
|
|
|
|
msaa = 2
|
|
|
|
render_target_clear_mode = 1
|
|
|
|
render_target_update_mode = 0
|
|
|
|
physics_object_picking = true
|
|
|
|
|
|
|
|
[node name="Preview3d" parent="MaterialPreview" instance=ExtResource( 2 )]
|
|
|
|
[connection signal="gui_input" from="." to="." method="on_gui_input"]
|
|
|
|
[connection signal="resized" from="." to="." method="_on_Preview_resized"]
|