logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class PreviewOrbitStateTests

    EditMode tests for Serenity.Global.Infrastructure.Editor.Preview.PreviewOrbitState — pure math, no scene objects.

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

    Constructors

    PreviewOrbitStateTests()

    Declaration
    public PreviewOrbitStateTests()

    Methods

    Default_ToRotation_EqualsHistoricalFixedFraming()

    Declaration
    public void Default_ToRotation_EqualsHistoricalFixedFraming()

    Default_ZoomFactorIsOne()

    Declaration
    public void Default_ZoomFactorIsOne()

    MinimumZoomFactor_KeepsDistancePositive()

    Declaration
    public void MinimumZoomFactor_KeepsDistancePositive()

    ThreeArgumentOverload_MatchesFourArgumentOverloadAtZoomOne()

    Declaration
    public void ThreeArgumentOverload_MatchesFourArgumentOverloadAtZoomOne()

    WithDrag_AccumulatesYawAndPitch()

    Declaration
    public void WithDrag_AccumulatesYawAndPitch()

    WithDrag_ClampsPitchToLowerBound()

    Declaration
    public void WithDrag_ClampsPitchToLowerBound()

    WithDrag_ClampsPitchToUpperBound()

    Declaration
    public void WithDrag_ClampsPitchToUpperBound()

    WithDrag_DoesNotMutateZoomFactor()

    Declaration
    public void WithDrag_DoesNotMutateZoomFactor()

    WithScroll_ClampsZoomFactorLowerBound()

    Declaration
    public void WithScroll_ClampsZoomFactorLowerBound()

    WithScroll_ClampsZoomFactorUpperBound()

    Declaration
    public void WithScroll_ClampsZoomFactorUpperBound()

    WithScroll_DoesNotMutateYawOrPitch()

    Declaration
    public void WithScroll_DoesNotMutateYawOrPitch()

    WithScroll_NegativeDelta_DecreasesZoomFactor()

    Declaration
    public void WithScroll_NegativeDelta_DecreasesZoomFactor()

    WithScroll_PositiveDelta_IncreasesZoomFactor()

    Declaration
    public void WithScroll_PositiveDelta_IncreasesZoomFactor()

    ZoomFactor_AboveOne_MovesCameraFarther()

    Declaration
    public void ZoomFactor_AboveOne_MovesCameraFarther()

    ZoomFactor_BelowOne_MovesCameraCloser()

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