
#####################
LinePatternLengthUnit
#####################

.. js:data:: LinePatternLengthUnit

   Specifies the units in which the length of a [[LinePattern]] is measured.
   
   
   Index
   =====
   
   .. rubric:: Enumeration Members
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~LinePatternLengthUnit.Object`
   * :js:data:`~LinePatternLengthUnit.ProportionOfScreenHeight`
   * :js:data:`~LinePatternLengthUnit.ProportionOfScreenWidth`
   * :js:data:`~LinePatternLengthUnit.World`
   
   




Enumeration Members
===================

.. js:data:: LinePatternLengthUnit.Object

   .. rst-class:: sig-pretty-signature
   
      | Object: *0*
   
   Object space units before applying modelling matrices.
   



.. js:data:: LinePatternLengthUnit.ProportionOfScreenHeight

   .. rst-class:: sig-pretty-signature
   
      | ProportionOfScreenHeight: *3*
   
   A proportion of the height of the canvas, where ``1`` means the full height.
   
   When this unit is used, the line pattern will appear the same regardless of zoom or distance from the camera. However, this requires extra calculation for each vertex in the line, which makes it less performant than other units.
   



.. js:data:: LinePatternLengthUnit.ProportionOfScreenWidth

   .. rst-class:: sig-pretty-signature
   
      | ProportionOfScreenWidth: *2*
   
   A proportion of the width of the canvas, where ``1`` means the full width.
   
   When this unit is used, the line pattern will appear the same regardless of zoom or distance from the camera. However, this requires extra calculation for each vertex in the line, which makes it less performant than other units.
   



.. js:data:: LinePatternLengthUnit.World

   .. rst-class:: sig-pretty-signature
   
      | World: *1*
   
   Object space units after applying modelling matrices.
   





