avatar.vwf.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. followAvatarControl:
  30. parameters:
  31. - position
  32. - rotation
  33. setSmallVideoHead:
  34. setBigVideoHead:
  35. setVideoTexture:
  36. parameters:
  37. - val
  38. webrtcTurnOnOff:
  39. parameters:
  40. - val
  41. webrtcMuteAudio:
  42. parameters:
  43. - val
  44. webrtcMuteVideo:
  45. parameters:
  46. - val
  47. setSoundWebRTC:
  48. parameters:
  49. - val
  50. removeSoundWebRTC:
  51. removeVideoTexture:
  52. setUserAvatar:
  53. parameters:
  54. - val
  55. findWorldAvatarCostume:
  56. setMyName:
  57. parameters:
  58. - val
  59. randomizeAvatar:
  60. changeCostume:
  61. parameters:
  62. - val
  63. scripts:
  64. - source: "http://vwf.example.com/aframe/avatar.js"