avatar.vwf.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. "updateAvatarBodyRotation":{
  46. "parameters": [
  47. "rotation"
  48. ]
  49. },
  50. "updateAvatarRotation": {
  51. "parameters": [
  52. "rotation"
  53. ]
  54. },
  55. "moveHand": {
  56. "parameters": [
  57. "rotation"
  58. ]
  59. },
  60. "moveHead": {
  61. "parameters": [
  62. "rotation"
  63. ]
  64. },
  65. "setSmallVideoHead": {},
  66. "setBigVideoHead": {},
  67. "setVideoTexture": {
  68. "parameters": [
  69. "val"
  70. ]
  71. },
  72. "webrtcTurnOnOff": {
  73. "parameters": [
  74. "val"
  75. ]
  76. },
  77. "webrtcMuteAudio": {
  78. "parameters": [
  79. "val"
  80. ]
  81. },
  82. "webrtcMuteVideo": {
  83. "parameters": [
  84. "val"
  85. ]
  86. },
  87. "setSoundWebRTC": {
  88. "parameters": [
  89. "val"
  90. ]
  91. },
  92. "removeSoundWebRTC": {},
  93. "removeVideoTexture": {},
  94. "setUserAvatar": {
  95. "parameters": [
  96. "val"
  97. ]
  98. },
  99. "findWorldAvatarCostume": {},
  100. "setMyName": {
  101. "parameters": [
  102. "val"
  103. ]
  104. },
  105. "randomizeAvatar": {},
  106. "changeCostume": {
  107. "parameters": [
  108. "val",
  109. "restore"
  110. ]
  111. }
  112. },
  113. "scripts": {
  114. "source": "avatar.js"
  115. }
  116. }