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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Meshes.GeometryMesh.#ctor(System.Numerics.Vector3[],System.Numerics.Vector2[],System.Int32[],System.Boolean,System.String)"]

See Also