|
|
|
|
|
|
|
|
|
|
namespace UnityEditor.ShaderGraph |
|
|
|
{ |
|
|
|
[Title("Input", "Gradient", "Gradient Asset")] |
|
|
|
public class GradientAssetNode : AbstractMaterialNode, IGeneratesFunction |
|
|
|
[Title("Input", "Gradient", "Gradient")] |
|
|
|
public class GradientNode : AbstractMaterialNode, IGeneratesFunction |
|
|
|
{ |
|
|
|
[SerializeField] |
|
|
|
private float m_Value; |
|
|
|
|
|
|
|
|
|
|
public GradientAssetNode() |
|
|
|
public GradientNode() |
|
|
|
name = "Gradient Asset"; |
|
|
|
name = "Gradient"; |
|
|
|
UpdateNodeAfterDeserialization(); |
|
|
|
} |
|
|
|
|
|
|
|