文档

Unity Engine

Unity Engine

projectionType

The projection type of the shadow-casting light to be rendered. For example, directional light shadow-maps will have orthographic projection. Spot lights will usually have perspective projection, but you might want to implement orthographically-projected box-shaped spot lights in your scriptable
阅读时间1 分钟最后更新于 4 小时前

Definition

警告
Deprecated. ShadowDrawingSettings.projectionType is deprecated. There is no replacement for this parameter. You don't need to set it anymore.
public BatchCullingProjectionType projectionType { get; set; }

Remarks

Additional Resources: BatchCullingProjectionType enum.