logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAudioDepthCueRoomRouterTests

    Tests for Serenity.AudioPlayer.Infrastructure.Services.UnityAudioDepthCueRoomRouter on fake rooms, fake portals and a scripted probe: a voice whose straight line is occluded is heard through the shortest open portal when exactly one of the listener and the source is inside a room and the way to the portal is less occluded; the leg outside the room is asked, for the shortest portal only; the route is kept inside a margin, the portal is kept inside another; a portal that is gone routes nothing; nothing is looked up when no room can matter; and the listener's room is looked up once per probe tick.

    Inheritance
    object
    UnityAudioDepthCueRoomRouterTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityAudioPlayer.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityAudioDepthCueRoomRouterTests

    Constructors

    UnityAudioDepthCueRoomRouterTests()

    Declaration
    public UnityAudioDepthCueRoomRouterTests()

    Methods

    BlockedBestPortal_DoesNotFallBackToTheNext()

    Declaration
    public void BlockedBestPortal_DoesNotFallBackToTheNext()

    ClearLegFromOutside_RoutesWithTheLegAmount(float)

    Declaration
    public void ClearLegFromOutside_RoutesWithTheLegAmount(float legAmount)
    Parameters
    Type Name Description
    float legAmount

    DestroyedCurrentPortal_NextTickDecidesFreshWithoutTheKeepMargin()

    Declaration
    public void DestroyedCurrentPortal_NextTickDecidesFreshWithoutTheKeepMargin()

    DestroyedPortal_IsSkipped()

    Declaration
    public void DestroyedPortal_IsSkipped()

    DifferentRooms_DoesNotRoute()

    Declaration
    public void DifferentRooms_DoesNotRoute()

    DirectClearAfterARoute_LeavesTheRouteAndForgetsTheLegButKeepsTheExtraMeters()

    Declaration
    public void DirectClearAfterARoute_LeavesTheRouteAndForgetsTheLegButKeepsTheExtraMeters()

    DirectClear_LooksUpNoRoom()

    Declaration
    public void DirectClear_LooksUpNoRoom()

    EmptyLocator_LooksUpNoRoom()

    Declaration
    public void EmptyLocator_LooksUpNoRoom()

    GradedChannel_RoutedAmountIncludesTheDetourOfTheWayThroughThePortal()

    Declaration
    public void GradedChannel_RoutedAmountIncludesTheDetourOfTheWayThroughThePortal()

    KeptRouteWithinMargin_StaysRouted()

    Declaration
    public void KeptRouteWithinMargin_StaysRouted()

    ListenerAndSourceSwappingRooms_AskTheOtherLegWithTheSameMemory()

    Declaration
    public void ListenerAndSourceSwappingRooms_AskTheOtherLegWithTheSameMemory()

    ListenerInside_AsksTheLegFromThePortalToTheSource()

    Declaration
    public void ListenerInside_AsksTheLegFromThePortalToTheSource()

    ListenerRoom_IsLookedUpAgainWhenTheListenerMovesWithinATick()

    Declaration
    public void ListenerRoom_IsLookedUpAgainWhenTheListenerMovesWithinATick()

    ListenerRoom_IsLookedUpOncePerProbeTick()

    Declaration
    public void ListenerRoom_IsLookedUpOncePerProbeTick()

    ManyOpenPortals_ChoosesTheShortestBeyondTheInitialCapacity()

    Declaration
    public void ManyOpenPortals_ChoosesTheShortestBeyondTheInitialCapacity()

    OnlyDestroyedPortals_AskNothingAndForgetTheLegMemory()

    Declaration
    public void OnlyDestroyedPortals_AskNothingAndForgetTheLegMemory()

    PreviousPortal_IsPreferredWithinTheSwitchMargin()

    Declaration
    public void PreviousPortal_IsPreferredWithinTheSwitchMargin()

    SameRoom_DoesNotRoute()

    Declaration
    public void SameRoom_DoesNotRoute()

    SetUp()

    Declaration
    public void SetUp()

    SourceInside_AsksTheLegFromTheListenerToThePortal()

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