docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ResizeUninitialized

    ResizeUninitialized(int, int)

    Increases the buffer capacity and length of the buffer associated to the entity at the given index in the chunk

    Declaration
    public void ResizeUninitialized(int index, int length)
    Parameters
    Type Name Description
    int index

    The array index of the buffer to query

    int length

    the new length of the buffer

    Remarks

    If length is less than the current length of the buffer at index index, the length of the buffer is reduced while the capacity remains unchanged.

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if index is out of range

    In This Article
    • ResizeUninitialized(int, int)
    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)