FMX.Materials.TLightMaterial.Emissive

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Emissive: TAlphaColor read FEmissive write FEmissive;

C++

__property System::Uitypes::TAlphaColor Emissive = {read=FEmissive, write=FEmissive, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Materials.pas
FMX.Materials.hpp
FMX.Materials TLightMaterial

Description

Specifies the color of this material object when the object is self-illuminated.

The emissive color is the color emitted by the object if it glows. Use Emissive to set or get the emissive color of the current TLightMaterial. By default, objects do not glow, and the emissive color is null.

Emissive does not require light to be seen. When the object is not illuminated, the Emissive color blends with the Ambient color, if it is specified. If the Ambient color is null, the Emissive color is the only color than can be seen. If the object is illuminated and the Emissive color is not null, the Emissive color blends with the rest of the color properties of the object.

In the following images, the cone and the cube are linked to the same TLightMaterial, with Diffuse set to red, Ambient set to blue, Emissive set to green, and Specular set to null.

TLightMaterial Emissive light on.png TLightMaterial Emissive light off.png

See Also