avatar.vwf.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # avatar
  2. # Copyright 2017 Krestianstvo.org project
  3. ---
  4. extends: http://vwf.example.com/aframe/aentity.vwf
  5. type: "avatar"
  6. properties:
  7. localUrl:
  8. remoteUrl:
  9. displayName:
  10. sharing: { audio: true, video: true }
  11. methods:
  12. initialize:
  13. selectMode:
  14. updateAvatar:
  15. showHideAvatar:
  16. parameters:
  17. - bool
  18. showHideCursor:
  19. parameters:
  20. - bool
  21. createSimpleAvatar:
  22. resetAvatar:
  23. createAvatarFromGLTF:
  24. parameters:
  25. - modelSrc
  26. createAvatarBody:
  27. parameters:
  28. - nodeDef
  29. - modelSrc
  30. updateYPositionForXR:
  31. parameters:
  32. - height
  33. followAvatarControl:
  34. parameters:
  35. - position
  36. - rotation
  37. updateAvatarRotation:
  38. parameters:
  39. - rotation
  40. setSmallVideoHead:
  41. setBigVideoHead:
  42. setVideoTexture:
  43. parameters:
  44. - val
  45. webrtcTurnOnOff:
  46. parameters:
  47. - val
  48. webrtcMuteAudio:
  49. parameters:
  50. - val
  51. webrtcMuteVideo:
  52. parameters:
  53. - val
  54. setSoundWebRTC:
  55. parameters:
  56. - val
  57. removeSoundWebRTC:
  58. removeVideoTexture:
  59. setUserAvatar:
  60. parameters:
  61. - val
  62. findWorldAvatarCostume:
  63. setMyName:
  64. parameters:
  65. - val
  66. randomizeAvatar:
  67. changeCostume:
  68. parameters:
  69. - val
  70. - restore
  71. scripts:
  72. - source: "http://vwf.example.com/aframe/avatar.js"