You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
532 B

using UnityEngine;
using UnityEngine.UIElements;
namespace UnityEditor.Rendering
{
public partial class RenderGraphViewer
{
internal class PassTitleLabel : Label
{
public PassTitleLabel(string text) : base(text) { }
public override bool ContainsPoint(Vector2 localPoint)
{
return localPoint.x >= 0 && localPoint.x <= resolvedStyle.width &&
localPoint.y >= 0 && localPoint.y <= resolvedStyle.height;
}
}
}
}