StaticOcclusionCulling 静态遮挡剔除
StaticOcclusionCulling lets you perform static occlusion culling operations
StaticOcclusionCulling让你执行静态遮挡剔除操作。
Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.
注意:这是一个编辑器类,如果想使用它你需要把它放到工程目录下的Assets/Editor文件夹下。编辑器类在UnityEditor命名空间下。所以当使用C#脚本时,你需要在脚本前面加上 "using UnityEditor"引用。
Class Variables类变量
-
Used to check if asynchronous generation of static occlusion culling data is still running.
用于检测,是否静态遮挡剔除数据的异步生成仍在运行。 -
Returns the size in bytes that the PVS data is currently taking up in this scene on disk
返回当前场景在磁盘上PVS数据的大小(bytes) -
Returns the size in bytes that the PVS data is currently taking up in this scene in memory
返回当前场景在内存上PVS数据的大小(bytes)
Class Functions类函数
-
Used to generate static occlusion culling data. This function will not return until occlusion data is generated.
用于生成静态遮挡剔除数据。这个函数将不返回,直到遮挡数据被生成。 -
Used to compute static occlusion culling data asynchronously.
用于异步计算静态遮挡剔除数据。 -
Used to cancel asynchronous generation of static occlusion culling data.
用于取消静态遮挡剔除数据的异步生成。 -
Clears the PVS of the opened scene
清除打开场景的PVS。
最后修改:2011年6月27日 Monday 11:49