Representation

SubModel

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.

  • 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).

Last updated