MeshManipulation/Main.tscn
2020-10-22 21:18:47 -07:00

50 lines
1.8 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Scripts/Main.gd" type="Script" id=1]
[ext_resource path="res://Scripts/Camera.gd" type="Script" id=2]
[sub_resource type="CubeMesh" id=3]
[sub_resource type="SpatialMaterial" id=1]
albedo_color = Color( 0.592157, 0.905882, 0.0862745, 1 )
[sub_resource type="CubeMesh" id=2]
material = SubResource( 1 )
[node name="Main" type="Spatial"]
transform = Transform( 1, 0, 0, 0, 0.99977, 0.021431, 0, -0.021431, 0.99977, 0, 0, 0 )
script = ExtResource( 1 )
show_wireframe = false
show_axes = false
show_face_normals = false
[node name="Meshes" type="Node" parent="."]
[node name="Cube" type="MeshInstance" parent="Meshes"]
transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 0, 10, 0 )
mesh = SubResource( 3 )
material/0 = null
[node name="Floor" type="MeshInstance" parent="Meshes"]
transform = Transform( 6.88346, 0, 0, 0, 0.0447118, 0, 0, 0, 7.16078, 0, 0, 0 )
visible = false
mesh = SubResource( 2 )
material/0 = null
[node name="Lights" type="Node" parent="."]
[node name="DirectionalLight" type="DirectionalLight" parent="Lights"]
transform = Transform( 1, 0, 0, 0, 0.778528, 0.62761, 0, -0.62761, 0.778528, 0, 3.77816, 3.77808 )
[node name="DirectionalLight2" type="DirectionalLight" parent="Lights"]
transform = Transform( 1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, -6, 0 )
[node name="CameraGimbal" type="Spatial" parent="."]
[node name="InnerGimbal" type="Spatial" parent="CameraGimbal"]
transform = Transform( 1, -4.65661e-10, 0, 9.31323e-10, 1, 9.31323e-10, 0, 9.31323e-10, 1, 0, 0, 0 )
[node name="Camera" type="Camera" parent="CameraGimbal/InnerGimbal"]
transform = Transform( 1, -2.3283e-09, 2.98023e-08, 1.86264e-09, 1, -5.58794e-09, -2.98023e-08, 5.58794e-09, 1, -0.855393, 9.95794, 6.09577 )
script = ExtResource( 2 )