Show: Delphi
C++
Display Preferences
FMX.Types3D.TLight
From XE2 API Documentation
Delphi
TLight = class(TControl3D)
C++
class PASCALIMPLEMENTATION TLight : public TControl3D
Contents |
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | FMX.Types3D.pas FMX.Types3D.hpp |
FMX.Types3D | FMX.Types3D |
Description
TLight is a class that describes light source objects.
Use TLight to imitate the rays of light and their propagation on other 3D objects.
Use Ambient, Diffuse, and Specular to describe the color of the rays of light.
Use ConstantAttenuation, LinearAttenuation, and QuadraticAttenuation to set the attenuation of the rays of light.
See Also
- FMX.Types3D.TLight.Ambient
- FMX.Types3D.TLight.Diffuse
- FMX.Types3D.TLight.Specular
- FMX.Types3D.TLight.ConstantAttenuation
- FMX.Types3D.TLight.LinearAttenuation
- FMX.Types3D.TLight.QuadraticAttenuation