FMX.Import.TGEMaterials.Add
Delphi
function Add(const AMaterial: TGEMaterial): TGEMaterial;
C++
TGEMaterial* __fastcall Add(TGEMaterial* const AMaterial);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Import.pas FMX.Import.hpp |
FMX.Import | TGEMaterials |
Description
Adds a material to the list of existing materials.
Use Add to append the material specified by AMaterial to the Items list.
The method returns the added material.