2
0

test-scene.mojo3d 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. {
  2. "assetsDir":"modules/mojo3d/tests/assets/",
  3. "instances":[{
  4. "ctor":{
  5. "args":[true],
  6. "decl":"mojo3d.Scene.New",
  7. "type":"Void(Bool)"
  8. },
  9. "id":"#0",
  10. "state":{
  11. "AmbientLight":[0.05000000074505806,0.15000000596046448,0.25,0.25],
  12. "ClearColor":[0.20000000298023224,0.60000002384185791,1,1],
  13. "FogColor":[0.20000000298023224,0.60000002384185791,1,1],
  14. "FogFar":200
  15. },
  16. "type":"mojo3d.Scene"
  17. },{
  18. "ctor":{
  19. "args":[null],
  20. "decl":"mojo3d.Camera.New",
  21. "type":"Void(mojo3d.Entity)"
  22. },
  23. "id":"#1",
  24. "state":{
  25. "LocalMatrix":[1,0,0,0,1,0,0,0,1,0,2.5,-5]
  26. },
  27. "type":"mojo3d.Camera"
  28. },{
  29. "ctor":{
  30. "args":["#1"],
  31. "decl":"mojo3d.FlyBehaviour.New",
  32. "type":"Void(mojo3d.Entity)"
  33. },
  34. "id":"#2",
  35. "type":"mojo3d.FlyBehaviour"
  36. },{
  37. "ctor":{
  38. "args":[null],
  39. "decl":"mojo3d.Light.New",
  40. "type":"Void(mojo3d.Entity)"
  41. },
  42. "id":"#3",
  43. "state":{
  44. "CastsShadow":true,
  45. "LocalMatrix":[0.70710676908493042,0,0.70710676908493042,-0.49999997019767761,0.70710676908493042,0.49999997019767761,-0.49999997019767761,-0.70710676908493042,0.49999997019767761,0,0,0]
  46. },
  47. "type":"mojo3d.Light"
  48. },{
  49. "ctor":{
  50. "args":[[0.69999998807907104,1,0,1],1,1],
  51. "decl":"mojo3d.PbrMaterial.New",
  52. "type":"Void(std.graphics.Color,Float,Float)"
  53. },
  54. "id":"#4",
  55. "type":"mojo3d.PbrMaterial"
  56. },{
  57. "ctor":{
  58. "args":[[-100,-1,-100,100,0,100],1,1,1],
  59. "decl":"mojo3d.Mesh.CreateBox",
  60. "type":"mojo3d.Mesh(std.geom.Box<monkey.types.Float>,Int,Int,Int)"
  61. },
  62. "id":"#5",
  63. "type":"mojo3d.Mesh"
  64. },{
  65. "ctor":{
  66. "args":["#5","#4",null],
  67. "decl":"mojo3d.Model.New",
  68. "type":"Void(mojo3d.Mesh,mojo3d.Material,mojo3d.Entity)"
  69. },
  70. "id":"#6",
  71. "type":"mojo3d.Model"
  72. },{
  73. "ctor":{
  74. "args":[[1,0,0,1],0.05000000074505806,0.20000000298023224],
  75. "decl":"mojo3d.PbrMaterial.New",
  76. "type":"Void(std.graphics.Color,Float,Float)"
  77. },
  78. "id":"#7",
  79. "type":"mojo3d.PbrMaterial"
  80. },{
  81. "ctor":{
  82. "args":[2,0.5,48,24],
  83. "decl":"mojo3d.Mesh.CreateTorus",
  84. "type":"mojo3d.Mesh(Float,Float,Int,Int)"
  85. },
  86. "id":"#8",
  87. "type":"mojo3d.Mesh"
  88. },{
  89. "ctor":{
  90. "args":["#8","#7",null],
  91. "decl":"mojo3d.Model.New",
  92. "type":"Void(mojo3d.Mesh,mojo3d.Material,mojo3d.Entity)"
  93. },
  94. "id":"#9",
  95. "state":{
  96. "LocalMatrix":[1,0,0,0,1,0,0,0,1,0,2.5,0]
  97. },
  98. "type":"mojo3d.Model"
  99. },{
  100. "ctor":{
  101. "args":["#9"],
  102. "decl":"mojo3d.RotateBehaviour.New",
  103. "type":"Void(mojo3d.Entity)"
  104. },
  105. "id":"#10",
  106. "state":{
  107. "Speed":[0.10000000149011612,0.20000000298023224,0.30000001192092896]
  108. },
  109. "type":"mojo3d.RotateBehaviour"
  110. }]
  111. }