Click or drag to resize
Ab4d.SharpEngine logo

SubMesh(Int32, Int32, Int32, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public SubMesh(
	int materialIndex,
	int startIndexLocation,
	int indexCount,
	string? name = null
)

Parameters

materialIndex  Int32
index of the material defined in the MultiMaterialModelNode's Materials or -1 to prevent rendering front triangles of this SubMesh
startIndexLocation  Int32
Start index in IndexBuffer in the Mesh
indexCount  Int32
Number of indices to render. For example, when set to 6, then 2 triangles will be rendered.
name  String  (Optional)
optional name
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Meshes.SubMesh.#ctor(System.Int32,System.Int32,System.Int32,System.String)"]

See Also