Class IntegrationTestWithApproximation
Inherited Members
Namespace: Unity.Netcode.TestHelpers .Runtime
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
Type | Name | Description |
---|---|---|
Network |
networkTopologyType |
IntegrationTestWithApproximation(HostOrServer)
Declaration
public IntegrationTestWithApproximation(NetcodeIntegrationTest.HostOrServer hostOrServer)
Parameters
Type | Name | Description |
---|---|---|
Netcode |
hostOrServer |
Methods
Approximately(float, float)
Declaration
protected bool Approximately(float a, float b)
Parameters
Returns
Type | Description |
---|---|
bool |
Approximately(Quaternion, Quaternion)
Declaration
protected bool Approximately(Quaternion a, Quaternion b)
Parameters
Type | Name | Description |
---|---|---|
Quaternion | a | |
Quaternion | b |
Returns
Type | Description |
---|---|
bool |
Approximately(Vector2, Vector2)
Declaration
protected bool Approximately(Vector2 a, Vector2 b)
Parameters
Returns
Type | Description |
---|---|
bool |
Approximately(Vector3, Vector3)
Declaration
protected bool Approximately(Vector3 a, Vector3 b)
Parameters
Returns
Type | Description |
---|---|
bool |
ApproximatelyEuler(float, float)
Declaration
protected bool ApproximatelyEuler(float a, float b)
Parameters
Returns
Type | Description |
---|---|
bool |
ApproximatelyEuler(Vector3, Vector3)
Declaration
protected bool ApproximatelyEuler(Vector3 a, Vector3 b)
Parameters
Returns
Type | Description |
---|---|
bool |
EulerDelta(float, float)
Declaration
protected float EulerDelta(float a, float b)
Parameters
Returns
Type | Description |
---|---|
float |
EulerDelta(Vector3, Vector3)
Declaration
protected Vector3 EulerDelta(Vector3 a, Vector3 b)
Parameters
Returns
Type | Description |
---|---|
Vector3 |
GetDeltaVarianceThreshold()
Declaration
protected virtual float GetDeltaVarianceThreshold()
Returns
Type | Description |
---|---|
float |
GetRandomVector3(float, float)
Declaration
protected Vector3 GetRandomVector3(float min, float max)
Parameters
Returns
Type | Description |
---|---|
Vector3 |
GetVector3Values(Vector3)
Declaration
protected string GetVector3Values(Vector3 vector3)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | vector3 |
Returns
Type | Description |
---|---|
string |
GetVector3Values(ref Vector3)
Declaration
protected string GetVector3Values(ref Vector3 vector3)
Parameters
Type | Name | Description |
---|---|---|
Vector3 | vector3 |
Returns
Type | Description |
---|---|
string |