mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-27 23:17:14 +01:00
37 lines
998 B
Plaintext
37 lines
998 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://material_maker/preview/preview_3d.gd" type="Script" id=1]
|
|
[ext_resource path="res://material_maker/preview/preview_3d_scene.tscn" type="PackedScene" id=2]
|
|
|
|
[sub_resource type="World" id=1]
|
|
|
|
[node name="Preview3D" type="ViewportContainer" groups=[
|
|
"preview",
|
|
]]
|
|
visible = false
|
|
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"]
|