ドキュメント

Unity Engine

Unity Engine

ShadowDrawingSettings

Create a shadow settings object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

ShadowDrawingSettings(CullingResults, int)

Create a shadow settings object.
public ShadowDrawingSettings(CullingResults cullingResults, int lightIndex)

Parameters

cullingResults


lightIndex

The light index.

Remarks

Additional Resources: CullingResults.

ShadowDrawingSettings(CullingResults, int, BatchCullingProjectionType)

Create a shadow settings object.
注意
Deprecated. ShadowDrawingSettings(CullingResults, int, BatchCullingProjectionType) is deprecated. Use ShadowDrawingSettings(CullingResults, int) instead.
public ShadowDrawingSettings(CullingResults cullingResults, int lightIndex, BatchCullingProjectionType projectionType)

Parameters

cullingResults


lightIndex

The light index.

The projection type of the shadow map. For directional lights this is usually BatchCullingProjectionType.Orthographic and for point or spot lights, it is usually BatchCullingProjectionType.Perspective.

Remarks

Additional Resources: CullingResults.