FMX.Controls._di_IScene

From Appmethod Libraries
Jump to: navigation, search

C++

typedef System::DelphiInterface<IScene> _di_IScene;

Properties

Type Visibility Source Unit Parent
typedef public FMX.Controls.hpp FMX.Controls FMX.Controls

Description

Represents the DelphiInterface of IScene.

You can use _di_IScene to refer to a scene object in C++ code.

The following code snippet shows how to use the GetSceneScale method over a TForm:

 _di_IScene AInterface;
	if (Form1->GetInterface(AInterface)) {
		float scale = AInterface->GetSceneScale();
		ShowMessage("Scene scale: " + FloatToStr(scale));
	}

See Also