FMX.MaterialSources.TLightMaterialSource.Texture

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Texture: TBitmap read FTexture write SetTexture;

C++

__property Fmx::Graphics::TBitmap* Texture = {read=FTexture, write=SetTexture};

Properties

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

Description

Specifies the texture of the material as a TBitmap.

Use Texture to set or get the bitmap texture of the current TLightMaterial of the TLightMaterialSource.

In the following image, all the shapes are linked to the same TLightMaterialSource, with Diffuse set to red, Ambient set to blue, Emissive set to green, Specular set to white, Shininess set to 30, and with the specified Texture.

TLightMaterial Texture.png

See Also