LinePatternLengthUnit
Specifies the units in which the length of a LinePattern
is measured.
Enumeration members
Enumeration members
Object
Object space units before applying modelling matrices.
ProportionOfScreenHeight
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.
ProportionOfScreenWidth
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.
World
Object space units after applying modelling matrices.