Click or drag to resize
Ab4d.SharpEngine logo

PolyLineMaterial Properties

The PolyLineMaterial type exposes the following members.

Properties
 NameDescription
Public propertyDepthBias Gets a float that specifies a bias that is used when doing a depth test. The value is subtracted from the depth value of the line. Subtracting the value moves the line closer to the camera. The depth values are in range from 0 (at the near camera plane) to 1 (at the far camera plane). Usually a 0.0005 is a good value for most of the cases.
Public propertyIsPolyLine Returns true. This specifies that the line with this material is always rendered as poly-line (with connected segments).
Public propertyLineColor Gets or sets the color of the line that is determined from the WpfModel material. Default color is black.
Public propertyLineThickness Gets or sets the thickness of the line in screen space units. This value is scaled with DPI scale factor. Default line thickness is 1.
Public propertyMiterLimit Gets or sets a value that defines at which line thickness the mitered (sharp) line joint is converted into beveled (square) line joint. For example, a value of 4 requires the mitered joint length to be 4 times the line thickness before the joint becomes beveled. MiterLimit is used only when IsPolyLine is set to true. Default value is set from static DefaultMiterLimit value (2 by default).
Top
See Also