MeshModelCreate Method (PointFloat3D, Int32, PointFloat3D, Int32) |
LightningChart .NET Help
Create a mesh model from positions, colors, normals 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,
int[] colors,
PointFloat3D[] normals,
int[] indices = null
)
Public Function Create (
positions As PointFloat3D(),
colors As Integer(),
normals As PointFloat3D(),
Optional indices As Integer() = Nothing
) As MeshModelCreateReturnCode
public:
MeshModelCreateReturnCode Create(
array<PointFloat3D>^ positions,
array<int>^ colors,
array<PointFloat3D>^ normals,
array<int>^ indices = nullptr
)
Parameters
- positions
- Type: Arction.Wpf.ChartingPointFloat3D
Vertex array. - colors
- Type: SystemInt32
Color array. - normals
- Type: Arction.Wpf.ChartingPointFloat3D
Vertex normals array. - indices (Optional)
- Type: SystemInt32
Optional index array.
Return Value
Type:
MeshModelCreateReturnCodeSuccess code.
See Also