Click or drag to resize

MeshModelCreateFromTriangles Method (PointFloat3D, Color, PointFloat3D)

LightningChart .NET Help
Create a mesh model from positions and colors. Positions must be triplets of triangle points and each color in input is color of each triangle.

Namespace:  Arction.WinForms.Charting.Views.View3D
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public MeshModelCreateReturnCode CreateFromTriangles(
	PointFloat3D[] positions,
	Color[] colors,
	PointFloat3D[] normals = null
)

Parameters

positions
Type: Arction.WinForms.ChartingPointFloat3D
Triangle position array.
colors
Type: System.DrawingColor
Color per triangle (array of Color).
normals (Optional)
Type: Arction.WinForms.ChartingPointFloat3D
Optional normal array.

Return Value

Type: MeshModelCreateReturnCode
Success code.
See Also