Change-Id: Ie9c1c5e92be1ee000d88879147aefd6699366df6
renderer.SetTextures( textureSet );
// Set actor to the size of the texture if set
- actor.SetSize( texture.GetWidth(), texture.GetHeight() );
+ actor.SetProperty( Actor::Property::SIZE, Vector2( texture.GetWidth(), texture.GetHeight() ) );
}
return actor;
r.SetTextures(ts);
Actor a = Actor::New();
a.AddRenderer(r);
- a.SetSize(10, 10);
+ a.SetProperty( Actor::Property::SIZE, Vector2(10, 10) );
a.SetProperty( Actor::Property::PARENT_ORIGIN, ParentOrigin::CENTER );
Stage::GetCurrent().Add(a);