Click or drag to resize
Ab4d.SharpEngine logo

GeometryMesh(Vector3, Vector2, Int32, Boolean, String) Constructor

Constructor

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

Parameters

positions  Vector3
positions
textureCoordinates  Vector2
textureCoordinates
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