avatar.vwf.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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. "setSmallVideoHead": {},
  57. "setBigVideoHead": {},
  58. "setVideoTexture": {
  59. "parameters": [
  60. "val"
  61. ]
  62. },
  63. "webrtcTurnOnOff": {
  64. "parameters": [
  65. "val"
  66. ]
  67. },
  68. "webrtcMuteAudio": {
  69. "parameters": [
  70. "val"
  71. ]
  72. },
  73. "webrtcMuteVideo": {
  74. "parameters": [
  75. "val"
  76. ]
  77. },
  78. "setSoundWebRTC": {
  79. "parameters": [
  80. "val"
  81. ]
  82. },
  83. "removeSoundWebRTC": {},
  84. "removeVideoTexture": {},
  85. "setUserAvatar": {
  86. "parameters": [
  87. "val"
  88. ]
  89. },
  90. "findWorldAvatarCostume": {},
  91. "setMyName": {
  92. "parameters": [
  93. "val"
  94. ]
  95. },
  96. "randomizeAvatar": {},
  97. "changeCostume": {
  98. "parameters": [
  99. "val",
  100. "restore"
  101. ]
  102. }
  103. },
  104. "scripts": {
  105. "source": "avatar.js"
  106. }
  107. }