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.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
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