Struct SnapshotDynamicDataBuffer | Unity NetCode | 0.6.0-preview.7
docs.unity.cn
    Show / Hide Table of Contents

    Struct SnapshotDynamicDataBuffer

    A data structure used to store ghosts dynamic buffers data content. BeginArray(SnapshotHistorySize] uint dataSize, (16 bytes aligned) current serialized data length for each slot. Used for delta compression EndArray BeginArray(SnapshotHistorySize] for each buffers: uint[maskBits] elements change bitmask byte[numElements] serialized buffers data EndArray The buffer grow in size as necessary to accomodate new data. All slots have the same size, usually larger than the data size. The serialized element size is aligned to the 16 bytes boundary

    Namespace: Unity.NetCode
    Syntax
    public struct SnapshotDynamicDataBuffer : IBufferElementData

    Fields

    Value

    Declaration
    public byte Value
    Field Value
    Type Description
    Byte
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021