Skip to main content

Angle Dimension

Name                    Type                      Description                            
valuesReference        EzDimStarter              Global parameters reference  
angleMeasurementPlane  Funcs.AngleMeasurmentPlaneMeasure the distance on this specific plane
rotateTextBy180        bool                      Rotate text on the normal of angle measurement plane by 180 degree
reverseTextPosIfNotFit  bool                      Change not fitted text to other side
isIndividual            bool                      Allow dimension to have local attributes
isDynamic              bool                      Make dimension dynamic. If target objects moving, the dimension will update it's length
linesThickness          float                    Thickness of the lines
textSize                float                    TextMesh font size
arcScale                float                    Scale of the arc plane object
textOffsetFromCenter    float                    Offset number's textMesh from center of the angle
NormalOffset            float                    Offset dimension along normal of first hitPoint to avoid Z-Fighting
textOffsetIfNotFit      Vector2                  Offset to new position of the text in the angleMeasurementPlane if it was not fit
numberColor            Color                    Color of number's textMesh
mainColor              Color                    Color of the lines. other material features can control by a costum script
arcColor                Color                    Color of arc material. other material features can control by a costum script
hoveredTint            Color                    This color multiplies to other colors if we hovered on any dimension when using mouse or VR
selectedTint            Color                    Color of selected dimensions
hoveredOnSelectedTint  Color                    Color of selected dimension when we hovered on it when using mouse or VR  
mainLinesMat            Material                  Material of lines
arcMat                  Material                  Material of arc plane
pointA                  Vector3                  Initial Position of the first hitPoint
pointB                  Vector3                  Initial Position of the second hitPoint
pointC                  Vector3                  Initial Position of the third hitPoint
mainParent              GameObject                Dimension main parent
cameraTransform        Transform                Transform of camera
trueOnFirstStep        Bool                      This bool turns true after first click in creation process and always remain true
trueOnSecoundStep      Bool                      This bool turns true after second click in creation process and always remain true
isDone                  Bool                      This bool turns true at the end of creation process
lineAGO                GameObject                Line A gameObject
lineBGO                GameObject                Line B gameObject
pointBProxy            Vector3                  Projected pointB to the angleMeasurementPlane with the same local height of pointA
pointCProxy            Vector3                  Projected pointC to the angleMeasurementPlane with the same local height of pointA
arcParentGO            GameObject                Parent of the arc plane gameObject
plane                  Plane                    Intersected plane by pointA, pointB and pointC
numberGO                GameObject                Number gameObject
objectATransformGO      GameObject                GameObject at the Position of first hitObject's center
objectBTransformGO      GameObject                GameObject at the Position of second hitObject's center
objectCTransformGO      GameObject                GameObject at the Position of third hitObject's center
pointATransformGO      GameObject                GameObject at the position of first hitPoint
pointBTransformGO      GameObject                GameObject at the position of second hitPoint
pointBTransformGO      GameObject                GameObject at the position of third hitPoint
objectA                GameObject                First hitObject
objectB                GameObject                Second hitObject
objectC                GameObject                third hitObject
CreateDimension()      Method                    This void creates the dimension's parts
UpdateDimension()      Method                    This void updates the dimension's main features
UpdateTextAndIndicator()Method                    This void updates the dimension's text transform and Angle parameter of arc material