FMX.Layers3D.TAbstractLayer3D.ModulationColor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ModulationColor: TAlphaColor read FModulationColor write SetModulationColor default TAlphaColors.White;

C++

__property System::Uitypes::TAlphaColor ModulationColor = {read=FModulationColor, write=SetModulationColor, default=-1};

Properties

Type Visibility Source Unit Parent
property public
FMX.Layers3D.pas
FMX.Layers3D.hpp
FMX.Layers3D TAbstractLayer3D

Description

Specifies the color used for the context attached to the 3D layer. The default color is white.

ModulationColor specifies the color to use when rendering the layer, as a modulation color for the texture. Modulation means that every pixel multiplies by the ModulationColor in the GPU shader while rendering. For instance, using the color white as the ModulationColor, you can render a white bitmap; changing the value of ModulationColor produces a differently rendered bitmap, in terms of color.

See Also