API:FMX.Layers3D.TSolidLayer3D.ModulationColor

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ModulationColor: TAlphaColor read FModulationColor write SetModulationColor default -1;

C++

__property ModulationColor = {default=-1};

Properties

Type Visibility Source Unit Parent
property published
FMX.Layers3D.pas
FMX.Layers3D.hpp
FMX.Layers3D TSolidLayer3D

Description

Specifies the color used for the context attached to the 3D layer.

FMX.Layers3D.TSolidLayer3D.ModulationColor inherits from FMX.Layers3D.TAbstractLayer3D.ModulationColor. All content below this line refers to FMX.Layers3D.TAbstractLayer3D.ModulationColor.

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