docs.unity.cn
    Show / Hide Table of Contents

    Method GetBufferLength

    GetBufferLength(Int32)

    Gets the current size of the buffer at the given index in the chunk

    Declaration
    public int GetBufferLength(int index)
    Parameters
    Type Name Description
    Int32 index

    The array index of the buffer to query

    Returns
    Type Description
    Int32

    The length the buffer at array index index

    Exceptions
    Type Condition
    InvalidOperationException

    Thrown if index is out of range

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023