Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit6c08267298

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; mappingDiff states what changed between two of them.
  • shared.readDefinition / shared.writeDefinition read and write an avatar's avatar.json, checking its parts, parameters, animator and menu before the write.
  • shared.lookRoot, shared.currentLook and shared.wearLook find the live avatar a look is worn on and wear a document on it.