FMX.MaterialSources.TMaterialSource

From Appmethod Libraries
Jump to: navigation, search

FMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTMaterialSource

Object Pascal

TMaterialSource = class(TFmxObject)

C++

class PASCALIMPLEMENTATION TMaterialSource : public Fmx::Types::TFmxObject

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.

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.

See Also