Click or drag to resize
Ab4d.SharpEngine logo

TriangleModelNodeOffset Property

Offset is used to move the triangle along its normal vector. This can be useful to avoid z-fighting when the triangle is rendered together with other triangles that have the same positions. Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method. Default value is 0.

Namespace: Ab4d.SharpEngine.SceneNodes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public float Offset { get; set; }

Property Value

Single
See Also