ドキュメント

Unity Engine

Unity Engine

CullShadowCasters(CullingResults, ShadowCastersCullingInfos)

Performs shadow casters culling for all the visible lights.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void CullShadowCasters(CullingResults cullingResults, ShadowCastersCullingInfos infos)

Parameters

cullingResults

Culling results to use.

Shadow casters culling information.

Remarks

This function schedules the shadow casters culling jobs. It is recommended to call this function as early as possible so that there is more room for the culling jobs to execute in the background. If you call this function, the fields ShadowDrawingSettings.splitData and ShadowDrawingSettings.projectionType are ignored by Unity. Those fields are already provided via ShadowCastersCullingInfos and then stored internally so that Unity can reuse them as needed.