Class UnityPhysicsOcclusionProbeFallbackMemoryTests
Real-physics tests for the memory the fallback of Serenity.AudioPlayer.Infrastructure.Services.UnityPhysicsOcclusionProbe keeps per voice: a voice that holds still behind a collider whose bounds mislead costs one ray per tick instead of a full fallback, and any change of the listener, the source, the collider or the layers makes the next tick cast the fallback again.
Inherited Members
Namespace: Serenity.UnityAudioPlayer.Tests.Infrastructure
Assembly: Tests.dll
Syntax
public class UnityPhysicsOcclusionProbeFallbackMemoryTests
Constructors
UnityPhysicsOcclusionProbeFallbackMemoryTests()
Declaration
public UnityPhysicsOcclusionProbeFallbackMemoryTests()
Methods
Occlusion_AnotherColliderBlocksTheLine_CastsTheFallbackAgain()
Declaration
public void Occlusion_AnotherColliderBlocksTheLine_CastsTheFallbackAgain()
Occlusion_AnotherLayerMask_CastsTheFallbackAgain()
Declaration
public void Occlusion_AnotherLayerMask_CastsTheFallbackAgain()
Occlusion_ColliderMovedBeyondTheReuseDistance_CastsTheFallbackAgain()
Declaration
public void Occlusion_ColliderMovedBeyondTheReuseDistance_CastsTheFallbackAgain()
Occlusion_FallbackWithMemory_AllocatesNothing()
Declaration
public void Occlusion_FallbackWithMemory_AllocatesNothing()
Occlusion_ListenerMovedBeyondTheReuseDistance_CastsTheFallbackAgain()
Declaration
public void Occlusion_ListenerMovedBeyondTheReuseDistance_CastsTheFallbackAgain()
Occlusion_ListenerMovedWithinTheReuseDistance_KeepsReusing()
Declaration
public void Occlusion_ListenerMovedWithinTheReuseDistance_KeepsReusing()
Occlusion_MemoryReusedAfterTheFullDetourChanged_NoNewCastsAndTheAmountFollowsTheStoredShare()
Declaration
public void Occlusion_MemoryReusedAfterTheFullDetourChanged_NoNewCastsAndTheAmountFollowsTheStoredShare()
Occlusion_StaticVoice_CastsTheFallbackAgainAfterTheMaximumReuses()
Declaration
public void Occlusion_StaticVoice_CastsTheFallbackAgainAfterTheMaximumReuses()
Occlusion_StaticVoice_CastsTheFallbackOnceThenOneRayPerTick()
Declaration
public void Occlusion_StaticVoice_CastsTheFallbackOnceThenOneRayPerTick()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()