FMX.Import.TGEMaterials.Add
Delphi
function Add(const AMaterial: TGEMaterial): TGEMaterial;
C++
TGEMaterial* __fastcall Add(TGEMaterial* const AMaterial);
Propriétés
| Type | Visibilité | Source | Unité | Parent |
|---|---|---|---|---|
| function | public | FMX.Import.pas FMX.Import.hpp |
FMX.Import | TGEMaterials |
Description
Ajoute un matériau à la liste des matériaux existants.
Utilisez Add pour ajouter le matériau spécifié par AMaterial à la fin de la liste Items.
La méthode renvoie le matériau ajouté.