Version: 2020.2
言語: 日本語
public int visibleCount ;

説明

Output property that has to be set to the number of visible instances in the batch after culling.

Note: Setting it to -1 will render all instances in the batch disregarding the data in BatchCullingContext.visibleIndices. As a quick optimization, if all the instances in a batch end up being visible after the culling, it's best to set visibleCount property to -1 to avoid the indirection of rendering using visibleIndices.

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