valuesReference | EzDimStarter | Global parameters reference |
isIndividual | bool | Allow dimension to have local attributes |
isDynamic | bool | Make dimension dynamic |
lineThickness | float | Thickness of the line |
arrowHeight | float | Arrow prefab's scale |
textSize | float | TextMesh font size |
NormalOffset | float | Offset dimension along normal of first hitPoint |
textTowardsCameraOffset | float | Offset dimension towards camera to avoid masking or intersection with other objects in the scene |
textOffset | float | Offset number's textMesh to its local Y axis |
numberColor | Color | Color of number's textMesh |
mainColor | Color | Color of line material |
arrowColor | Color | Color of arrow material |
hoveredTint | Color | Color of hovered dimensions |
selectedTint | Color | Color of selected dimensions |
hoveredOnSelectedTint | Color | Color of selected dimension when hovered |
mainLineMat | Material | Material of line |
arrowMat | Material | Material of arrows |
arrowPrefab | GameObject | Prefab containing the arrow object |
cameraTransform | Transform | Transform of camera |
rendererCamera | Camera | Camera component of our renderer camera |
mainParent | GameObject | Dimension main parent |
pointA | Vector3 | Initial position of the first hitPoint |
pointB | Vector3 | Initial position of the second hitPoint |
secondDrawStep | bool | This bool turns true after first click |
isDone | bool | This bool turns true at the end of creation process |
firstPointHitNormal | Vector3 | Normal of first hitPoint |
objectATransformGO | GameObject | GameObject at the Position of first hitObject's center |
objectBTransformGO | GameObject | GameObject at the Position of second hitObject's center |
pointATransformGO | GameObject | GameObject at the position of first hitPoint |
pointBTransformGO | GameObject | GameObject at the position of second hitPoint |
objectA | GameObject | First hitObject |
objectB | GameObject | Second hitObject |
CreateDimension() | Method | This void creates the dimension's parts |
UpdateDimension() | Method | This void updates the dimension's main features |
UpdateTextTransform() | Method | This void updates the dimension's text transform |