From 6d127d73b99b1276c0c9bf003946f7e8c79735d0 Mon Sep 17 00:00:00 2001 From: seungho baek Date: Tue, 27 Dec 2022 16:09:23 +0900 Subject: [PATCH] Use Layer_3D in scene3d-model example Change-Id: I4690d2c4bcfec0c6f8f3a734e4a538014d62cbd3 Signed-off-by: seungho baek --- examples/scene3d-model/scene3d-model-example.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/scene3d-model/scene3d-model-example.cpp b/examples/scene3d-model/scene3d-model-example.cpp index 1ae62e4..1c0b8dd 100644 --- a/examples/scene3d-model/scene3d-model-example.cpp +++ b/examples/scene3d-model/scene3d-model-example.cpp @@ -215,6 +215,7 @@ public: void Create(Application& application) { mWindow = application.GetWindow(); + mWindow.GetRootLayer().SetProperty(Layer::Property::BEHAVIOR, Layer::LAYER_3D); // Get a handle to the mWindow mWindow.SetBackgroundColor(Color::WHITE); -- 2.7.4