Use Layer_3D in scene3d-model example 72/286072/1
authorseungho baek <sbsh.baek@samsung.com>
Tue, 27 Dec 2022 07:09:23 +0000 (16:09 +0900)
committerseungho baek <sbsh.baek@samsung.com>
Tue, 27 Dec 2022 07:09:23 +0000 (16:09 +0900)
Change-Id: I4690d2c4bcfec0c6f8f3a734e4a538014d62cbd3
Signed-off-by: seungho baek <sbsh.baek@samsung.com>
examples/scene3d-model/scene3d-model-example.cpp

index 1ae62e4..1c0b8dd 100644 (file)
@@ -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);