FMX.MaterialSources.TLightMaterialSource.Emissive

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Emissive: TAlphaColor read GetEmissive write SetEmissive;

C++

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

Properties

Type Visibility Source Unit Parent
property published
FMX.MaterialSources.pas
FMX.MaterialSources.hpp
FMX.MaterialSources TLightMaterialSource

Description

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

Use Emissive to set or get the emissive color of the current TLightMaterial of the TLightMaterialSource.

In the following images, the cone and the cube are linked to the same TLightMaterialSource, 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