FMX.MaterialSources.TLightMaterialSource.Texture
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.
See Also
- FMX.Materials.TLightMaterial.Texture
- FMX.MaterialSources.TLightMaterialSource.Diffuse
- FMX.MaterialSources.TLightMaterialSource.Ambient
- FMX.MaterialSources.TLightMaterialSource.Emissive
- FMX.MaterialSources.TLightMaterialSource.Shininess
- FMX.MaterialSources.TLightMaterialSource.Specular
- FMX.Graphics.TBitmap
- Creating the User Interface (FireMonkey 3D Tutorial)