Click or drag to resize
Ab4d.SharpEngine logo

LineBaseMaterialDepthBias Property

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.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntax
C#
public float DepthBias { get; set; }

Property Value

Single

Implements

ILineMaterialDepthBias
See Also