Experimental: this API is experimental and might be changed or removed in the future.

ArrayEntries<T0>.GetEntries

Cambiar al Manual
public void GetEntries (uint indexStart, uint numEntries, ref T[] dataOut);

Parámetros

indexStartIndex to start indexing the entries.
numEntriesNumber of elements to retrieve.
dataOutAn array to store the returned data in.

Descripción

Retrieves a subset of entries in an array.

GetEntries retrieves the number of entries specified by the numEntries parameter, starting at index as specified by the indexStart Parameter. The entries are written to the array specified by the dataOut parameter.

The method throws an IOException if you try to retrieve entries past the end of the of array (entryIndex plus numEntries is greater than the number of entries in the array) or the number of entries to retrieve is greater than the size of the dataOut array.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961