orbit_camera.collection 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. name: "orbit_camera"
  2. scale_along_z: 1
  3. embedded_instances {
  4. id: "crate"
  5. data: "embedded_components {\n"
  6. " id: \"model\"\n"
  7. " type: \"model\"\n"
  8. " data: \"mesh: \\\"/assets/models/kenney_prototype-kit/crate.glb\\\"\\n"
  9. "name: \\\"{{NAME}}\\\"\\n"
  10. "materials {\\n"
  11. " name: \\\"colormap\\\"\\n"
  12. " material: \\\"/assets/materials/unlit.material\\\"\\n"
  13. " textures {\\n"
  14. " sampler: \\\"texture0\\\"\\n"
  15. " texture: \\\"/assets/models/kenney_prototype-kit/Textures/colormap.png\\\"\\n"
  16. " }\\n"
  17. "}\\n"
  18. "\"\n"
  19. "}\n"
  20. ""
  21. position {
  22. y: -0.25
  23. }
  24. }
  25. embedded_instances {
  26. id: "camera"
  27. data: "components {\n"
  28. " id: \"main\"\n"
  29. " component: \"/example/orbit_camera.script\"\n"
  30. "}\n"
  31. "embedded_components {\n"
  32. " id: \"camera\"\n"
  33. " type: \"camera\"\n"
  34. " data: \"aspect_ratio: 1.0\\n"
  35. "fov: 0.7854\\n"
  36. "near_z: 0.1\\n"
  37. "far_z: 1000.0\\n"
  38. "auto_aspect_ratio: 1\\n"
  39. "\"\n"
  40. "}\n"
  41. ""
  42. position {
  43. x: 2.0
  44. y: 2.0
  45. z: 2.0
  46. }
  47. rotation {
  48. x: -0.27781594
  49. y: 0.36497167
  50. z: 0.11507513
  51. w: 0.88111955
  52. }
  53. }