docs.unity3d.com
    Show / Hide Table of Contents

    Class IntegrationTestWithApproximation

    Inheritance
    Object
    NetcodeIntegrationTest
    IntegrationTestWithApproximation
    NetworkTransformTests
    Inherited Members
    NetcodeIntegrationTest.s_GlobalTimeoutHelper
    NetcodeIntegrationTest.s_DefaultWaitForTick
    NetcodeIntegrationTest.NetcodeLogAssert
    NetcodeIntegrationTest.s_GlobalNetworkObjects
    NetcodeIntegrationTest.RegisterNetworkObject(NetworkObject)
    NetcodeIntegrationTest.DeregisterNetworkObject(NetworkObject)
    NetcodeIntegrationTest.DeregisterNetworkObject(UInt64, UInt64)
    NetcodeIntegrationTest.TotalClients
    NetcodeIntegrationTest.k_DefaultTickRate
    NetcodeIntegrationTest.NumberOfClients
    NetcodeIntegrationTest.m_CreateServerFirst
    NetcodeIntegrationTest.m_PlayerPrefab
    NetcodeIntegrationTest.m_ServerNetworkManager
    NetcodeIntegrationTest.m_ClientNetworkManagers
    NetcodeIntegrationTest.m_PlayerNetworkObjects
    NetcodeIntegrationTest.m_UseHost
    NetcodeIntegrationTest.m_TargetFrameRate
    NetcodeIntegrationTest.m_EnableVerboseDebug
    NetcodeIntegrationTest.m_BypassConnectionTimeout
    NetcodeIntegrationTest.m_EnableTimeTravel
    NetcodeIntegrationTest.m_SetupIsACoroutine
    NetcodeIntegrationTest.m_TearDownIsACoroutine
    NetcodeIntegrationTest.VerboseDebug(String)
    NetcodeIntegrationTest.OnSetVerboseDebug()
    NetcodeIntegrationTest.OnSetIntegrationTestMode()
    NetcodeIntegrationTest.OnOneTimeSetup()
    NetcodeIntegrationTest.OneTimeSetup()
    NetcodeIntegrationTest.OnSetup()
    NetcodeIntegrationTest.OnInlineSetup()
    NetcodeIntegrationTest.SetUp()
    NetcodeIntegrationTest.OnCreatePlayerPrefab()
    NetcodeIntegrationTest.OnPlayerPrefabGameObjectCreated()
    NetcodeIntegrationTest.OnServerAndClientsCreated()
    NetcodeIntegrationTest.CreateServerAndClients()
    NetcodeIntegrationTest.OnNewClientCreated(NetworkManager)
    NetcodeIntegrationTest.OnNewClientStarted(NetworkManager)
    NetcodeIntegrationTest.OnNewClientStartedAndConnected(NetworkManager)
    NetcodeIntegrationTest.CreateAndStartNewClient()
    NetcodeIntegrationTest.CreateAndStartNewClientWithTimeTravel()
    NetcodeIntegrationTest.StopOneClient(NetworkManager, Boolean)
    NetcodeIntegrationTest.StopOneClientWithTimeTravel(NetworkManager, Boolean)
    NetcodeIntegrationTest.CreateServerAndClients(Int32)
    NetcodeIntegrationTest.CanStartServerAndClients()
    NetcodeIntegrationTest.OnStartedServerAndClients()
    NetcodeIntegrationTest.OnTimeTravelStartedServerAndClients()
    NetcodeIntegrationTest.OnServerAndClientsConnected()
    NetcodeIntegrationTest.OnTimeTravelServerAndClientsConnected()
    NetcodeIntegrationTest.ClientNetworkManagerPostStartInit()
    NetcodeIntegrationTest.LogAllMessages
    NetcodeIntegrationTest.StartServerAndClients()
    NetcodeIntegrationTest.StartServerAndClientsWithTimeTravel()
    NetcodeIntegrationTest.CanClientsLoad()
    NetcodeIntegrationTest.CanClientsUnload()
    NetcodeIntegrationTest.DeRegisterSceneManagerHandler()
    NetcodeIntegrationTest.RegisterSceneManagerHandler()
    NetcodeIntegrationTest.OnCanSceneCleanUpUnload(Scene)
    NetcodeIntegrationTest.ShutdownAndCleanUp()
    NetcodeIntegrationTest.OnTearDown()
    NetcodeIntegrationTest.OnInlineTearDown()
    NetcodeIntegrationTest.TearDown()
    NetcodeIntegrationTest.OnOneTimeTearDown()
    NetcodeIntegrationTest.OneTimeTearDown()
    NetcodeIntegrationTest.CanDestroyNetworkObject(NetworkObject)
    NetcodeIntegrationTest.DestroySceneNetworkObjects()
    NetcodeIntegrationTest.EnableMessageLogging()
    NetcodeIntegrationTest.WaitForConditionOrTimeOut(Func<Boolean>, TimeoutHelper)
    NetcodeIntegrationTest.WaitForConditionOrTimeOutWithTimeTravel(Func<Boolean>, Int32)
    NetcodeIntegrationTest.WaitForConditionOrTimeOut(IConditionalPredicate, TimeoutHelper)
    NetcodeIntegrationTest.WaitForConditionOrTimeOutWithTimeTravel(IConditionalPredicate, Int32)
    NetcodeIntegrationTest.WaitForClientsConnectedOrTimeOut(NetworkManager[])
    NetcodeIntegrationTest.WaitForClientsConnectedOrTimeOutWithTimeTravel(NetworkManager[])
    NetcodeIntegrationTest.WaitForClientsConnectedOrTimeOut()
    NetcodeIntegrationTest.WaitForClientsConnectedOrTimeOutWithTimeTravel()
    NetcodeIntegrationTest.CreateNetworkObjectPrefab(String)
    NetcodeIntegrationTest.SpawnObject(GameObject, NetworkManager, Boolean)
    NetcodeIntegrationTest.SpawnObjects(GameObject, NetworkManager, Int32, Boolean)
    NetcodeIntegrationTest.AssertOnTimeout(String, TimeoutHelper)
    NetcodeIntegrationTest.WaitForTicks(NetworkManager, Int32)
    NetcodeIntegrationTest.TimeTravel(Double, Int32)
    NetcodeIntegrationTest.TimeTravelToNextTick()
    NetcodeIntegrationTest.SimulateOneFrame()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Netcode.TestHelpers.Runtime
    Syntax
    public abstract class IntegrationTestWithApproximation : NetcodeIntegrationTest

    Methods

    Approximately(Single, Single)

    Declaration
    protected bool Approximately(float a, float b)
    Parameters
    Type Name Description
    Single a
    Single b
    Returns
    Type Description
    Boolean

    Approximately(Quaternion, Quaternion)

    Declaration
    protected bool Approximately(Quaternion a, Quaternion b)
    Parameters
    Type Name Description
    Quaternion a
    Quaternion b
    Returns
    Type Description
    Boolean

    Approximately(Vector2, Vector2)

    Declaration
    protected bool Approximately(Vector2 a, Vector2 b)
    Parameters
    Type Name Description
    Vector2 a
    Vector2 b
    Returns
    Type Description
    Boolean

    Approximately(Vector3, Vector3)

    Declaration
    protected bool Approximately(Vector3 a, Vector3 b)
    Parameters
    Type Name Description
    Vector3 a
    Vector3 b
    Returns
    Type Description
    Boolean

    ApproximatelyEuler(Single, Single)

    Declaration
    protected bool ApproximatelyEuler(float a, float b)
    Parameters
    Type Name Description
    Single a
    Single b
    Returns
    Type Description
    Boolean

    ApproximatelyEuler(Vector3, Vector3)

    Declaration
    protected bool ApproximatelyEuler(Vector3 a, Vector3 b)
    Parameters
    Type Name Description
    Vector3 a
    Vector3 b
    Returns
    Type Description
    Boolean

    EulerDelta(Single, Single)

    Declaration
    protected float EulerDelta(float a, float b)
    Parameters
    Type Name Description
    Single a
    Single b
    Returns
    Type Description
    Single

    EulerDelta(Vector3, Vector3)

    Declaration
    protected Vector3 EulerDelta(Vector3 a, Vector3 b)
    Parameters
    Type Name Description
    Vector3 a
    Vector3 b
    Returns
    Type Description
    Vector3

    GetDeltaVarianceThreshold()

    Declaration
    protected virtual float GetDeltaVarianceThreshold()
    Returns
    Type Description
    Single

    GetRandomVector3(Single, Single)

    Declaration
    protected Vector3 GetRandomVector3(float min, float max)
    Parameters
    Type Name Description
    Single min
    Single max
    Returns
    Type Description
    Vector3
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023