Line |
public class LineCapMaterial : Material, ILineMaterial
The LineCapMaterial type exposes the following members.
Name | Description | |
---|---|---|
LineCapMaterial | Constructor |
Name | Description | |
---|---|---|
CapLength | CapLength | |
DepthBias | Gets a float that specifies a bias that is used when doing a depth test. A bias is a value that specifies how much the line is moved closer to the camera. The value is specified in world coordinates. When camera is farther away from the object, then a bigger DepthBias is needed. | |
DynamicDepthBiasFactor | When DynamicDepthBiasFactor is bigger then 0 then this factor is multiplied by the distance of the position to the camera and this is then multiplied by the DepthBias. This can be used to correctly set the depth bias for objects that are close (require small depth bias) to the camera and to the objects that are far away from the camera (require big depth bias). Recommended values are: DepthBias: 0.1, DynamicDepthBiasFactor: 0.02; or LineDepthBias: 0.002, LineDynamicBiasFactor: 1. For backwards compatibility the default value is 0. | |
HalfCapThickness | HalfCapThickness | |
LineColor | Gets the color of the line. | |
LineThickness | Gets the thickness of the line in screen space units. |
Name | Description | |
---|---|---|
GetDefaultRenderingQueue |
Returns the RenderingQueue that should be used to render this material.
(Overrides MaterialGetDefaultRenderingQueue(DXScene)) | |
ToString |
ToString
(Overrides MaterialToString) | |
UpdateCapThicknessAndLength | UpdateCapThicknessAndLength |
Name | Description | |
---|---|---|
CapOffsets | CapOffsets | |
EndPositionOffset | EndPositionOffset | |
LineCap | LineCap | |
LineMaterial | LineMaterial | |
MaxLineArrowLength | MaxLineArrowLength | |
MinLineArrowLength | MinLineArrowLength | |
StartPositionOffset | StartPositionOffset |