FMX.Materials.TLightMaterial.Shininess

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Shininess: Integer read FShininess write FShininess;

C++

__property int Shininess = {read=FShininess, write=FShininess, nodefault};

Properties

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

Description

Specifies the amount of shininess of the current material.

Use Shininess to set how shiny is the current TLightMaterial.

By default, the Shininess is set to 30. If Specular is null, Shininess has no effect. With no light, Shininess has no effect.

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

TLightMaterial Shininess.png

See Also