기술 자료

Unity Engine

Unity Engine

ShadowDrawingSettings

Create a shadow settings object.
읽는 시간 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.