SolidTextAddWithNormals Method |
Adds the triangulated text geometry with vertex normals.
Namespace: Altaxo.Drawing.D3DAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic void AddWithNormals(
Func<FontX, char, CharacterGeometry> GetCharacterGeometry,
Action<PointD3D, VectorD3D> AddPositionAndNormal,
Action<int, int, int> AddIndices,
ref int startIndex
)
Parameters
- GetCharacterGeometry FuncFontX, Char, CharacterGeometry
- Resolves the geometry for a character in the specified font.
- AddPositionAndNormal ActionPointD3D, VectorD3D
- Adds a vertex position together with its normal vector.
- AddIndices ActionInt32, Int32, Int32
- Adds the vertex indices for a triangle.
- startIndex Int32
- The running vertex index offset.
See Also