Class IntegrationTestWithApproximation
Inheritance
IntegrationTestWithApproximation
Assembly: Unity.Netcode.TestHelpers.Runtime.dll
Syntax
public abstract class IntegrationTestWithApproximation : NetcodeIntegrationTest
Constructors
IntegrationTestWithApproximation()
Declaration
public IntegrationTestWithApproximation()
IntegrationTestWithApproximation(NetworkTopologyTypes)
Declaration
public IntegrationTestWithApproximation(NetworkTopologyTypes networkTopologyType)
Parameters
IntegrationTestWithApproximation(HostOrServer)
Declaration
public IntegrationTestWithApproximation(NetcodeIntegrationTest.HostOrServer hostOrServer)
Parameters
Methods
Approximately(float, float)
Declaration
protected bool Approximately(float a, float b)
Parameters
Returns
Approximately(Quaternion, Quaternion)
Declaration
protected bool Approximately(Quaternion a, Quaternion b)
Parameters
Returns
Approximately(Vector2, Vector2)
Declaration
protected bool Approximately(Vector2 a, Vector2 b)
Parameters
Returns
Approximately(Vector3, Vector3)
Declaration
protected bool Approximately(Vector3 a, Vector3 b)
Parameters
Returns
ApproximatelyEuler(float, float)
Declaration
protected bool ApproximatelyEuler(float a, float b)
Parameters
Returns
ApproximatelyEuler(Vector3, Vector3)
Declaration
protected bool ApproximatelyEuler(Vector3 a, Vector3 b)
Parameters
Returns
EulerDelta(float, float)
Declaration
protected float EulerDelta(float a, float b)
Parameters
Returns
EulerDelta(Vector3, Vector3)
Declaration
protected Vector3 EulerDelta(Vector3 a, Vector3 b)
Parameters
Returns
GetDeltaVarianceThreshold()
Declaration
protected virtual float GetDeltaVarianceThreshold()
Returns
GetRandomVector3(float, float)
Declaration
protected Vector3 GetRandomVector3(float min, float max)
Parameters
Returns
GetVector3Values(Vector3)
Declaration
protected string GetVector3Values(Vector3 vector3)
Parameters
Type |
Name |
Description |
Vector3 |
vector3 |
|
Returns
GetVector3Values(ref Vector3)
Declaration
protected string GetVector3Values(ref Vector3 vector3)
Parameters
Type |
Name |
Description |
Vector3 |
vector3 |
|
Returns