BatchRendererGroup.SetGlobalBounds

Declaration

public void SetGlobalBounds(Bounds bounds);

Parameters

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

Description

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.


Did you find this page useful? Please give it a rating: