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.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntax
C#
public float Offset { get; set; }

Property Value

Single
See Also