API:FMX.MaterialSources.TLightMaterialSource
![TLightMaterialSource](/images/Libraries/Alexandria/e/7/77/FMX.MaterialSources.TLightMaterialSource.png)
Delphi
TLightMaterialSource = class(TMaterialSource)
C++
class PASCALIMPLEMENTATION TLightMaterialSource : public TMaterialSource
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.MaterialSources.pas FMX.MaterialSources.hpp |
FMX.MaterialSources | FMX.MaterialSources |
Description
Describes the source of a kind of a TMaterial.
FMX.MaterialSources.TLightMaterialSource inherits from FMX.MaterialSources.TMaterialSource. All content below this line refers to FMX.MaterialSources.TMaterialSource.
Describes the source of a kind of a TMaterial.
Use TMaterialSource to link materials to 3D objects. The source material is specified through the Material property.
Descend from TMaterialSource and implement CreateMaterial to create a source of a new material. A TMaterialSource can be placed anywhere in a form and linked to more than one object.
The existing materials' sources can be found in the FMX.Materials unit.
To create and use a library of materials, use a TMaterialBook object.