Add support for implicit casting from Quaternion to other types in shaders

This commit is contained in:
Wojciech Figat
2022-03-28 14:48:21 +02:00
parent fc138bbbbb
commit 2b83975ea2
3 changed files with 55 additions and 3 deletions

View File

@@ -75,6 +75,17 @@ public:
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ShaderGraphValue"/> struct.
/// </summary>
/// <param name="type">The type.</param>
/// <param name="value">The value.</param>
ShaderGraphValue(VariantType::Types type, const String&& value)
: Type(type)
, Value(MoveTemp(value))
{
}
/// <summary>
/// Initializes a new instance of the <see cref="ShaderGraphValue"/> struct.
/// </summary>