avatar.vwf.yaml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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. 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. findWorldAvatarCostume:
  57. setMyName:
  58. parameters:
  59. - val
  60. randomizeAvatar:
  61. changeCostume:
  62. parameters:
  63. - val
  64. - restore
  65. scripts:
  66. - source: "http://vwf.example.com/aframe/avatar.js"