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

CullingParameters.SetLayerCullDistance

Switch to Manual
public void SetLayerCullDistance (int layerIndex, float distance);

Parameters

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

Description

Set per-layer culling distance.