ClothRenderer.pauseWhenNotVisible 不可见时暂停


var pauseWhenNotVisible : bool

Description描述

Pause the cloth simulation, when the   ClothRenderer is not currently visible.

在ClothRenderer不可见的时,暂停布料模拟。

If this is enable, the cloth will only be   simulated, while the cloth is visible to any camera. This can improve   performance of the physics simulation.

如果这个属性开启,布料只会在任意相机中可见时模拟。这样可改善物理模拟的性能。

pauseWhenNotVisible = true;


,