Click or drag to resize
Ab4d.SharpEngine logo

ILineMaterial Interface

ILineMaterial interface defines properties that define a line material - 3D object with this material will be rendered as wireframe.

Namespace: Ab4d.SharpEngine.Materials
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public interface ILineMaterial

The ILineMaterial type exposes the following members.

Properties
 NameDescription
Public propertyDepthBias Gets or sets 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.
Public propertyLineColor Gets or sets the color of the line.
Public propertyLineThickness Gets or sets the thickness of the line in screen space units.
Top
See Also