Version: 2022.3

CullingResults.SetReflectionProbeIndexMap

切换到手册
public void SetReflectionProbeIndexMap (NativeArray<int> lightIndexMap);

参数

lightIndexMap VisibleReflectionProbe 映射到每个对象的内部反射探针列表的反射探针索引数组。

描述

如果 RenderPipelineVisibleReflectionProbe 列表进行排序或以其他方式进行修改,则需要重新映射索引,以正确使用每个对象的反射探针列表。

If an element of the array is set to -1, the reflection probe corresponding to that element will be disabled. See Also:: CullingResults.GetReflectionProbeIndexMap, CullingResults.