Update Source/Editor/Surface/Archetypes/Material.cs

Co-authored-by: stefnotch <stefnotch@users.noreply.github.com>
This commit is contained in:
NoriteSC
2023-10-06 22:56:16 +02:00
committed by GitHub
parent 1736aaeb6a
commit 4e2870e90c

View File

@@ -909,7 +909,9 @@ namespace FlaxEditor.Surface.Archetypes
Description = "Creates a partial derivative (fwidth)",
Flags = NodeFlags.MaterialGraph,
Size = new Float2(150, 20),
ConnectionsHints = ConnectionsHint.Vector,
ConnectionsHints = ConnectionsHint.Numeric,
IndependentBoxes = new[] { 0 },
DependentBoxes = new[] { 1 },
Elements = new[]
{
NodeElementArchetype.Factory.Input(0, "value", true, typeof(float), 0),