Files
Caleb Sandford deQuincey 334021d04e Started project
2025-11-14 17:30:41 +00:00

14 lines
553 B
C#

using UnityEditor.Experimental.GraphView;
namespace UnityEditor.ShaderGraph.Drawing.Interfaces
{
interface ISGResizable : IResizable
{
// Depending on the return value, the ElementResizer either allows resizing past parent view edge (like in case of StickyNote) or clamps the size at the edges of parent view (like for GraphSubWindows)
bool CanResizePastParentBounds();
// If true, element will be kept square when resizing. Otherwise, both axes can be resized freely.
bool KeepSquareAspect() => false;
}
}