skybox.collection 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. name: "skybox"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "camera"
  5. data: "components {\n"
  6. " id: \"orbit_camera\"\n"
  7. " component: \"/example/orbit_camera.script\"\n"
  8. "}\n"
  9. "components {\n"
  10. " id: \"instructions\"\n"
  11. " component: \"/example/instructions.script\"\n"
  12. "}\n"
  13. "embedded_components {\n"
  14. " id: \"camera\"\n"
  15. " type: \"camera\"\n"
  16. " data: \"aspect_ratio: 1.0\\n"
  17. "fov: 0.7854\\n"
  18. "near_z: 0.1\\n"
  19. "far_z: 1000.0\\n"
  20. "auto_aspect_ratio: 1\\n"
  21. "\"\n"
  22. "}\n"
  23. "embedded_components {\n"
  24. " id: \"sprite\"\n"
  25. " type: \"sprite\"\n"
  26. " data: \"default_animation: \\\"larger\\\"\\n"
  27. "material: \\\"/builtins/materials/sprite.material\\\"\\n"
  28. "textures {\\n"
  29. " sampler: \\\"texture_sampler\\\"\\n"
  30. " texture: \\\"/example/example.atlas\\\"\\n"
  31. "}\\n"
  32. "\"\n"
  33. " position {\n"
  34. " z: -10.0\n"
  35. " }\n"
  36. " scale {\n"
  37. " x: 0.01\n"
  38. " y: 0.01\n"
  39. " z: 0.01\n"
  40. " }\n"
  41. "}\n"
  42. ""
  43. }
  44. embedded_instances {
  45. id: "skybox"
  46. data: "embedded_components {\n"
  47. " id: \"model\"\n"
  48. " type: \"model\"\n"
  49. " data: \"mesh: \\\"/builtins/assets/meshes/sphere.dae\\\"\\n"
  50. "materials {\\n"
  51. " name: \\\"default\\\"\\n"
  52. " material: \\\"/example/skybox.material\\\"\\n"
  53. " textures {\\n"
  54. " sampler: \\\"cubemap\\\"\\n"
  55. " texture: \\\"/example/assets/skybox.cubemap\\\"\\n"
  56. " }\\n"
  57. "}\\n"
  58. "\"\n"
  59. "}\n"
  60. ""
  61. scale3 {
  62. x: 20.0
  63. y: 20.0
  64. z: 20.0
  65. }
  66. }