文档

Unity Engine

Unity Engine

Execute(int)

Filter function. A list of indices is provided when scheduling this job type. The Execute function will be called once for each index returning true or false if the job data at the passed in index should be filtered or not.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: Unity.Jobs
  • Assembly: UnityEngine.ManagedKernelModule
bool Execute(int index)

Parameters

index

Index to use when reading job data for the purpose of filtering

Returns

Type

Description

boolReturns true for data at index