123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- # avatar
- # Copyright 2017 Krestianstvo.org project
- ---
- extends: http://vwf.example.com/aframe/aentity.vwf
- type: "avatar"
- properties:
- localUrl:
- remoteUrl:
- displayName:
- sharing: { audio: true, video: true }
- methods:
- initialize:
- selectMode:
- updateAvatar:
- showHideAvatar:
- parameters:
- - bool
- showHideCursor:
- parameters:
- - bool
- createSimpleAvatar:
- resetAvatar:
- createAvatarFromGLTF:
- parameters:
- - modelSrc
- createAvatarBody:
- parameters:
- - nodeDef
- - modelSrc
- followAvatarControl:
- parameters:
- - position
- - rotation
- setSmallVideoHead:
- setBigVideoHead:
- setVideoTexture:
- parameters:
- - val
- webrtcTurnOnOff:
- parameters:
- - val
- webrtcMuteAudio:
- parameters:
- - val
- webrtcMuteVideo:
- parameters:
- - val
- setSoundWebRTC:
- parameters:
- - val
- removeSoundWebRTC:
- removeVideoTexture:
- setUserAvatar:
- parameters:
- - val
- findWorldAvatarCostume:
- setMyName:
- parameters:
- - val
- randomizeAvatar:
- changeCostume:
- parameters:
- - val
- - restore
- scripts:
- - source: "http://vwf.example.com/aframe/avatar.js"
|