FMX.Import.TGEMesh
Delphi
TGEMesh = class
C++
class PASCALIMPLEMENTATION TGEMesh : public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Import.pas FMX.Import.hpp |
FMX.Import | FMX.Import |
Description
TGEMesh defines a mesh used to define the shape of an imported 3D model.
TGEMesh is defined as a collection of vertices. A TGEMesh is created from an existing TGEVertexSource.
The vertices can be added to the mesh in four ways:
- Vertex by vertex, calling the AddVertex method.
- As a triangle, calling the AddTriangle method.
- As a polygon, calling the AddPoligon method.
- As a mesh triangle, calling the AddTriangleMesh method.
In all four ways, the vertices are specified through TGEVertexID.
The name of the material used to cover the 3D model is specified through MaterialName.