文档

Unity Engine

Download Unity

Unity Engine

SetBoundingSpheres(BoundingSphere[])

Sets the array of bounding sphere definitions that the CullingGroup should compute culling for.
阅读时间1 分钟最后更新于 2 个月前

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.