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: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntax
C#
public float Offset { get; set; }

Property Value

Single
See Also