CullingGroup.SetBoundingSpheres

Switch to Manual
public void SetBoundingSpheres (BoundingSphere[] array);

Parameters

array要剔除的 BoundingSphere

Description

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

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