Class UnityAudioDepthCueControllerRoomRouteTests
Tests for how the depth-cue controller keeps a route through a room's portals: only the shortest portal is asked about, it stays chosen inside a margin and gives way beyond it, the heard distance glides through a switch, the way to the portal has a fallback memory of its own, a new play forgets the route, a voice that pauses keeps it, the emitter is never moved, and the cutoff and the reverb cap follow the path through the doorway.
Inheritance
UnityAudioDepthCueControllerRoomRouteTests
Inherited Members
Namespace: Serenity.UnityAudioPlayer.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityAudioDepthCueControllerRoomRouteTests : DepthCueRoomSceneFixture
Constructors
UnityAudioDepthCueControllerRoomRouteTests()
Declaration
public UnityAudioDepthCueControllerRoomRouteTests()
Methods
BlockedBestPortal_NotRouted()
Declaration
public void BlockedBestPortal_NotRouted()
LegQuestion_UsesSeparateFallbackMemory()
Declaration
public void LegQuestion_UsesSeparateFallbackMemory()
NewPlay_ForgetsTheRoute()
Declaration
public void NewPlay_ForgetsTheRoute()
OtherPortalShorterBy_TakesOverOnlyBeyondTheSwitchMargin(float, bool)
Declaration
public void OtherPortalShorterBy_TakesOverOnlyBeyondTheSwitchMargin(float shorterByMeters, bool takesOver)
Parameters
| Type | Name | Description |
|---|---|---|
| float | shorterByMeters | |
| bool | takesOver |
PausedVoice_KeepsItsRouteAndResumesWithoutAStep()
Declaration
public void PausedVoice_KeepsItsRouteAndResumesWithoutAStep()
PortalSwitch_HeardDistanceNeverSteps()
Declaration
public void PortalSwitch_HeardDistanceNeverSteps()
ReverbCap_RoutedVoice_IsRankedByItsPathLength()
Declaration
public void ReverbCap_RoutedVoice_IsRankedByItsPathLength()
Routed_CutoffFollowsThePathLength()
Declaration
public void Routed_CutoffFollowsThePathLength()
Routing_NeverWritesEmitterTransform()
Declaration
public void Routing_NeverWritesEmitterTransform()