diff --git a/Source/Engine/Visject/ShaderGraphValue.h b/Source/Engine/Visject/ShaderGraphValue.h
index d6cd89730..e0fdb9d95 100644
--- a/Source/Engine/Visject/ShaderGraphValue.h
+++ b/Source/Engine/Visject/ShaderGraphValue.h
@@ -113,6 +113,16 @@ public:
{
}
+ ///
+ /// Initializes a new instance of the struct.
+ ///
+ /// The value.
+ explicit ShaderGraphValue(const double value)
+ : Type(VariantType::Types::Float)
+ , Value(StringUtils::ToString(value))
+ {
+ }
+
///
/// Initializes a new instance of the struct.
///