2
0

screenspace.collection 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. name: "screenspace"
  2. scale_along_z: 1
  3. embedded_instances {
  4. id: "camera"
  5. data: "components {\n"
  6. " id: \"main\"\n"
  7. " component: \"/example/screenspace.script\"\n"
  8. "}\n"
  9. "components {\n"
  10. " id: \"orbit_camera\"\n"
  11. " component: \"/example/orbit_camera.script\"\n"
  12. " properties {\n"
  13. " id: \"offset\"\n"
  14. " value: \"0.0, 0.25, 0.0\"\n"
  15. " type: PROPERTY_TYPE_VECTOR3\n"
  16. " }\n"
  17. "}\n"
  18. "embedded_components {\n"
  19. " id: \"camera\"\n"
  20. " type: \"camera\"\n"
  21. " data: \"aspect_ratio: 1.0\\n"
  22. "fov: 0.7854\\n"
  23. "near_z: 0.1\\n"
  24. "far_z: 1000.0\\n"
  25. "auto_aspect_ratio: 1\\n"
  26. "\"\n"
  27. "}\n"
  28. ""
  29. rotation {
  30. x: -0.25881904
  31. w: 0.9659258
  32. }
  33. }
  34. embedded_instances {
  35. id: "root"
  36. children: "crate"
  37. children: "crate_selected"
  38. data: ""
  39. }
  40. embedded_instances {
  41. id: "crate"
  42. data: "embedded_components {\n"
  43. " id: \"model\"\n"
  44. " type: \"model\"\n"
  45. " data: \"mesh: \\\"/assets/models/kenney_prototype-kit/crate-color.glb\\\"\\n"
  46. "name: \\\"{{NAME}}\\\"\\n"
  47. "materials {\\n"
  48. " name: \\\"colormap\\\"\\n"
  49. " material: \\\"/example/screenspace.material\\\"\\n"
  50. " textures {\\n"
  51. " sampler: \\\"texture0\\\"\\n"
  52. " texture: \\\"/assets/models/kenney_prototype-kit/Textures/colormap.png\\\"\\n"
  53. " }\\n"
  54. " textures {\\n"
  55. " sampler: \\\"texture_pattern\\\"\\n"
  56. " texture: \\\"/assets/images/pattern_circle.png\\\"\\n"
  57. " }\\n"
  58. "}\\n"
  59. "\"\n"
  60. "}\n"
  61. ""
  62. position {
  63. x: 0.5
  64. }
  65. rotation {
  66. y: 0.6087614
  67. w: 0.7933533
  68. }
  69. }
  70. embedded_instances {
  71. id: "crate_selected"
  72. data: "embedded_components {\n"
  73. " id: \"model\"\n"
  74. " type: \"model\"\n"
  75. " data: \"mesh: \\\"/assets/models/kenney_prototype-kit/crate-color.glb\\\"\\n"
  76. "name: \\\"{{NAME}}\\\"\\n"
  77. "materials {\\n"
  78. " name: \\\"colormap\\\"\\n"
  79. " material: \\\"/example/screenspace.material\\\"\\n"
  80. " textures {\\n"
  81. " sampler: \\\"texture0\\\"\\n"
  82. " texture: \\\"/assets/models/kenney_prototype-kit/Textures/colormap.png\\\"\\n"
  83. " }\\n"
  84. " textures {\\n"
  85. " sampler: \\\"texture_pattern\\\"\\n"
  86. " texture: \\\"/assets/images/pattern_circle.png\\\"\\n"
  87. " }\\n"
  88. "}\\n"
  89. "\"\n"
  90. "}\n"
  91. ""
  92. position {
  93. x: -0.5
  94. }
  95. rotation {
  96. y: 0.6087614
  97. w: 0.7933533
  98. }
  99. }