文档

Unity Engine

Unity Engine

BeginForEachIndex(int)

Readies this reader to read a particular buffer of the stream.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public int BeginForEachIndex(int foreachIndex)

Parameters

foreachIndex

The index of the buffer to read.

Returns

Type

Description

intThe number of elements left to read from the buffer.

Remarks

Must be called before using this reader. For an individual reader, call this method only once.
When done using this reader, you must call NativeStream.Reader.EndForEachIndex.