BoxShadow
Script interface for VisualElement box-shadow style property IStyle.boxShadow.
読み終わるまでの所要時間 1 分最終更新 13時間前
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IEquatable<BoxShadow>
public struct BoxShadow : IEquatable<BoxShadow>
Remarks
The default value draws no shadow and is equivalent to the USS keyword .
noneFields
Value | Description |
|---|---|
| blurRadius | The blur radius of the shadow, in pixels. Negative values are not allowed. |
| color | The color of the shadow. |
| inset | When true, the shadow is drawn inside the element's border instead of outside of it. |
| offset | The offset of the shadow, in pixels. Positive values move the shadow right and down. |
| spreadRadius | The spread radius of the shadow, in pixels. Positive values grow the shadow, negative values shrink it. |