scene.json 717 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "version": 3,
  3. "camera": {
  4. "center": "0 0 -1",
  5. "eye": "0 0 0",
  6. "up": "0 1 0"
  7. },
  8. "general": {
  9. "orthogonalprojection": {
  10. "width": 1920,
  11. "height": 1080
  12. },
  13. "clearcolor": "0 0 0",
  14. "bloom": false,
  15. "cameraparallax": false
  16. },
  17. "objects": [
  18. {
  19. "id": 1,
  20. "name": "probe",
  21. "image": "models/util/solidlayer.json",
  22. "size": "1920 1080",
  23. "origin": "960 540 0",
  24. "color": "0.2 0.4 0.6",
  25. "visible": true,
  26. "alpha": {
  27. "script": "'use strict';\nexport function cursorMove(event) { console.log('LWE-POS ' + input.cursorScreenPosition.x.toFixed(1) + ' ' + input.cursorScreenPosition.y.toFixed(1)); }\nexport function update(value) { return value; }\n",
  28. "value": 1.0
  29. }
  30. }
  31. ]
  32. }