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
Syntaxpublic MeshModelCreateReturnCode Create(
PointFloat3D[] positions,
PointFloat[] textureCoordinates,
BitmapFrame bitmap,
TextureWrapMode textureWrapMode,
int[] indices = null
)
Public Function Create (
positions As PointFloat3D(),
textureCoordinates As PointFloat(),
bitmap As BitmapFrame,
textureWrapMode As TextureWrapMode,
Optional indices As Integer() = Nothing
) As MeshModelCreateReturnCode
public:
MeshModelCreateReturnCode Create(
array<PointFloat3D>^ positions,
array<PointFloat>^ textureCoordinates,
BitmapFrame^ bitmap,
TextureWrapMode textureWrapMode,
array<int>^ indices = nullptr
)
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:
MeshModelCreateReturnCodeSuccess code.
See Also