FMX.Import.TGEMesh.AddTriangle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure AddTriangle(const ATriangle: TGETriangleID);

C++

void __fastcall AddTriangle(const TGETriangleID &ATriangle);

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Import.pas
FMX.Import.hpp
FMX.Import TGEMesh

Description

Adds the vertices of a triangle to the mesh.

The ATriangle parameter is a TGETriangleID that specifies, through IDs, the vertices to be added to the mesh.

AddTriangle calls AddVertex for every TGEVertexID in ATriangle.

See Also