CullingGroup.SetBoundingSpheres

切换到手册
public void SetBoundingSpheres (BoundingSphere[] array);

参数

array要剔除的 BoundingSphere

描述

设置 CullingGroup 应为其计算剔除的包围球体定义的数组。

注意,提供的数组仅被引用,而不是被复制;因此,您可以仅修改连续帧上的该数组中的数据,无需每次重新调用 SetBoundingSpheres。