Graphics/InstancedRenderable: Add Clone method

This commit is contained in:
Lynix
2018-06-06 19:36:46 +02:00
parent 2f0c62df20
commit bc2f6f67cc
16 changed files with 70 additions and 8 deletions

View File

@@ -34,11 +34,14 @@ namespace Nz
inline void Clear();
std::unique_ptr<InstancedRenderable> Clone() const override;
inline const Color& GetColor() const;
inline float GetScale() const;
inline void SetColor(const Color& color);
inline void SetDefaultMaterial();
using InstancedRenderable::SetMaterial;
inline void SetMaterial(MaterialRef material);
inline void SetMaterial(std::size_t skinIndex, MaterialRef material);
inline void SetScale(float scale);