Class NetworkTransformStateTests
Inherited Members
Namespace: Unity.Netcode.RuntimeTests
Syntax
public class NetworkTransformStateTests
Constructors
NetworkTransformStateTests(NetworkTransformStateTests.TransformSpace, NetworkTransformStateTests.Precision, NetworkTransformStateTests.Rotation)
Declaration
public NetworkTransformStateTests(NetworkTransformStateTests.TransformSpace transformSpace, NetworkTransformStateTests.Precision precision, NetworkTransformStateTests.Rotation rotation)
Parameters
Type | Name | Description |
---|---|---|
NetworkTransformStateTests.TransformSpace | transformSpace | |
NetworkTransformStateTests.Precision | precision | |
NetworkTransformStateTests.Rotation | rotation |
Methods
TestSyncAxes(NetworkTransformStateTests.SynchronizationType, NetworkTransformStateTests.SyncAxis)
Declaration
public void TestSyncAxes(NetworkTransformStateTests.SynchronizationType synchronizationType, NetworkTransformStateTests.SyncAxis syncAxis)
Parameters
Type | Name | Description |
---|---|---|
NetworkTransformStateTests.SynchronizationType | synchronizationType | |
NetworkTransformStateTests.SyncAxis | syncAxis |
TestThresholds(Single, Single, Single)
Declaration
public void TestThresholds(float positionThreshold, float rotAngleThreshold, float scaleThreshold)
Parameters
Type | Name | Description |
---|---|---|
Single | positionThreshold | |
Single | rotAngleThreshold | |
Single | scaleThreshold |