docs.unity.cn
    Show / Hide Table of Contents

    Class NetworkTransformStateTests

    Inheritance
    Object
    NetworkTransformStateTests
    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
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 21, 2023
    Terms of use