Click or drag to resize
AB4D logo

GeometryMeshGetTrianglePositions Method

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

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public 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

Implements

ITriangularMeshGetTrianglePositions(Int32, Vector3, Vector3, Vector3)
See Also