Graphics/InstancedRenderable: Add Clone method
This commit is contained in:
@@ -41,6 +41,14 @@ namespace Nz
|
||||
}
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Clones this text sprite
|
||||
*/
|
||||
std::unique_ptr<InstancedRenderable> TextSprite::Clone() const
|
||||
{
|
||||
return std::make_unique<TextSprite>(*this);
|
||||
}
|
||||
|
||||
/*!
|
||||
* \brief Updates the text
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user