Documentation

Unity Engine

Unity Engine

ResetBounds()

Reset custom world space bounds.
Read time 1 minuteLast updated 2 months ago

Definition

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

Remarks

After you have set up custom world space bounding volume override with Renderer.bounds, you can remove it with ResetBounds. This makes the renderer use default world space bounding volume.