Skip to main content

EzDimFunctions

Name                    Type                      Description                            
Funcs                  Class                    Contain the main functions
InternalFunctions      Class                    Contain the side functions that are not using frequently
MeasurementDirection    enum                      Main axis {X, Y, Z}
OffsetDirection        enum                      Main axis {X, Y, Z}
MeasurementPlane        enum                      Main planes  { XZ, XY, ZY, Free }
AngleMeasurmentPlane    enum                      Main planes  { XZ, XY, ZY, Free }
MeasurmentType          enum                      Main measurement types { Length, Area, Volume }
UpdateArea              static void              Update area measure
UpdateAngle            static void              Update angle dimension
UpdateLength            static void              Update the length of pointToPoint Dimension. using this when the start or end point position has changed
UpdateLength            static void              Update the length of Linear Dimension
UpdateLength            static void              Update the length of Aligned Dimension
UpdateAll              static void              Update all dimensions main features
UpdateValues            static void              Update all dimensions main features (depricated)
UpdateNumbersRotation  static void              Update all numbers rotation
SelectDimension        static void              Add hitObject to selection List
HighlightSelectedDims  static void              Highlight available dimensions in selection list and de-emphasize the deselected dimensions
IsHoveredOnDimension    static void              Manage highlighting and de-emphasizeing hovered dimensions
SetActiveAllChilds      static void              Activate all children of given gameObject
HideSelectedDimensions  static void              Hide selected Dimension
UnhideAllDimensions    static void              Unhide all dimensions inside a given starter script and dimension list
DeleteDimensions        static void              Delete selected dimensions
Units                  enum                      Measurement units { Millimetre, centimeter, meter, inch, foot, yard, custom }
numberOfDecimal        enum                     Number of decimals { none, one, two, three, four, five, six }
LengthUnitCalculator    static float              Return the multiplier of diffrent units for length
AreaUnitCalculator      static float              Returns the multiplier of diffrent units for area
DecimalCalculator      static string            Returns the decimal number for diffrent decimal numbers
GetUnitTextShortForm    static string            Returns the short form of the units text
AngleBisectorPoint      static Vector3            Calculate the bisector of three points
HighlightColor          static Color              Highlight a color with given percentage
Remap                  static float              Remap a value from one range to another range
FlipNormal              static bool              Custom function to calculate area surface normal to avoid reversed normal
TriangulatePoints      static mesh              Return triangulate mesh from given vector2 array of points