TextPointerEvent
Mutable carrier for consumable pointer events emitted by UniTextBase. On click/context resolution, Consumed suppresses propagation to parent UI. During PointerPressed it suppresses later ordered component defaults such as caret placement while preserving parent drag/scroll propagation.
Remarks
public TextHitResult Hit{ get; set }The hit-test result produced from the originating screen position.
public PointerTrigger Trigger{ get; set }What initiated the event. Use to distinguish primary clicks from context-menu requests (right-click on desktop, long-press on touch / pen).
public PointerKind Kind{ get; set }Physical device class behind the event.
public Vector2 ScreenPosition{ get; set }Originating pointer position in screen coordinates. Useful for placing context-menu UI directly under the press without re-deriving from the hit's glyph position (which lives in text-local space).
public PointerModifiers Modifiers{ get; set }Keyboard modifier keys held at the moment of the event.
[ctor]public TextPointerEvent(TextHitResult hit, PointerTrigger trigger, Vector2 screenPosition, Camera eventCamera, PointerModifiers modifiers, PointerKind kind, int pointerId)Creates a pointer-event snapshot.
