* // create and add some visible actors to the ShadowView, all these child actors will therefore cast a shadow.
* Image image = Image::New(...);
* ImageView imageView = ImageView::New(image);
- * imageView.SetParentOrigin( ParentOrigin::CENTER );
- * imageView.SetAnchorPoint( AnchorPoint::CENTER );
+ * imageView.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
+ * imageView.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
* shadowView.Add(imageView);\n Add the renderable actor to the shadow view
*
* ImageView shadowPlaneBg = ImageView::New(); //This will be the shadow plane
- * shadowPlaneBg.SetParentOrigin( ParentOrigin::CENTER );
- * shadowPlaneBg.SetAnchorPoint( AnchorPoint::CENTER );
+ * shadowPlaneBg.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
+ * shadowPlaneBg.SetProperty( Actor::Property::ANCHOR_POINT, AnchorPoint::CENTER );
* shadowPlaneBg.SetSize(700.0f, 700.0f);
* shadowPlaneBg.SetPosition( Vector3(0.0f, 0.0f, -30.0f) ); //Just behind the image view.
* shadowView.SetShadowPlaneBackground(ShadowPlane);