logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class PreviewQuadTests

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

    Inheritance
    object
    PreviewQuadTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Ui.Tests.Editor.Preview
    Assembly: Tests.Editor.dll
    Syntax
    public class PreviewQuadTests

    Constructors

    PreviewQuadTests()

    Declaration
    public PreviewQuadTests()

    Methods

    Contains_DegenerateQuad_ReturnsFalseWithoutThrowing()

    Declaration
    public void Contains_DegenerateQuad_ReturnsFalseWithoutThrowing()

    Contains_FortyFiveDegreeRotatedQuad_ExcludesItsAxisAlignedBoundingBoxCorners()

    Declaration
    public void Contains_FortyFiveDegreeRotatedQuad_ExcludesItsAxisAlignedBoundingBoxCorners()

    Contains_FortyFiveDegreeRotatedQuad_IncludesTheCentre()

    Declaration
    public void Contains_FortyFiveDegreeRotatedQuad_IncludesTheCentre()

    DeformedAround_StretchesOnlyTheLocalXEdge_OnARotatedQuad()

    Declaration
    public void DeformedAround_StretchesOnlyTheLocalXEdge_OnARotatedQuad()

    Inflated_AdmitsAPointThreePixelsOutsideTheOriginalBoundary()

    Declaration
    public void Inflated_AdmitsAPointThreePixelsOutsideTheOriginalBoundary()

    Inflated_DegenerateQuad_StaysDegenerateWithoutProducingNaN()

    Declaration
    public void Inflated_DegenerateQuad_StaysDegenerateWithoutProducingNaN()
    In this article
    © 2026 Serenity. All Rights Reserved