190 lines
4.7 KiB
Text
190 lines
4.7 KiB
Text
[gd_scene load_steps=8 format=2]
|
|
|
|
[ext_resource path="res://scenes/Game/jukebox/gui_3d.gd" type="Script" id=1]
|
|
[ext_resource path="res://scenes/GUI/MusicControls/MusicControls.tscn" type="PackedScene" id=2]
|
|
|
|
[sub_resource type="PlaneMesh" id=1]
|
|
|
|
custom_aabb = AABB( 0, 0, 0, 0, 0, 0 )
|
|
size = Vector2( 2, 2 )
|
|
subdivide_width = 0
|
|
subdivide_depth = 0
|
|
|
|
[sub_resource type="ViewportTexture" id=2]
|
|
|
|
resource_local_to_scene = true
|
|
flags = 0
|
|
viewport_path = NodePath("Viewport")
|
|
_sections_unfolded = [ "Resource" ]
|
|
|
|
[sub_resource type="SpatialMaterial" id=3]
|
|
|
|
resource_local_to_scene = true
|
|
render_priority = 0
|
|
flags_transparent = true
|
|
flags_unshaded = true
|
|
flags_vertex_lighting = false
|
|
flags_no_depth_test = false
|
|
flags_use_point_size = false
|
|
flags_world_triplanar = false
|
|
flags_fixed_size = false
|
|
flags_albedo_tex_force_srgb = true
|
|
vertex_color_use_as_albedo = false
|
|
vertex_color_is_srgb = false
|
|
params_diffuse_mode = 1
|
|
params_specular_mode = 0
|
|
params_blend_mode = 0
|
|
params_cull_mode = 2
|
|
params_depth_draw_mode = 0
|
|
params_line_width = 1.0
|
|
params_point_size = 1.0
|
|
params_billboard_mode = 0
|
|
params_grow = false
|
|
params_use_alpha_scissor = false
|
|
albedo_color = Color( 1, 1, 1, 1 )
|
|
albedo_texture = SubResource( 2 )
|
|
metallic = 0.0
|
|
metallic_specular = 0.5
|
|
metallic_texture_channel = 0
|
|
roughness = 0.0
|
|
roughness_texture_channel = 0
|
|
emission_enabled = true
|
|
emission = Color( 0, 0, 0, 1 )
|
|
emission_energy = 1.0
|
|
emission_operator = 0
|
|
emission_on_uv2 = false
|
|
normal_enabled = false
|
|
rim_enabled = false
|
|
clearcoat_enabled = false
|
|
anisotropy_enabled = false
|
|
ao_enabled = false
|
|
depth_enabled = false
|
|
subsurf_scatter_enabled = false
|
|
transmission_enabled = false
|
|
refraction_enabled = false
|
|
detail_enabled = false
|
|
uv1_scale = Vector3( 1, 1, 1 )
|
|
uv1_offset = Vector3( 0, 0, 0 )
|
|
uv1_triplanar = false
|
|
uv1_triplanar_sharpness = 1.0
|
|
uv2_scale = Vector3( 1, 1, 1 )
|
|
uv2_offset = Vector3( 0, 0, 0 )
|
|
uv2_triplanar = false
|
|
uv2_triplanar_sharpness = 1.0
|
|
proximity_fade_enable = false
|
|
distance_fade_enable = false
|
|
_sections_unfolded = [ "Albedo", "Flags", "Metallic", "Parameters" ]
|
|
|
|
[sub_resource type="GDScript" id=4]
|
|
|
|
script/source = "tool
|
|
extends Object
|
|
func e():
|
|
return 0.01
|
|
"
|
|
|
|
[sub_resource type="BoxShape" id=5]
|
|
|
|
extents = Vector3( 1, 1, 0.01 )
|
|
script = SubResource( 4 )
|
|
|
|
[node name="Gui_in_3D" type="Spatial"]
|
|
|
|
script = ExtResource( 1 )
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="Viewport" type="Viewport" parent="." index="0"]
|
|
|
|
arvr = false
|
|
size = Vector2( 256, 256 )
|
|
own_world = false
|
|
world = null
|
|
transparent_bg = true
|
|
msaa = 0
|
|
hdr = false
|
|
disable_3d = false
|
|
usage = 0
|
|
debug_draw = 0
|
|
render_target_v_flip = true
|
|
render_target_clear_mode = 0
|
|
render_target_update_mode = 2
|
|
audio_listener_enable_2d = false
|
|
audio_listener_enable_3d = false
|
|
physics_object_picking = false
|
|
gui_disable_input = false
|
|
gui_snap_controls_to_pixels = true
|
|
shadow_atlas_size = 0
|
|
shadow_atlas_quad_0 = 2
|
|
shadow_atlas_quad_1 = 2
|
|
shadow_atlas_quad_2 = 3
|
|
shadow_atlas_quad_3 = 4
|
|
_sections_unfolded = [ "Audio Listener", "GUI", "Physics", "Render Target", "Rendering", "Shadow Atlas" ]
|
|
|
|
[node name="GUI" type="Control" parent="Viewport" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_right = 40.0
|
|
margin_bottom = 40.0
|
|
rect_pivot_offset = Vector2( 0, 0 )
|
|
rect_clip_content = false
|
|
mouse_filter = 1
|
|
mouse_default_cursor_shape = 0
|
|
size_flags_horizontal = 1
|
|
size_flags_vertical = 1
|
|
_sections_unfolded = [ "Mouse", "Rect" ]
|
|
|
|
[node name="Music" parent="Viewport/GUI" index="0" instance=ExtResource( 2 )]
|
|
|
|
mouse_default_cursor_shape = 0
|
|
|
|
[node name="Area" type="Area" parent="." index="1"]
|
|
|
|
input_ray_pickable = true
|
|
input_capture_on_drag = true
|
|
space_override = 0
|
|
gravity_point = false
|
|
gravity_distance_scale = 0.0
|
|
gravity_vec = Vector3( 0, -1, 0 )
|
|
gravity = 9.8
|
|
linear_damp = 0.1
|
|
angular_damp = 1.0
|
|
priority = 0.0
|
|
monitoring = true
|
|
monitorable = true
|
|
collision_layer = 1
|
|
collision_mask = 1
|
|
audio_bus_override = false
|
|
audio_bus_name = "Master"
|
|
reverb_bus_enable = false
|
|
reverb_bus_name = "Master"
|
|
reverb_bus_amount = 0.0
|
|
reverb_bus_uniformity = 0.0
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
[node name="Quad" type="MeshInstance" parent="Area" index="0"]
|
|
|
|
transform = Transform( -1, 8.74228e-008, -4.37114e-008, -4.37114e-008, 1.91069e-015, 1, 8.74228e-008, 1, 1.91069e-015, 0, 0, 0 )
|
|
layers = 1
|
|
material_override = null
|
|
cast_shadow = 1
|
|
extra_cull_margin = 0.0
|
|
use_in_baked_light = false
|
|
lod_min_distance = 0.0
|
|
lod_min_hysteresis = 0.0
|
|
lod_max_distance = 0.0
|
|
lod_max_hysteresis = 0.0
|
|
mesh = SubResource( 1 )
|
|
skeleton = NodePath("..")
|
|
material/0 = SubResource( 3 )
|
|
_sections_unfolded = [ "Geometry", "Transform", "material" ]
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="Area" index="1"]
|
|
|
|
shape = SubResource( 5 )
|
|
disabled = false
|
|
_sections_unfolded = [ "Transform" ]
|
|
|
|
|