FMX.MaterialSources.TColorMaterialSource.CreateMaterial

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

function CreateMaterial: TMaterial; override;

C++

virtual Fmx::Types3d::TMaterial* __fastcall CreateMaterial();

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function protected
FMX.MaterialSources.pas
FMX.MaterialSources.hpp
FMX.MaterialSources TColorMaterialSource

Beschreibung

Erstellt das Material in der aktuellen Materialquelle.

FMX.MaterialSources.TColorMaterialSource.CreateMaterial erbt von FMX.MaterialSources.TMaterialSource.CreateMaterial. Der folgende Inhalt bezieht sich auf FMX.MaterialSources.TMaterialSource.CreateMaterial.

Erstellt das Material in der aktuellen Materialquelle.

CreateMaterial wird von allen TMaterialSource-Objekten implementiert, um das TMaterial-Objekt zu erstellen, das in der Materialquelle vorhanden sein soll.

Die bereits erstellten Materialquellen sind in der Unit FMX.Materials aufgeführt.

Siehe auch