2
0

instancing.collection 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. name: "main"
  2. scale_along_z: 0
  3. embedded_instances {
  4. id: "camera"
  5. data: "components {\n"
  6. " id: \"orbit_camera\"\n"
  7. " component: \"/main/orbit_camera.script\"\n"
  8. " properties {\n"
  9. " id: \"zoom_speed\"\n"
  10. " value: \"0.1\"\n"
  11. " type: PROPERTY_TYPE_NUMBER\n"
  12. " }\n"
  13. " properties {\n"
  14. " id: \"rotation_speed\"\n"
  15. " value: \"0.1\"\n"
  16. " type: PROPERTY_TYPE_NUMBER\n"
  17. " }\n"
  18. " properties {\n"
  19. " id: \"offset\"\n"
  20. " value: \"0.0, 4.0, 10.0\"\n"
  21. " type: PROPERTY_TYPE_VECTOR3\n"
  22. " }\n"
  23. "}\n"
  24. "embedded_components {\n"
  25. " id: \"camera\"\n"
  26. " type: \"camera\"\n"
  27. " data: \"aspect_ratio: 1.0\\n"
  28. "fov: 0.7854\\n"
  29. "near_z: 0.1\\n"
  30. "far_z: 200.0\\n"
  31. "auto_aspect_ratio: 1\\n"
  32. "\"\n"
  33. "}\n"
  34. ""
  35. }
  36. embedded_instances {
  37. id: "example"
  38. data: "components {\n"
  39. " id: \"instancing\"\n"
  40. " component: \"/main/instancing.script\"\n"
  41. "}\n"
  42. "embedded_components {\n"
  43. " id: \"factory\"\n"
  44. " type: \"factory\"\n"
  45. " data: \"prototype: \\\"/main/man.go\\\"\\n"
  46. "\"\n"
  47. "}\n"
  48. ""
  49. position {
  50. x: 480.0
  51. y: 588.0
  52. }
  53. }
  54. embedded_instances {
  55. id: "controls"
  56. data: "components {\n"
  57. " id: \"controls\"\n"
  58. " component: \"/main/controls.gui\"\n"
  59. "}\n"
  60. ""
  61. }