- actor.SetSize(1,1);
- actor.SetColor( Vector4(1, 1, 1, 0.5f ) ); // 50% transparent
- actor2.SetSize(1,1);
- actor2.SetColor( Vector4(1, 1, 1, 0.5f ) ); // 50% transparent
+ actor.SetProperty( Actor::Property::SIZE, Vector2( 1, 1 ) );
+ actor.SetProperty( Actor::Property::COLOR, Vector4(1, 1, 1, 0.5f ) ); // 50% transparent
+ actor2.SetProperty( Actor::Property::SIZE, Vector2( 1, 1 ) );
+ actor2.SetProperty( Actor::Property::COLOR, Vector4(1, 1, 1, 0.5f ) ); // 50% transparent