> For the complete documentation index, see [llms.txt](https://jorge-jgnz94.gitbook.io/hptk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jorge-jgnz94.gitbook.io/hptk/master/modules/avatar/reprmodel.md).

# Representation

![](https://2698598769-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MYpeL-Cll-FXMj9b3XC%2F-MZg3Tq6HxifYzmKZHbZ%2F-MZgBHWNwa60grw3EB_W%2Freprmodel.PNG?alt=media\&token=53f18598-c77a-4ef2-a7ca-bc4ce947c7d7)

## SubModel <a href="#model" id="model"></a>

Representations are the **terminal element of the data model** held by Avatar module.  **components of a bone** and they **contain one or more representations**. Representations are stored in a dictionary. Variables of this module are described bellow:

#### References

* **Transform Ref:** Reference to the actual Transform of the representation. If null, it will be `ReprModel.transform`.&#x20;
* **Mesh Renderer:** Optional reference to a Mesh Renderer.
* **Skinned Mesh Renderer:** Optional reference to a Skinned Mesh Renderer.
* **Line Renderer:** Optional reference to a Line Renderer.
* **Original Tsf Ref:** If Transform Ref is an offset that corrects the rotation of an original armature, this reference contains the original Transform of that armature. This value is automatically set when generating the ReprModels of rotation-corrected bone points using both RotationWizard and ReprWizard
* **Key:** String that is used as key in the dictionary of its PointModel.

#### Parenting

* **Point:** Point of which this representation is.

#### Control

* **Relative To Parent Bone:** Should `ReprModel.localPosition` and `ReprModel.localRotation` consider parent bone to calculate its values?

#### Properties

* **Local Position:** `ReprModel.transformRef.localPosition` or position of `ReprModel.transformRef` relative to `ReprModel.point.bone.parent.point.transformRef`.
* **Local Rotation:** `ReprModel.transformRef.localRotation` or rotation of `ReprModel.transformRef` relative to `ReprModel.point.bone.parent.point.transformRef`.
* **Local Rot Z:** Local rotation of Z axis in the range (-180, 180).
