ドキュメント

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.