index.vwf.json 4.3 KB

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