API:FMX.MaterialSources.TColorMaterialSource

From RAD Studio API Documentation
Jump to: navigation, search

FMX.MaterialSources.TMaterialSourceFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTColorMaterialSource

Delphi

TColorMaterialSource = class(TMaterialSource)

C++

class PASCALIMPLEMENTATION TColorMaterialSource : 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.TColorMaterialSource 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.

See Also