logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    AudioOcclusionDetourFallbackTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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()
    In this article
    © 2026 Serenity. All Rights Reserved