index.vwf.json 2.7 KB

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