A game about forced loneliness, made by TACStudios
1using System;
2using UnityEditor.ShaderGraph.Internal;
3using UnityEngine;
4using UnityEngine.UIElements;
5
6namespace UnityEditor.ShaderGraph.Drawing
7{
8 class ShaderInputViewModel : ISGViewModel
9 {
10 public ShaderInput model { get; set; }
11
12 public VisualElement parentView { get; set; }
13
14 internal bool isSubGraph { get; set; }
15 internal bool isInputExposed { get; set; }
16
17 internal string inputName { get; set; }
18
19 internal string inputTypeName { get; set; }
20
21 internal Action<IGraphDataAction> requestModelChangeAction { get; set; }
22
23 public void ResetViewModelData()
24 {
25 isSubGraph = false;
26 isInputExposed = false;
27 inputName = String.Empty;
28 inputTypeName = String.Empty;
29 requestModelChangeAction = null;
30 }
31 }
32}