Files
stas-barecky/Library/PackageCache/com.unity.shadergraph@3cfe1d1f3f8c/Editor/Drawing/Interfaces/ISGViewModel.cs
2026-01-08 20:43:08 +05:00

14 lines
403 B
C#

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();
}
}