Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetBoundingSpheres(BoundingSphere[])

Sets the array of bounding sphere definitions that the CullingGroup should compute culling for.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void SetBoundingSpheres(BoundingSphere[] array)

Parameters

Remarks

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.