Version: 2022.3
public void SetGlobalBounds (Bounds bounds);

参数

bounds The center and the size of the global batch bounding box.

描述

Set the bounds of the BatchRendererGroup. The bounds should encapsulate the render bounds of every object rendered with this BatchRendererGroup. Unity uses these bounds internally for culling.