Revert "Updates following rename of PropertyBuffer"
[platform/core/uifw/dali-demo.git] / examples / rendering-basic-pbr / model-skybox.cpp
index 8873e0f..a6bf5e3 100644 (file)
@@ -94,9 +94,9 @@ void ModelSkybox::Init( const Vector3& size )
   renderer.SetProperty( Renderer::Property::FACE_CULLING_MODE, FaceCullingMode::BACK );
 
   mActor = Actor::New();
-  mActor.SetAnchorPoint( AnchorPoint::CENTER );
-  mActor.SetParentOrigin( ParentOrigin::CENTER );
-  mActor.SetSize( size );
+  mActor.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
+  mActor.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
+  mActor.SetProperty( Actor::Property::SIZE, size );
   mActor.AddRenderer( renderer );
 }