FMX.Controls3D.TLight.SetDepth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetDepth(const Value: Single); override;

C++

virtual void __fastcall SetDepth(const float Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Controls3D.pas
FMX.Controls3D.hpp
FMX.Controls3D TLight

Description

Protected setter implementation for the Depth property.

SetDepth sets the depth of this TLight according to its projection. If Projection is Camera, the depth is set to 1, else if Projection is Screen, the depth is set to 25.

See Also