Back to API Reference
Class

RangeViewportAdapter

abstract
Inherits:MonoBehaviour

Component adapter that consumes ScrollIntoViewRequested without placing Canvas, world-camera or project viewport policy in the interaction router.

Derived Types(2)

Types that inherit from RangeViewportAdapter.

public void Reveal()

Reveals one range immediately using this adapter's configured viewport.

public void RefreshVisibleWindow()

Recomputes VisibleWindow from the configured viewport so glyph, paragraph and decoration emission share the engine's existing culling path.

protected virtual void OnEnable()
protected virtual void OnDisable()
protected abstract void RevealRange()

Implements platform or project-specific reveal behavior.

protected abstract Rect ResolveVisibleWindow()

Returns the current viewport in UniText-local coordinates.

protected static Rect TransformRect()

Transforms an axis-aligned source rect into an axis-aligned target-local rect.