Struct LagCompensationTestCommand | Unity NetCode | 0.2.0-preview.5
docs.unity3d.com
    Show / Hide Table of Contents

    Struct LagCompensationTestCommand

    Namespace: Unity.NetCode.Physics.Tests
    Syntax
    public struct LagCompensationTestCommand : ICommandData<LagCompensationTestCommand>, IBufferElementData

    Fields

    direction

    Declaration
    public float3 direction
    Field Value
    Type Description
    float3

    lastFire

    Declaration
    public uint lastFire
    Field Value
    Type Description
    UInt32

    origin

    Declaration
    public float3 origin
    Field Value
    Type Description
    float3

    tick

    Declaration
    public uint tick
    Field Value
    Type Description
    UInt32

    Properties

    Tick

    Declaration
    public uint Tick { get; }
    Property Value
    Type Description
    UInt32
    Implements
    ICommandData<T>.Tick

    Methods

    Deserialize(UInt32, ref DataStreamReader)

    Declaration
    public void Deserialize(uint t, ref DataStreamReader reader)
    Parameters
    Type Name Description
    UInt32 t
    DataStreamReader reader
    Implements
    ICommandData<T>.Deserialize(UInt32, ref DataStreamReader)

    Deserialize(UInt32, ref DataStreamReader, LagCompensationTestCommand, NetworkCompressionModel)

    Declaration
    public void Deserialize(uint t, ref DataStreamReader reader, LagCompensationTestCommand baseline, NetworkCompressionModel model)
    Parameters
    Type Name Description
    UInt32 t
    DataStreamReader reader
    LagCompensationTestCommand baseline
    NetworkCompressionModel model
    Implements
    ICommandData<T>.Deserialize(UInt32, ref DataStreamReader, T, NetworkCompressionModel)

    Serialize(ref DataStreamWriter)

    Declaration
    public void Serialize(ref DataStreamWriter writer)
    Parameters
    Type Name Description
    DataStreamWriter writer
    Implements
    ICommandData<T>.Serialize(ref DataStreamWriter)

    Serialize(ref DataStreamWriter, LagCompensationTestCommand, NetworkCompressionModel)

    Declaration
    public void Serialize(ref DataStreamWriter writer, LagCompensationTestCommand baseline, NetworkCompressionModel model)
    Parameters
    Type Name Description
    DataStreamWriter writer
    LagCompensationTestCommand baseline
    NetworkCompressionModel model
    Implements
    ICommandData<T>.Serialize(ref DataStreamWriter, T, NetworkCompressionModel)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023