docs.unity.cn
    Show / Hide Table of Contents

    Method GetUnsafePtr

    GetUnsafePtr(Int32)

    Gets the unsafe pointer to buffer elements at the given index in the chunk

    Declaration
    public void *GetUnsafePtr(int index)
    Parameters
    Type Name Description
    Int32 index

    The array index of the buffer to query

    Returns
    Type Description
    Void*

    The base pointer for 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