Click or drag to resize
Ab4d.SharpEngine logo

ITriangularMeshGetTrianglePositions Method

GetTrianglePositions sets the 3 positions that define the triangle with the specified index.

Namespace: Ab4d.SharpEngine.Meshes
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
void GetTrianglePositions(
	int triangleIndex,
	out Vector3 p1,
	out Vector3 p2,
	out Vector3 p3
)

Parameters

triangleIndex  Int32
index of the triangle
p1  Vector3
first position as Vector3
p2  Vector3
first position as Vector3
p3  Vector3
first position as Vector3
See Also