VisualRuleEngine

EvaluateElement returns findings for text overflow, safe-area violations, undersized interactive targets and missing glyphs. The touch target constants are 44f by 44f. Overflow allows one unit of tolerance before reporting an error.

List<VisualFinding> findings = engine.EvaluateElement(
    entryId, locale, objectName,
    elementRect, containerRect, safeArea,
    isInteractive, renderedText, missingGlyphs, suppressions);

Suppression uses an exact finding fingerprint. The engine marks a matched finding suppressed and copies the reason; it does not delete the finding.

Supply rectangles in compatible coordinate spaces. The engine compares them as received and performs no canvas-to-screen conversion.

This is deterministic geometry and glyph analysis. It does not inspect screenshot pixels or verify a player build.


Copyright © 2026 DecNet Games. All rights reserved. LocalizeShip is a commercial Unity Asset.

This site uses Just the Docs, a documentation theme for Jekyll.