ドキュメント

Unity Engine

Unity Engine

m_ThreadIndex

Returns the index of the current thread.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public int m_ThreadIndex { get; }

Remarks

In a job, each thread gets its own copy of the ParallelWriter struct, and the job system assigns each copy the index of its thread.