A game about forced loneliness, made by TACStudios
at master 1.1 kB view raw
1using System; 2using UnityEditor.Graphing; 3 4namespace UnityEditor.ShaderGraph 5{ 6 [Serializable] 7 class GradientMaterialSlot : MaterialSlot 8 { 9 public GradientMaterialSlot() 10 { } 11 12 public GradientMaterialSlot( 13 int slotId, 14 string displayName, 15 string shaderOutputName, 16 SlotType slotType, 17 ShaderStageCapability stageCapability = ShaderStageCapability.All, 18 bool hidden = false) 19 : base(slotId, displayName, shaderOutputName, slotType, stageCapability, hidden) 20 { } 21 22 public override SlotValueType valueType { get { return SlotValueType.Gradient; } } 23 public override ConcreteSlotValueType concreteValueType { get { return ConcreteSlotValueType.Gradient; } } 24 public override bool isDefaultValue => true; 25 26 public override void AddDefaultProperty(PropertyCollector properties, GenerationMode generationMode) 27 { } 28 29 public override void CopyValuesFrom(MaterialSlot foundSlot) 30 { } 31 } 32}