文档

Unity Engine


User Manual

Script Reference

Unity Engine


ResetBounds()

Reset custom world space bounds.
阅读时间1 分钟最后更新于 1 个月前

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.