FMX.MaterialSources.TMaterialSource.CreateMaterial

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function CreateMaterial: TMaterial; virtual; abstract;

C++

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

Properties

Type Visibility Source Unit Parent
function protected
FMX.MaterialSources.pas
FMX.MaterialSources.hpp
FMX.MaterialSources TMaterialSource

Description

Creates the material within the current material source.

CreateMaterial is implemented by each TMaterialSource to create the TMaterial that will be in the material source.

The already created material sources are listed in the FMX.Materials unit.

See Also