Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BatchQueryJob(NativeArray<CommandT>, NativeArray<ResultT>)

Initializes and returns an instance of BatchQueryJob<CommandT, ResultT>.
Read time 1 minuteLast updated 13 days ago

Definition

BatchQueryJob(NativeArray<T>, NativeArray<T>)

public BatchQueryJob(NativeArray<CommandT> commands, NativeArray<ResultT> results)

Parameters

A NativeArray<T> 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.

A NativeArray<T> to contain the results from the commands. The job that executes the query writes to this native array.