Click or drag to resize

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

Renders a vertex/index buffer.

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

Parameters

vertices
Type: System.Collections.GenericIListVector3
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