Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

BatchQueryJob<T0,T1>.BatchQueryJob(NativeArray<CommandT> commands, NativeArray<ResultT> results)

Parameters

commands A NativeArray<T0> that contains the commands to execute during a batch. The job that executes the query only reads from this native array, and doesn't write to it.
results A NativeArray<T0> to contain the results from the commands. The job that executes the query writes to this native array.

Description

Initializes and returns an instance of BatchQueryJob<T0,T1>.