Click or drag to resize
Ab4d.SharpEngine logo

GeometryMesh(Vector3, Int32, Boolean, String) Constructor

Constructor

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public GeometryMesh(
	Vector3[] positions,
	int[]? triangleIndices,
	bool automaticallyCalculateNormals = true,
	string? name = null
)

Parameters

positions  Vector3
positions
triangleIndices  Int32
triangleIndices
automaticallyCalculateNormals  Boolean  (Optional)
when true (by default), then Normals are automatically calculated (when triangleIndices are provided)
name  String  (Optional)
optional name
See Also