Added another implicit converter to MaterialPropertyValue so that generated images can be used with material properties more easily.

(cherry picked from commit 66d7e9672ca0d6ced068dd95d8b52f88b5492c1f)
This commit is contained in:
mbalfour
2021-04-14 16:05:50 -05:00
parent 7139525abf
commit 5aa4642c12
@@ -65,6 +65,7 @@ namespace AZ
MaterialPropertyValue(const Vector4& value) : m_value(value) {}
MaterialPropertyValue(const Color& value) : m_value(value) {}
MaterialPropertyValue(const Data::Asset<ImageAsset>& value) : m_value(value) {}
MaterialPropertyValue(const Data::Instance<Image>& value) : m_value(value) {}
MaterialPropertyValue(const AZStd::string& value) : m_value(value) {}
//! Copy constructor