Version: 2021.2

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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961