Poly |
public class PolyLineMaterial : Material, ILineMaterial, IPolyLineMaterial
The PolyLineMaterial type exposes the following members.
Name | Description | |
---|---|---|
PolyLineMaterial(String) | Constructor | |
PolyLineMaterial(Color3, String) | Constructor | |
PolyLineMaterial(Color4, String) | Constructor | |
PolyLineMaterial(Color3, Single, String) | Constructor | |
PolyLineMaterial(Color4, Single, String) | Constructor |
Name | Description | |
---|---|---|
DepthBias | 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. | |
IsPolyLine | Returns true. This specifies that the line with this material is always rendered as poly-line (with connected segments). | |
LineColor | Gets or sets the color of the line that is determined from the WpfModel material. Default color is black. | |
LineThickness | 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. | |
MiterLimit | 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). |
Name | Description | |
---|---|---|
GetDetailsText |
GetDetailsText adds string that writes details about this Material into the specified StringBuilder.
(Overrides MaterialGetDetailsText(StringBuilder, Boolean, Boolean, Boolean)) | |
OnInitializeSceneResources |
Initializes resources with the specified Scene and GpuDevice.
This method can be override and is called from InitializeSceneResources(Scene) method.
(Overrides MaterialOnInitializeSceneResources(Scene, VulkanDevice)) |
Name | Description | |
---|---|---|
DefaultMiterLimit | Miter limit value that is used when the MiterLimit is explicitly not specified. |