 |
TriangleMeshTGetTrianglePositions Method |
GetTrianglePositions sets the 3 positions that define the triangle with the specified index (max allowed triangleIndex is
TrianglesCount - 1).
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.0.9208+3b2441d6a11f923f2600f40f4296bdc3d8b46035
Syntaxpublic void GetTrianglePositions(
int triangleIndex,
out Vector3? p1,
out Vector3? p2,
out Vector3? p3
)
Parameters
- triangleIndex Int32
- index of the triangle (max allowed value is TrianglesCount - 1).
- 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