X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fshadow-view%2Fshadow-view.h;h=2df49780ba9772cbf721dde0ea5d4527d154b8ef;hp=188c3c377fb08199ab0edc7b2ee18a6ee70a2cdd;hb=88b085f3b44c7c123c1119bb0326cc54aae1ddea;hpb=8e902a37f200809376dc5746e0bcb9d40dd79049 diff --git a/dali-toolkit/devel-api/controls/shadow-view/shadow-view.h b/dali-toolkit/devel-api/controls/shadow-view/shadow-view.h index 188c3c3..2df4978 100644 --- a/dali-toolkit/devel-api/controls/shadow-view/shadow-view.h +++ b/dali-toolkit/devel-api/controls/shadow-view/shadow-view.h @@ -66,17 +66,17 @@ class ShadowView; * * // create and add some visible actors to the ShadowView, all these child actors will therefore cast a shadow. * Image image = Image::New(...); - * ImageActor imageActor = ImageActor::New(image); - * imageActor.SetParentOrigin( ParentOrigin::CENTER ); - * imageActor.SetAnchorPoint( AnchorPoint::CENTER ); - * shadowView.Add(imageActor);\n Add the renderable actor to the shadow view - * - * ImageActor shadowPlane = ImageActor::New(); //This will be the shadow plane - * shadowPlane.SetParentOrigin( ParentOrigin::CENTER ); - * shadowPlane.SetAnchorPoint( AnchorPoint::CENTER ); - * shadowPlane.SetSize(700.0f, 700.0f); - * shadowPlane.SetPosition( Vector3(0.0f, 0.0f, -30.0f) ); //Just behind the image actor. - * shadowPlane.SetShadowPlane(ShadowPlane); + * ImageView imageView = ImageView::New(image); + * imageView.SetParentOrigin( ParentOrigin::CENTER ); + * imageView.SetAnchorPoint( 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.SetSize(700.0f, 700.0f); + * shadowPlaneBg.SetPosition( Vector3(0.0f, 0.0f, -30.0f) ); //Just behind the image actor. + * shadowView.SetShadowPlaneBackground(ShadowPlane); * * Actor pointLight = Actor::New(); // This will be the light source * pointLight.SetPosition(300.0f, 250.0f, 600.0f);