docs.unity.cn
    Show / Hide Table of Contents

    Method Clear

    Clear()

    Sets the buffer length to zero.

    Declaration
    public void Clear()
    Implements
    INativeList<T>.Clear()
    Remarks

    The capacity of the buffer remains unchanged. Buffer memory is not overwritten.

    Examples
            buffer.Clear();
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use