123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- {
- "extends": "proxy/aframe/aentity.vwf",
- "type": "avatar",
- "properties": {
- "localUrl": null,
- "remoteUrl": null,
- "displayName": null,
- "sharing": {
- "audio": true,
- "video": true
- }
- },
- "methods": {
- "initialize": {},
- "selectMode": {},
- "updateAvatar": {},
- "showHideAvatar": {
- "parameters": [
- "bool"
- ]
- },
- "showHideCursor": {
- "parameters": [
- "bool"
- ]
- },
- "createSimpleAvatar": {},
- "resetAvatar": {},
- "createAvatarFromGLTF": {
- "parameters": [
- "modelSrc"
- ]
- },
- "createAvatarBody": {
- "parameters": [
- "nodeDef",
- "modelSrc"
- ]
- },
- "updateYPositionForXR": {
- "parameters": [
- "height"
- ]
- },
- "followAvatarControl": {
- "parameters": [
- "position",
- "rotation"
- ]
- },
- "updateAvatarRotation": {
- "parameters": [
- "rotation"
- ]
- },
- "moveHand": {
- "parameters": [
- "rotation"
- ]
- },
- "moveHead": {
- "parameters": [
- "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": "avatar.js"
- }
- }
|