Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResetLocalBounds()

Reset custom local space bounds.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public void ResetLocalBounds()

Remarks

After you have set up custom local space bounding volume override with Renderer.localBounds, you can remove it with
ResetLocalBounds
. This makes the renderer use default local space bounding volume.