Create float4 from X, Y, Z and W values. The X. The Y. The Z. The W. float4
| 294 | /// <param name="w">The W.</param> |
| 295 | /// <returns>float4</returns> |
| 296 | static ShaderGraphValue Float4(const ShaderGraphValue& x, const ShaderGraphValue& y, const ShaderGraphValue& z, const ShaderGraphValue& w) |
| 297 | { |
| 298 | return ShaderGraphValue( |
| 299 | VariantType::Types::Float4, |
| 300 | String::Format(TEXT("float4({0}, {1}, {2}, {3})"), |
| 301 | Cast(x, VariantType::Types::Float).Value, |
| 302 | Cast(y, VariantType::Types::Float).Value, |
| 303 | Cast(z, VariantType::Types::Float).Value, |
| 304 | Cast(w, VariantType::Types::Float).Value)); |
| 305 | } |
| 306 | |
| 307 | public: |
| 308 | /// <summary> |
nothing calls this directly
no test coverage detected