ドキュメント

Unity Engine

Unity Engine

BoxShadow

Script interface for VisualElement box-shadow style property IStyle.boxShadow.
読み終わるまでの所要時間 1 分最終更新 13時間前

Definition

public struct BoxShadow : IEquatable<BoxShadow>

Remarks

The default value draws no shadow and is equivalent to the USS keyword
none
.

Fields

Value

Description

blurRadiusThe blur radius of the shadow, in pixels. Negative values are not allowed.
colorThe color of the shadow.
insetWhen true, the shadow is drawn inside the element's border instead of outside of it.
offsetThe offset of the shadow, in pixels. Positive values move the shadow right and down.
spreadRadiusThe spread radius of the shadow, in pixels. Positive values grow the shadow, negative values shrink it.