logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.Ui.Tests.Editor.Preview

    Classes

    PreviewGestureCoordinatorTests

    EditMode tests for PreviewGestureCoordinator's state and lookup surface: the selection it owns, the placement it resolves an index to, and the guard that tells it whether there is a rendered rig to work against at all.

    PreviewHitTestingTests

    EditMode tests for PreviewHitTesting's axis and deform-mapping helpers: pure UnityEngine.Vector2 geometry over a PreviewQuad, so these run without a rendered preview or a rig, alongside PreviewQuadTests.

    PreviewOverlayGuiTests

    EditMode tests for CursorForHandle(PreviewQuad, PreviewHandle): proves the cursor now derives from the element's own normalized local axes rather than the direction from the quad's centre to the handle point, which used to make a wide element's corner cursors depend on its aspect ratio.

    PreviewQuadTests

    EditMode tests for PreviewQuad's point-in-polygon math: pure UnityEngine.Vector2 geometry, so these run without a rendered preview or a rig.

    In this article
    © 2026 Serenity. All Rights Reserved