avatar.vwf.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "extends": "proxy/aframe/aentity.vwf",
  3. "type": "avatar",
  4. "properties": {
  5. "localUrl": null,
  6. "remoteUrl": null,
  7. "displayName": null,
  8. "sharing": {
  9. "audio": true,
  10. "video": true
  11. }
  12. },
  13. "methods": {
  14. "initialize": {},
  15. "selectMode": {},
  16. "updateAvatar": {},
  17. "showHideAvatar": {
  18. "parameters": [
  19. "bool"
  20. ]
  21. },
  22. "showHideCursor": {
  23. "parameters": [
  24. "bool"
  25. ]
  26. },
  27. "createSimpleAvatar": {},
  28. "resetAvatar": {},
  29. "createAvatarFromGLTF": {
  30. "parameters": [
  31. "modelSrc"
  32. ]
  33. },
  34. "createAvatarBody": {
  35. "parameters": [
  36. "nodeDef",
  37. "modelSrc"
  38. ]
  39. },
  40. "updateYPositionForXR": {
  41. "parameters": [
  42. "height"
  43. ]
  44. },
  45. "followAvatarControl": {
  46. "parameters": [
  47. "position",
  48. "rotation"
  49. ]
  50. },
  51. "updateAvatarRotation": {
  52. "parameters": [
  53. "rotation"
  54. ]
  55. },
  56. "moveHand": {
  57. "parameters": [
  58. "rotation"
  59. ]
  60. },
  61. "moveHead": {
  62. "parameters": [
  63. "rotation"
  64. ]
  65. },
  66. "setSmallVideoHead": {},
  67. "setBigVideoHead": {},
  68. "setVideoTexture": {
  69. "parameters": [
  70. "val"
  71. ]
  72. },
  73. "webrtcTurnOnOff": {
  74. "parameters": [
  75. "val"
  76. ]
  77. },
  78. "webrtcMuteAudio": {
  79. "parameters": [
  80. "val"
  81. ]
  82. },
  83. "webrtcMuteVideo": {
  84. "parameters": [
  85. "val"
  86. ]
  87. },
  88. "setSoundWebRTC": {
  89. "parameters": [
  90. "val"
  91. ]
  92. },
  93. "removeSoundWebRTC": {},
  94. "removeVideoTexture": {},
  95. "setUserAvatar": {
  96. "parameters": [
  97. "val"
  98. ]
  99. },
  100. "findWorldAvatarCostume": {},
  101. "setMyName": {
  102. "parameters": [
  103. "val"
  104. ]
  105. },
  106. "randomizeAvatar": {},
  107. "changeCostume": {
  108. "parameters": [
  109. "val",
  110. "restore"
  111. ]
  112. }
  113. },
  114. "scripts": {
  115. "source": "avatar.js"
  116. }
  117. }