FMX.Layers3D.TCustomLayer3D.GetStyleObject
Delphi
function GetStyleObject: TControl;
C++
Fmx::Controls::TControl* __fastcall GetStyleObject();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | FMX.Layers3D.pas FMX.Layers3D.hpp |
FMX.Layers3D | TCustomLayer3D |
Description
Gets the style resource object linked to this 3D layer.
GetStyleObject is called when the style is applied. Apply a style by calling the ApplyStyleLookup method.
If no style is defined for the current control, it receives the style of the current scene. If the current scene does not have a resource object, GetStyleObject continues to look through the default styles and Parent's style.
Do not call GetStyleObject in an application.
GetStyleObject internally calls LookupStyleObject.