index.vwf.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. drawNode:
  67. extends: http://vwf.example.com/aframe/aentity.vwf
  68. properties:
  69. position: "0 0 0"
  70. children:
  71. linepath:
  72. extends: http://vwf.example.com/aframe/linepath.vwf
  73. properties:
  74. color: "#14f7b2"
  75. path: []
  76. width: 0.007
  77. defaultXRCostume:
  78. extends: http://vwf.example.com/aframe/abox.vwf
  79. properties:
  80. displayName: "defaultXRCostume"
  81. position: "0 0 0"
  82. height: 0.01
  83. width: 0.01
  84. depth: 1
  85. penDown: false
  86. children:
  87. material:
  88. extends: http://vwf.example.com/aframe/aMaterialComponent.vwf
  89. type: "component"
  90. properties:
  91. color: "#3c7249"
  92. pointer:
  93. extends: http://vwf.example.com/aframe/abox.vwf
  94. properties:
  95. position: "0 0 -0.7"
  96. height: 0.1
  97. width: 0.1
  98. depth: 0.1
  99. children:
  100. material:
  101. extends: http://vwf.example.com/aframe/aMaterialComponent.vwf
  102. type: "component"
  103. properties:
  104. color: "green"
  105. methods:
  106. triggerdown:
  107. triggerup:
  108. onMove:
  109. scripts:
  110. - source: "controller.js"