docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AppendEntityPatches

    AppendEntityPatches(EntityPatchInfo*, EntityOffsetInfo*, int, int, int)

    Adds EntityRemapUtility.EntityPatchInfo elements for each of the input offsets.

    Declaration
    public static EntityRemapUtility.EntityPatchInfo* AppendEntityPatches(EntityRemapUtility.EntityPatchInfo* patches, TypeManager.EntityOffsetInfo* offsets, int offsetCount, int baseOffset, int stride)
    Parameters
    Type Name Description
    EntityPatchInfo* patches

    The patch array.

    EntityOffsetInfo* offsets

    The offset array.

    int offsetCount

    The number of offsets in the array.

    int baseOffset

    The base offset of the patch.

    int stride

    The stride of the patch.

    Returns
    Type Description
    EntityPatchInfo*

    Returns a pointer to the next free slot in the patches array.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)