Remove Setter/Getter public APIs from Dali::Layer
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / scene3d-view / scene3d-view-impl.cpp
index 0a9574c..1521ae9 100644 (file)
@@ -250,7 +250,7 @@ bool Scene3dView::SetDefaultCamera( const Dali::Camera::Type type, const float n
   mDefaultCamera.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
   mDefaultCamera.SetType( type );
   mDefaultCamera.SetNearClippingPlane( nearPlane );
-  mDefaultCamera.SetPosition( cameraPosition );
+  mDefaultCamera.SetProperty( Actor::Property::POSITION, cameraPosition );
   return true;
 }
 
@@ -356,7 +356,7 @@ void Scene3dView::OnInitialize()
   mRoot.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
 
   Layer layer = Layer::New();
-  layer.SetBehavior( Layer::LAYER_3D );
+  layer.SetProperty( Layer::Property::BEHAVIOR, Layer::LAYER_3D );
   layer.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
   layer.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
   layer.Add( mRoot );