FMX.MaterialSources.TLightMaterialSource.Shininess

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Shininess: Integer read GetShininess write SetShininess;

C++

__property int Shininess = {read=GetShininess, write=SetShininess, nodefault};

Properties

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

Description

Specifies the amount of shininess of the current material.

Use Shininess to set how shiny is the current TLightMaterial of the TLightMaterialSource.

In the following image, a sphere is linked to a TLightMaterialSource, with Diffuse set to red, Ambient set to blue, Emissive set to null, Specular set to light blue, and with different values for Shininess.

TLightMaterial Shininess.png

See Also