mathe/Library/PackageCache/com.unity.shadergraph@14.0.8/Editor/Drawing/Interfaces/ISGViewModel.cs

14 lines
403 B
C#
Raw Normal View History

2024-09-20 20:30:10 +02:00
using UnityEngine.UIElements;
namespace UnityEditor.ShaderGraph.Drawing
{
interface ISGViewModel
{
VisualElement parentView { get; set; }
// Wipes all data in this view-model that will be fed to the view that depends on it
// A notable point is that this function typically should not null out the parentView field seen above
void ResetViewModelData();
}
}