Click or drag to resize

MeshModelCreate Method (PointFloat3D, PointFloat, BitmapFrame, TextureWrapMode, Int32)

LightningChart .NET Help
Create a mesh model from positions, texture coordinates, bitmap and optional indices.

Namespace:  Arction.Wpf.Charting.Views.View3D
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public MeshModelCreateReturnCode Create(
	PointFloat3D[] positions,
	PointFloat[] textureCoordinates,
	BitmapFrame bitmap,
	TextureWrapMode textureWrapMode,
	int[] indices = null
)

Parameters

positions
Type: Arction.Wpf.ChartingPointFloat3D
Vertex array.
textureCoordinates
Type: Arction.Wpf.ChartingPointFloat
Texture coordinate array.
bitmap
Type: System.Windows.Media.ImagingBitmapFrame
Bitmap.
textureWrapMode
Type: Arction.Wpf.ChartingTextureWrapMode
Texture wrapping mode.
indices (Optional)
Type: SystemInt32
Optional index array.

Return Value

Type: MeshModelCreateReturnCode
Success code.
See Also