CullingGroup.SetBoundingSpheres

public void SetBoundingSpheres(BoundingSphere[] array);

Parameters

arrayThe BoundingSpheres to cull.

Description 描述

Sets the array of bounding sphere definitions that the CullingGroup should compute culling for.

Note that the provided array is simply referenced, not copied; therefore you can simply modify the data in the array on successive frames without calling SetBoundingSpheres again each time.