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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user