Thanks Eugene,
I had seen the wrap of Material, but how to use materials in 2D? Which method of which class is used to set the material?
E.g. I have something along:
auto node = this->scene->CreateChild("Box");
node->SetPosition2D(Vector2(this->GetWindowWidth() / 2.0f, this->GetWindowHeight() / 2.0f));
auto box = node->CreateComponent<CollisionBox2D>();
box->SetSize(Vector2(width, height));
auto staticSprite = node->CreateComponent<StaticSprite2D>();
auto boxSprite = this->resourceCache->GetResource<Sprite2D>("Urho2D/Box.png");
boxSprite->SetRectangle(IntRect(0, 0, 100, 100));
staticSprite->SetSprite(boxSprite);
staticSprite->SetTextureRect(Rect(
width / 2.0f,
-height / 2.0f,
-width / 2.0f,
height / 2.0f
));
staticSprite->SetUseTextureRect(true);