void Create(Application& application)
{
mWindow = application.GetWindow();
+ mWindow.GetRootLayer().SetProperty(Layer::Property::BEHAVIOR, Layer::LAYER_3D);
mWindow.GetRootLayer().SetProperty(Dali::Layer::Property::BEHAVIOR, Dali::Layer::Behavior::LAYER_3D);
\r
ResourceBundle resources;\r
SceneDefinition scene;\r
+ SceneMetadata metaData;\r
std::vector<AnimationGroupDefinition> animGroups;\r
std::vector<CameraParameters> cameraParameters;\r
std::vector<LightParameters> lights;\r
LoadResult output{\r
resources,\r
scene,\r
+ metaData,\r
*animations,\r
animGroups,\r
cameraParameters,\r
{\r
KeyboardFocusManager::Get().SetCurrentFocusActor(mActivatedActor);\r
}\r
+ auto window = mApp.GetWindow();\r
+ window.GetRootLayer().SetProperty(Layer::Property::BEHAVIOR, Layer::LAYER_UI);\r
}\r
else\r
{\r
try\r
{\r
auto window = mApp.GetWindow();\r
+ window.GetRootLayer().SetProperty(Layer::Property::BEHAVIOR, Layer::LAYER_3D);\r
auto renderTasks = window.GetRenderTaskList();\r
renderTasks.RemoveTask(mSceneRender);\r
\r