Click or drag to resize

Simple3DRendererAddTriangles Method (IListSimple3DRendererVertex, IListInt32, Matrix4, Boolean, Boolean)

Renders a vertex/index buffer.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public void AddTriangles(
	IList<Simple3DRendererVertex> vertices,
	IList<int> indices,
	Matrix4 transform,
	bool wireframe,
	bool culling
)

Parameters

vertices
Type: System.Collections.GenericIListSimple3DRendererVertex
The vertices.
indices
Type: System.Collections.GenericIListInt32
The indices.
transform
Type: NeoAxisMatrix4
The world transformation.
wireframe
Type: SystemBoolean
The wireframe mode flag.
culling
Type: SystemBoolean
The culling flag.
See Also