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

CullingParameters.GetLayerCullDistance

切换到手册
public float GetLayerCullDistance (int layerIndex);

参数

layerIndex Game object layer index (0 to 31).

返回

float Distance beyond which objects in this layer are culled.

描述

Get per-layer culling distance.