Part
SubModel
A part is a sub-section of the body parts tree. Any part can have extra modules registered. Variables of this module are described bellow:
Body structure
Side: Side to which this part belongs. It can be none. Extra modules can access this value to infer the side of the body on which they are operating.
Part: Common human-body part (side-independent). It can be useful for searching the parts tree for a particular type of part. It must be set manually.
Parenting
Parts: List of children parts. Children parts will be at the same level (siblings).
Parent: Parent part of current part. Null for
BodyModel.root
.Bones: List of children bones. Children bones will be at different levels (tree).
Root: Original bone in the part. The parent bone of this bone is from another part.
Body: Body of which this part is.
The order of listed bones does not reflect the hierarchy of bones.
Scales
Real Scale: Realistic scale of that part (root bone).
Extra Scale: Extra scale to apply over the real scale (scale offset).
Total Scale: Real scale scaled by extra scale (real scale + offset).
Control
Scale Representations: Should AvatarController update scale of
PartModel.root.point.reprs[...].transformRef
for each of its representations according toPartModel.totalScale
?
Extensibility
Registry: List of controllers (HPTKControllers) of registered extra modules.
Last updated