IPrimitiveReader1.Triangles

IPrimitiveReader<TMaterial>.Triangles property

Gets the indices of all the surfaces as triangles.

public IReadOnlyList<(int A, int B, int C)> Triangles { get; }

Exceptions

exceptioncondition
NotSupportedExceptionIf VerticesPerPrimitive is different than 3

See Also