Support XDG Desktop Portal as color picker provider
Wayland and XWayland fallback implementation uses XDP in order to query picked color from desktop.
This commit is contained in:
@@ -22,7 +22,7 @@ public:
|
||||
/// Gets the pixel color at the specified coordinates.
|
||||
/// </summary>
|
||||
/// <param name="pos">Screen-space coordinate to read.</param>
|
||||
/// <returns>Pixel color at the specified coordinates.</returns>
|
||||
/// <returns>Pixel color at the specified coordinates, or transparent color when color couldn't be picked up.</returns>
|
||||
API_FUNCTION() static Color32 GetColorAt(const Float2& pos)
|
||||
{
|
||||
return Color32::Transparent;
|
||||
|
||||
Reference in New Issue
Block a user