- EffectsView view = EffectsView::New( EffectsView::EMBOSS );
- Vector3 offsetSet( 2.f, 3.f, 4.f );
- Vector4 colorSet( 0.2f, 0.3f, 0.4f, 0.5f );
- view.SetProperty( EffectsView::Property::EFFECT_OFFSET, offsetSet);
- view.SetProperty( EffectsView::Property::EFFECT_COLOR, colorSet);
- Vector3 offsetAnimate( 4.f, 6.f, 8.f );
- float durationSeconds(0.05f);
- Animation animation = Animation::New( durationSeconds );
- animation.AnimateTo( Property(view,EffectsView::Property::EFFECT_OFFSET ), offsetAnimate );
+ EffectsView view = EffectsView::New(EffectsView::EMBOSS);
+ Vector3 offsetSet(2.f, 3.f, 4.f);
+ Vector4 colorSet(0.2f, 0.3f, 0.4f, 0.5f);
+ view.SetProperty(EffectsView::Property::EFFECT_OFFSET, offsetSet);
+ view.SetProperty(EffectsView::Property::EFFECT_COLOR, colorSet);
+ Vector3 offsetAnimate(4.f, 6.f, 8.f);
+ float durationSeconds(0.05f);
+ Animation animation = Animation::New(durationSeconds);
+ animation.AnimateTo(Property(view, EffectsView::Property::EFFECT_OFFSET), offsetAnimate);