docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PatchEntities

    PatchEntities(EntityPatchInfo*, int, BufferEntityPatchInfo*, int, byte*, int, ref NativeArray<EntityRemapInfo>)

    Applies a set of entity patches.

    Declaration
    public static void PatchEntities(EntityRemapUtility.EntityPatchInfo* scalarPatches, int scalarPatchCount, EntityRemapUtility.BufferEntityPatchInfo* bufferPatches, int bufferPatchCount, byte* chunkBuffer, int entityCount, ref NativeArray<EntityRemapUtility.EntityRemapInfo> remapping)
    Parameters
    Type Name Description
    EntityPatchInfo* scalarPatches

    The scalar patches to apply.

    int scalarPatchCount

    The number of scalar patches.

    BufferEntityPatchInfo* bufferPatches

    The buffer patches to apply.

    int bufferPatchCount

    The number of buffer patches.

    byte* chunkBuffer

    The chunk buffer, where the patches are applied.

    int entityCount

    The number of entities in the chunk.

    NativeArray<EntityRemapUtility.EntityRemapInfo> remapping

    The remapping 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)