logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityPhysicsOcclusionProbeFallbackTests

    Real-physics tests for the multi-ray fallback of Serenity.AudioPlayer.Infrastructure.Services.UnityPhysicsOcclusionProbe: when the bounds of the blocking collider mislead (a mesh that is not convex, terrain, a large wall seen at a diagonal), three waypoint paths around the middle of the line are cast instead, and the share of them that is blocked sets the amount. Gates are small boxes placed exactly on a waypoint to block that path and no other.

    Inheritance
    object
    UnityPhysicsOcclusionProbeFallbackTests
    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 UnityPhysicsOcclusionProbeFallbackTests

    Constructors

    UnityPhysicsOcclusionProbeFallbackTests()

    Declaration
    public UnityPhysicsOcclusionProbeFallbackTests()

    Methods

    IsBoundsMisleading_TerrainCollider_IsTrue()

    Declaration
    public void IsBoundsMisleading_TerrainCollider_IsTrue()

    Occlusion_BlockedFallbackPaths_AmountRisesFromTheCurveToFull(int)

    Declaration
    public void Occlusion_BlockedFallbackPaths_AmountRisesFromTheCurveToFull(int blockedPaths)
    Parameters
    Type Name Description
    int blockedPaths

    Occlusion_EveryFallbackPathBlocked_IsFullOcclusion()

    Declaration
    public void Occlusion_EveryFallbackPathBlocked_IsFullOcclusion()

    Occlusion_Fallback_AllocatesNothing()

    Declaration
    public void Occlusion_Fallback_AllocatesNothing()

    Occlusion_GradedTerrainRidge_TakesTheFallbackAndEveryPathIsBlocked()

    Declaration
    public void Occlusion_GradedTerrainRidge_TakesTheFallbackAndEveryPathIsBlocked()

    Occlusion_LargeWallAtADiagonal_TakesTheFallbackAndOnlyTheWayOverItIsFree()

    Declaration
    public void Occlusion_LargeWallAtADiagonal_TakesTheFallbackAndOnlyTheWayOverItIsFree()

    Occlusion_NonConvexMeshWithEveryPathFree_IsTheCurveAtHalfTheFullLengthWithinTheCastBudget()

    Declaration
    public void Occlusion_NonConvexMeshWithEveryPathFree_IsTheCurveAtHalfTheFullLengthWithinTheCastBudget()

    Occlusion_SourceEnclosedByALargeConvexHull_TheHullIsNotAWallOnAnyPath()

    Declaration
    public void Occlusion_SourceEnclosedByALargeConvexHull_TheHullIsNotAWallOnAnyPath()

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

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