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.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public float DepthBias { get; set; }

Property Value

Single

[Missing <value> documentation for "P:Ab4d.SharpEngine.Materials.LineBaseMaterial.DepthBias"]

Implements

ILineMaterialDepthBias
Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Materials.LineBaseMaterial.DepthBias"]

See Also