docs.unity3d.com
    Show / Hide Table of Contents

    Class NetworkTimeTests

    Inheritance
    Object
    NetworkTimeTests
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Netcode.EditorTests
    Syntax
    public class NetworkTimeTests

    Methods

    NetworkTickAdvanceTest()

    Declaration
    public void NetworkTickAdvanceTest()

    NetworkTimeAddFloatTest(Double)

    Declaration
    public void NetworkTimeAddFloatTest(double time)
    Parameters
    Type Name Description
    Double time

    NetworkTimeAddNetworkTimeTest(Double)

    Declaration
    public void NetworkTimeAddNetworkTimeTest(double time)
    Parameters
    Type Name Description
    Double time

    NetworkTimeAdvanceTest()

    Declaration
    public void NetworkTimeAdvanceTest()

    NetworkTimeCreate(Double, Double, Double)

    Declaration
    public void NetworkTimeCreate(double time, double tickOffset, double epsilon = 0.0001)
    Parameters
    Type Name Description
    Double time
    Double tickOffset
    Double epsilon

    NetworkTimeDefault()

    Declaration
    public void NetworkTimeDefault()

    NetworkTimeSubFloatTest(Double)

    Declaration
    public void NetworkTimeSubFloatTest(double time)
    Parameters
    Type Name Description
    Double time

    NetworkTimeSubNetworkTimeTest(Double)

    Declaration
    public void NetworkTimeSubNetworkTimeTest(double time)
    Parameters
    Type Name Description
    Double time

    TestFailCreateInvalidTime(Double, UInt32)

    Declaration
    public void TestFailCreateInvalidTime(double time, uint tickrate)
    Parameters
    Type Name Description
    Double time
    UInt32 tickrate

    TestTimeAsFloat(Double, Single, UInt32)

    Declaration
    public void TestTimeAsFloat(double d, float f, uint tickRate)
    Parameters
    Type Name Description
    Double d
    Single f
    UInt32 tickRate

    TestToFixedTime(Double, Double, UInt32)

    Declaration
    public void TestToFixedTime(double time, double expectedFixedTime, uint tickRate)
    Parameters
    Type Name Description
    Double time
    Double expectedFixedTime
    UInt32 tickRate
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023