BatchRendererGroup.SetInstancingData

public void SetInstancingData(int batchIndex, int instanceCount, MaterialPropertyBlock customProps);

Parameters

batchIndexBatch index.
instanceCountNew number of instances in the batch.
customPropsAdditional material properties to apply. See MaterialPropertyBlock.

Description

Updates a batch.

Did you find this page useful? Please give it a rating: