index.vwf.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. {
  2. "extends": "proxy/aframe/ascene.vwf",
  3. "properties":{},
  4. "children": {
  5. "floorTexture": {
  6. "extends": "proxy/aframe/a-asset-image-item.vwf",
  7. "properties": {
  8. "itemID": "bg2",
  9. "itemSrc": "/defaults/assets/checker.jpg"
  10. }
  11. },
  12. "skyTexture": {
  13. "extends": "proxy/aframe/a-asset-image-item.vwf",
  14. "properties": {
  15. "itemID": "sky",
  16. "itemSrc": "/defaults/assets/skyes/sky3.jpg"
  17. }
  18. },
  19. "fog": {
  20. "extends": "proxy/aframe/aSceneFogComponent.vwf",
  21. "type": "component",
  22. "properties": {
  23. "fogType": "linear",
  24. "fogColor": "#ECECEC",
  25. "far": 20,
  26. "near": 0
  27. }
  28. },
  29. "groundPlane": {
  30. "extends": "proxy/aframe/aplane.vwf",
  31. "properties": {
  32. "height": "50",
  33. "width": "50",
  34. "rotation": [
  35. -90,
  36. 0,
  37. 0
  38. ]
  39. },
  40. "children": {
  41. "material": {
  42. "extends": "proxy/aframe/aMaterialComponent.vwf",
  43. "properties": {
  44. "wireframe": false,
  45. "src": "#bg2",
  46. "repeat": "10 10"
  47. }
  48. }
  49. }
  50. },
  51. "myLight": {
  52. "extends": "proxy/aframe/alight.vwf",
  53. "properties": {
  54. "type": "point",
  55. "color": "white",
  56. "position": [
  57. 0,
  58. 3,
  59. 0
  60. ],
  61. "rotation": [
  62. 0,
  63. 0,
  64. 0
  65. ]
  66. }
  67. },
  68. "sky": {
  69. "extends": "proxy/aframe/asky.vwf",
  70. "children": {
  71. "material": {
  72. "extends": "proxy/aframe/aMaterialComponent.vwf",
  73. "properties": {
  74. "color": "#ECECEC",
  75. "src": "#sky",
  76. "fog": false,
  77. "side": "back"
  78. }
  79. }
  80. }
  81. },
  82. "spaceText": {
  83. "extends": "proxy/aframe/atext.vwf",
  84. "properties": {
  85. "value": "Paint App",
  86. "color": "white",
  87. "position": [
  88. -2,
  89. 2.5,
  90. -2
  91. ]
  92. }
  93. },
  94. "box": {
  95. "extends": "proxy/aframe/abox.vwf",
  96. "properties": {
  97. "position": [
  98. 0,
  99. 0,
  100. -3
  101. ],
  102. "rotation": [
  103. 0,
  104. 0,
  105. 0
  106. ],
  107. "depth": "3",
  108. "height": "0.2",
  109. "width": "3"
  110. },
  111. "children": {
  112. "material": {
  113. "extends": "proxy/aframe/aMaterialComponent.vwf",
  114. "properties": {
  115. "color": "#3c7249"
  116. }
  117. }
  118. }
  119. },
  120. "drawBox": {
  121. "extends": "proxy/aframe/aentity.vwf",
  122. "properties": {
  123. "position": [
  124. 0,
  125. 0,
  126. 0
  127. ]
  128. }
  129. },
  130. "defaultXRCostume": {
  131. "extends": "proxy/aframe/abox.vwf",
  132. "properties": {
  133. "displayName": "defaultXRCostume",
  134. "position": [
  135. 0,
  136. 0,
  137. 0
  138. ],
  139. "height": "0.01",
  140. "width": "0.01",
  141. "depth": "0.3",
  142. "penDown": false,
  143. "penName": "drawNode"
  144. },
  145. "methods": {
  146. "triggerdownAction": {},
  147. "triggerupAction": {},
  148. "mousedownAction": {},
  149. "mouseupAction": {},
  150. "onMove": {}
  151. },
  152. "scripts":{
  153. "source": "controller.js"
  154. },
  155. "children": {
  156. "material": {
  157. "extends": "proxy/aframe/aMaterialComponent.vwf",
  158. "type": "component",
  159. "properties": {
  160. "color": "#6aa171"
  161. }
  162. },
  163. "pointer": {
  164. "extends": "proxy/aframe/abox.vwf",
  165. "properties": {
  166. "position": [
  167. 0,
  168. 0,
  169. -0.25
  170. ],
  171. "height": "0.05",
  172. "width": "0.05",
  173. "depth": "0.05"
  174. },
  175. "children": {
  176. "material": {
  177. "extends": "proxy/aframe/aMaterialComponent.vwf",
  178. "type": "component",
  179. "properties": {
  180. "color": "green"
  181. }
  182. }
  183. }
  184. }
  185. }
  186. }
  187. }
  188. }