Struct GhostComponentSerializer | Unity NetCode | 0.4.0-preview.1
docs.unity3d.com
    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 © 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