FMX.Materials.TColorMaterial
Delphi
TColorMaterial = class(TCustomMaterial)
C++
class PASCALIMPLEMENTATION TColorMaterial : public TCustomMaterial
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Materials.pas FMX.Materials.hpp |
FMX.Materials | FMX.Materials |
Description
Describes a material with a single color.
The initial color of TColorMaterial is red (claRed
). To change the color, set the Color property. A TColorMaterial is not influenced by rays of light.
TColorMaterial is used as the default material for all FireMonkey 3D objects.
To link this material to a 3D object, use a TColorMaterialSource.