Line |
The LineCapMaterial type exposes the following members.
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. |