Click or drag to resize
CombinedMeshesRendererAddVertices Method (VertexPositionNormalTexture, Int16, MaterialAPI)
Add array of vertices to the combined mesh. Note: will not take effect until 'Build()' is called.

Namespace:  GeonBit.ECS.Components.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public void AddVertices(
	VertexPositionNormalTexture[] vertices,
	short[] indexes,
	MaterialAPI material
)

Parameters

vertices
Type: VertexPositionNormalTexture
Vertices array to add.
indexes
Type: SystemInt16
Draw order / indexes array.
material
Type: GeonBit.Core.Graphics.MaterialsMaterialAPI
Material to use with the vertices.
See Also