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

    Struct GhostComponentSerializer

    Namespace: Unity.NetCode.LowLevel.Unsafe
    Syntax
    public struct GhostComponentSerializer

    Methods

    CopyFromChangeMask(IntPtr, Int32, Int32)

    Declaration
    public static uint CopyFromChangeMask(IntPtr bitData, int offset, int numBits)
    Parameters
    Type Name Description
    IntPtr bitData
    Int32 offset
    Int32 numBits
    Returns
    Type Description
    UInt32

    CopyToChangeMask(IntPtr, UInt32, Int32, Int32)

    Declaration
    public static void CopyToChangeMask(IntPtr bitData, uint src, int offset, int numBits)
    Parameters
    Type Name Description
    IntPtr bitData
    UInt32 src
    Int32 offset
    Int32 numBits

    TypeCast<T>(IntPtr, Int32)

    Declaration
    public static T TypeCast<T>(IntPtr value, int offset = 0)
        where T : struct
    Parameters
    Type Name Description
    IntPtr value
    Int32 offset
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021