Class AudioOcclusionDetourFallbackTests
Scenarios for the directions and the offset AudioOcclusionDetour hands the occlusion probe to cast its fallback paths: which way is up and sideways for a given line, and how far from the middle of the line a waypoint must sit for the two-leg path through it to be a chosen amount longer than the straight line.
Inherited Members
Namespace: Serenity.AudioPlayer.Tests.Domain
Assembly: Tests.dll
Syntax
public class AudioOcclusionDetourFallbackTests
Constructors
AudioOcclusionDetourFallbackTests()
Declaration
public AudioOcclusionDetourFallbackTests()
Methods
TryGetFallbackDirections_CoincidentPoints_HasNoDirections()
Declaration
public void TryGetFallbackDirections_CoincidentPoints_HasNoDirections()
TryGetFallbackDirections_HorizontalRay_UpIsWorldUpAndSideIsHorizontal()
Declaration
public void TryGetFallbackDirections_HorizontalRay_UpIsWorldUpAndSideIsHorizontal()
TryGetFallbackDirections_InclinedRay_UpTiltsToStayPerpendicularToTheRay()
Declaration
public void TryGetFallbackDirections_InclinedRay_UpTiltsToStayPerpendicularToTheRay()
TryGetFallbackDirections_VerticalRay_UsesTheWorldXAxisAsUp()
Declaration
public void TryGetFallbackDirections_VerticalRay_UsesTheWorldXAxisAsUp()
WaypointOffsetForExtraPath_NoExtraPath_IsZero(float)
Declaration
public void WaypointOffsetForExtraPath_NoExtraPath_IsZero(float extraMeters)
Parameters
| Type | Name | Description |
|---|---|---|
| float | extraMeters |
WaypointOffsetForExtraPath_ThreeMetersOver_PutsTheWaypointWhereTheTwoLegsAddUp()
Declaration
public void WaypointOffsetForExtraPath_ThreeMetersOver_PutsTheWaypointWhereTheTwoLegsAddUp()