Enum ShadowCaster2D.ShadowCastingOptions
Options for what type of shadows are cast.
네임스페이스: UnityEngine.Rendering.Universal
어셈블리: solution.dll
구문
public enum ShadowCaster2D.ShadowCastingOptions
필드
| 이름 | 설명 |
|---|---|
| CastAndSelfShadow | Renders both a shadows for the sprite and a cast shadow. |
| CastShadow | Renders a shadows only a cast shadow. |
| NoShadow | Renders a sprite without shadow casting correctly on top of other shadow casting sprites |
| SelfShadow | Renders a shadows only for the sprite. |