shared.module
This package holds more than this page lists. See all of its files in its world.
README.md
shared Module
Helpers every tool of the avatar toolbox reaches with require(".shared"):
shared.avatar(v, who)names the avatar asset an agent means: an avatar ref, identity or guid, or an avatar standing in the scene.shared.subject(v, type, who)is what a mapping tool works on (an avatar, a bundle, a rig or a live avatar) with the rig and the avatar type it is read under.shared.mappingReport(subject)states every role with its bone, whether the bone was detected or set by hand, the confidence of its chain, and the report;mappingDiffstates what changed between two of them.shared.readDefinition/shared.writeDefinitionread and write an avatar'savatar.json, checking its parts, parameters, animator and menu before the write.shared.lookRoot,shared.currentLookandshared.wearLookfind the live avatar a look is worn on and wear a document on it.