Skip to content

InputDispatchEntry.IsHit(Vector2) Method

Definition

Namespace: Brine2D.UI

Returns true when screenPosition hits this component, applying the clip rect and coordinate offset.

C#
internal bool IsHit(System.Numerics.Vector2 screenPosition);

Parameters

screenPosition System.Numerics.Vector2

Returns

System.Boolean