|
|
|
|
|
|
using System; |
|
|
|
using UnityEditor.ShaderGraph.Drawing.Slots; |
|
|
|
using UnityEngine.Experimental.UIElements; |
|
|
|
|
|
|
|
namespace UnityEditor.ShaderGraph |
|
|
|
{ |
|
|
|
|
|
|
ShaderStage shaderStage = ShaderStage.Dynamic, bool hidden = false) |
|
|
|
: base(slotId, displayName, shaderOutputName, space, shaderStage, hidden) |
|
|
|
{} |
|
|
|
|
|
|
|
public override VisualElement InstantiateControl() |
|
|
|
{ |
|
|
|
return new BoundInputVectorControlView(space + " Space"); |
|
|
|
} |
|
|
|
|
|
|
|
public override string GetDefaultValue(GenerationMode generationMode) |
|
|
|
{ |
|
|
|