docs.unity.cn
    Show / Hide Table of Contents

    Method ResizeUninitialized

    ResizeUninitialized(Int32, Int32)

    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
    Int32 index
    Int32 length
    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
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use