index.vwf.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # A-Frame & VWF simple scene
  2. # Copyright 2017 Krestianstvo.org project
  3. ---
  4. extends: http://vwf.example.com/aframe/ascene.vwf
  5. properties:
  6. assets: "assets.json"
  7. children:
  8. fog:
  9. extends: http://vwf.example.com/aframe/aSceneFogComponent.vwf
  10. type: "component"
  11. properties:
  12. fogType: "linear"
  13. fogColor: "#ECECEC"
  14. far: 20
  15. near: 0
  16. groundPlane:
  17. extends: http://vwf.example.com/aframe/aplane.vwf
  18. properties:
  19. height: 50
  20. width: 50
  21. rotation: "-90 0 0"
  22. children:
  23. material:
  24. extends: http://vwf.example.com/aframe/aMaterialComponent.vwf
  25. properties:
  26. wireframe: false
  27. src: "#bg2"
  28. repeat: "10 10"
  29. myLight:
  30. extends: http://vwf.example.com/aframe/alight.vwf
  31. properties:
  32. type: "point"
  33. color: "white"
  34. position: "0 3 0"
  35. rotation: "0 0 0"
  36. sky:
  37. extends: http://vwf.example.com/aframe/asky.vwf
  38. properties:
  39. children:
  40. material:
  41. extends: http://vwf.example.com/aframe/aMaterialComponent.vwf
  42. properties:
  43. color: "#ECECEC"
  44. src: "#sky"
  45. fog: false
  46. side: "back"
  47. spaceText:
  48. extends: http://vwf.example.com/aframe/atext.vwf
  49. properties:
  50. value: "Paint App"
  51. color: "white"
  52. position: "-2 2.5 -2"
  53. box:
  54. extends: http://vwf.example.com/aframe/abox.vwf
  55. properties:
  56. position: "0 0 -3"
  57. rotation: "0 0 0"
  58. depth: 3
  59. height: 0.2
  60. width: 3
  61. children:
  62. material:
  63. extends: http://vwf.example.com/aframe/aMaterialComponent.vwf
  64. properties:
  65. color: "#3c7249"
  66. drawBox:
  67. extends: http://vwf.example.com/aframe/aentity.vwf
  68. properties:
  69. position: "0 0 0"
  70. defaultXRCostume:
  71. extends: http://vwf.example.com/aframe/abox.vwf
  72. properties:
  73. displayName: "defaultXRCostume"
  74. position: "0 0 0"
  75. height: 0.01
  76. width: 0.01
  77. depth: 0.3
  78. penDown: false
  79. penName: "drawNode"
  80. children:
  81. material:
  82. extends: http://vwf.example.com/aframe/aMaterialComponent.vwf
  83. type: "component"
  84. properties:
  85. color: "#6aa171"
  86. pointer:
  87. extends: http://vwf.example.com/aframe/abox.vwf
  88. properties:
  89. position: "0 0 -0.25"
  90. height: 0.05
  91. width: 0.05
  92. depth: 0.05
  93. children:
  94. material:
  95. extends: http://vwf.example.com/aframe/aMaterialComponent.vwf
  96. type: "component"
  97. properties:
  98. color: "green"
  99. methods:
  100. triggerdown:
  101. triggerup:
  102. onMove:
  103. scripts:
  104. - source: "controller.js"