Version: 2020.2
言語: 日本語

Terrain.freeUnusedRenderingResources

マニュアルに切り替える
public bool freeUnusedRenderingResources ;

説明

Whether some per-camera rendering resources for the terrain should be freed after not being used for some frames.

By default this property is true, meaning these rendering resources will be deleted from memory if the camera they are associated with has not rendered for 100 frames. Sometimes this behavior might not be desired, because the next time these resources are required (when the camera starts to render again), we have to reallocate them, which can cause performance hiccup. In that case set this property to false to keep those resources in memory unless the camera they are associated with is destroyed.

The value is not serialized with Terrain component.