ドキュメント

Unity Engine

Unity Engine

DrawShadows(ref ShadowDrawingSettings)

Schedules the drawing of shadow casters for a single Light.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

DrawShadows(ShadowDrawingSettings)

注意
Deprecated. DrawShadows is obsolete and replaced with the RendererList API: construct a RendererList using ScriptableRenderContext.CreateShadowRendererList and execture it using CommandBuffer.DrawRendererList.
public void DrawShadows(ref ShadowDrawingSettings settings)

Parameters

Specifies which set of shadow casters to draw, and how to draw them.

Remarks

Please note that in the case of DrawShadows called multiple times for the same light and using split spheres, shadow casters whose shadow volumes are fully covered by an earlier split will be discarded in following splits for performance reasons. One should thus use the split with the smallest index in case of split overlaps.
Additional Resources: CullingResults, ShadowDrawingSettings.