avatar.vwf.yaml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. createAvatarFromGLTF:
  23. parameters:
  24. - modelSrc
  25. createAvatarBody:
  26. parameters:
  27. - nodeDef
  28. - modelSrc
  29. getRandomColor:
  30. followAvatarControl:
  31. parameters:
  32. - position
  33. - rotation
  34. setSmallVideoHead:
  35. setBigVideoHead:
  36. setVideoTexture:
  37. parameters:
  38. - val
  39. webrtcTurnOnOff:
  40. parameters:
  41. - val
  42. webrtcMuteAudio:
  43. parameters:
  44. - val
  45. webrtcMuteVideo:
  46. parameters:
  47. - val
  48. setSoundWebRTC:
  49. parameters:
  50. - val
  51. removeSoundWebRTC:
  52. removeVideoTexture:
  53. setUserAvatar:
  54. parameters:
  55. - val
  56. scripts:
  57. - source: "http://vwf.example.com/aframe/avatar.js"