index.vwf.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "extends": "proxy/aframe/ascene.vwf",
  3. "properties": {
  4. "fog": "type: linear; color: #ECECEC; far: 20; near: 0"
  5. },
  6. "children": {
  7. "assetBG2": {
  8. "extends": "proxy/aframe/a-asset-image-item.vwf",
  9. "properties": {
  10. "itemID": "bg2",
  11. "itemSrc": "/defaults/assets/checker.jpg"
  12. }
  13. },
  14. "myLight": {
  15. "extends": "proxy/aframe/alight.vwf",
  16. "properties": {
  17. "type": "point",
  18. "color": "white",
  19. "position": [
  20. 0,
  21. 10,
  22. 5
  23. ],
  24. "rotation": [
  25. 0,
  26. 0,
  27. 0
  28. ]
  29. }
  30. },
  31. "groundPlane": {
  32. "extends": "proxy/aframe/aplane.vwf",
  33. "properties": {
  34. "height": "50",
  35. "width": "50",
  36. "rotation": [
  37. -90,
  38. 0,
  39. 0
  40. ]
  41. },
  42. "children": {
  43. "material": {
  44. "extends": "proxy/aframe/aMaterialComponent.vwf",
  45. "properties": {
  46. "wireframe": false,
  47. "src": "#bg2",
  48. "repeat": "10 10"
  49. }
  50. }
  51. }
  52. },
  53. "spaceText": {
  54. "extends": "proxy/aframe/atext.vwf",
  55. "properties": {
  56. "value": "Virtual World Framework & VR Controllers",
  57. "color": "#2b5d83",
  58. "position": [
  59. -2,
  60. 2.5,
  61. -3
  62. ]
  63. }
  64. },
  65. "cube": {
  66. "extends": "proxy/aframe/abox.vwf",
  67. "properties": {
  68. "position": [
  69. 0,
  70. 1,
  71. -3
  72. ],
  73. "rotation": [
  74. 0,
  75. 0,
  76. 0
  77. ],
  78. "depth": "1",
  79. "height": "1",
  80. "width": "1",
  81. "class": "gearvrhit"
  82. },
  83. "methods": {
  84. "hitstartEventMethod": {
  85. "body": " this.material.opacity = 0.7\n",
  86. "type": "application/javascript"
  87. },
  88. "hitendEventMethod": {
  89. "body": " this.material.opacity = 1.0\n",
  90. "type": "application/javascript"
  91. }
  92. },
  93. "children": {
  94. "material": {
  95. "extends": "proxy/aframe/aMaterialComponent.vwf",
  96. "properties": {
  97. "color": "#3c7249"
  98. }
  99. },
  100. "aabb-collider-listener": {
  101. "extends": "proxy/aframe/app-aabb-collider-listener-component.vwf",
  102. "type": "component"
  103. }
  104. }
  105. },
  106. "newSky": {
  107. "extends": "proxy/aframe/aentity.vwf",
  108. "children": {
  109. "skyshader": {
  110. "extends": "proxy/aframe/app-skyshader-component.vwf"
  111. }
  112. }
  113. }
  114. }
  115. }