Version: 2017.1
Experimental: this API is experimental and might be changed or removed in the future.

CullingParameters.SetLayerCullDistance

切换到手册
public void SetLayerCullDistance (int layerIndex, float distance);

参数

layerIndex Game object layer index (0 to 31).
distance Distance beyond which objects in this layer are culled.

描述

Set per-layer culling distance.