gui_in_3d.tscn 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. [gd_scene load_steps=6 format=2]
  2. [ext_resource path="res://gui_panel_3d.tscn" type="PackedScene" id=1]
  3. [sub_resource type="Animation" id=1]
  4. length = 6.0
  5. loop = true
  6. tracks/0/type = "value"
  7. tracks/0/path = NodePath("Camera:transform")
  8. tracks/0/interp = 1
  9. tracks/0/loop_wrap = true
  10. tracks/0/imported = false
  11. tracks/0/enabled = true
  12. tracks/0/keys = {
  13. "times": PoolRealArray( 0, 2, 4, 6 ),
  14. "transitions": PoolRealArray( 1, 1, 1, 1 ),
  15. "update": 0,
  16. "values": [ Transform( 0.994592, 0, 0.103856, 0, 1, 0, -0.103856, 0, 0.994592, 0.465682, 0, 1.78523 ), Transform( 0.962984, 0, -0.269557, 0, 1, 0, 0.269557, 0, 0.962984, -0.462237, 0, 2.41934 ), Transform( 0.806599, 0, -0.591098, 0, 1, 0, 0.591098, 0, 0.806599, -1.59502, 0, 2.05358 ), Transform( 0.994592, 0, 0.103856, 0, 1, 0, -0.103856, 0, 0.994592, 0.465682, 0, 1.78523 ) ]
  17. }
  18. [sub_resource type="PlaneMesh" id=2]
  19. [sub_resource type="CubeMesh" id=3]
  20. [sub_resource type="SpatialMaterial" id=4]
  21. albedo_color = Color( 0.722656, 0.791992, 1, 1 )
  22. roughness = 0.0
  23. [node name="GUIin3D" type="Spatial"]
  24. [node name="GUIPanel3D" parent="." instance=ExtResource( 1 )]
  25. [node name="Camera" type="Camera" parent="."]
  26. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0, 0, 3 )
  27. fov = 74.0
  28. near = 0.1
  29. [node name="OmniLight" type="OmniLight" parent="."]
  30. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.38866, 1.2413, 2.72141 )
  31. shadow_enabled = true
  32. omni_range = 10.0
  33. [node name="Camera_Move" type="AnimationPlayer" parent="."]
  34. autoplay = "Move_camera"
  35. playback_speed = 0.25
  36. anims/Move_camera = SubResource( 1 )
  37. [node name="Background" type="Spatial" parent="."]
  38. [node name="Wall" type="MeshInstance" parent="Background"]
  39. transform = Transform( 4, 0, 0, 0, -1.74846e-07, -4, 0, 4, -1.74846e-07, -2.60819, 0.589247, -2.08943 )
  40. mesh = SubResource( 2 )
  41. material/0 = null
  42. [node name="Wall2" type="MeshInstance" parent="Background"]
  43. transform = Transform( 4, 0, 0, 0, -1.74846e-07, -4, 0, 4, -1.74846e-07, 5.08055, 0.589247, -2.08943 )
  44. mesh = SubResource( 2 )
  45. material/0 = null
  46. [node name="Wall3" type="MeshInstance" parent="Background"]
  47. transform = Transform( -1.74846e-07, -4, 0, -1.74846e-07, 7.64274e-15, -4, 4, -1.74846e-07, -1.74846e-07, 9.04446, 0.589247, 1.62058 )
  48. mesh = SubResource( 2 )
  49. material/0 = null
  50. [node name="Floor" type="MeshInstance" parent="Background"]
  51. transform = Transform( 4, 0, 0, 0, 4, 0, 0, 0, 4, -2.60819, -2.68765, 1.46502 )
  52. mesh = SubResource( 2 )
  53. material/0 = null
  54. [node name="Floor2" type="MeshInstance" parent="Background"]
  55. transform = Transform( 4, 0, 0, 0, 4, 0, 0, 0, 4, 5.08055, -2.68765, 1.46502 )
  56. mesh = SubResource( 2 )
  57. material/0 = null
  58. [node name="Cube" type="MeshInstance" parent="Background"]
  59. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4.25901, -0.598608, 0.374871 )
  60. mesh = SubResource( 3 )
  61. material/0 = SubResource( 4 )
  62. [node name="Cube2" type="MeshInstance" parent="Background"]
  63. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.88761, 2.01326, 0.374871 )
  64. mesh = SubResource( 3 )
  65. material/0 = SubResource( 4 )