UniWebViewShadow
Summary
Represents the drop shadow styling applied to the UniWebView container.
The values are expressed in Unity pixel units (points on iOS, pixels on Android) and map to the native shadow APIs. UniWebViewShadow is typically used with UniWebView.SetShadow to apply or remove a shadow that follows the same corner radii as the web view.
Properties Summary
Blur radius of the shadow in pixels. | |
Shadow opacity, clamped between | |
Horizontal offset of the shadow relative to the container. | |
Vertical offset of the shadow relative to the container. | |
Extra expansion distance applied to the shadow outline. | |
Color tint of the shadow. | |
Returns | |
Returns a predefined shadow definition that disables rendering (no blur, zero opacity). |
Properties
Blur radius of the shadow in pixels.
Shadow opacity, clamped between 0 and 1.
Horizontal offset of the shadow relative to the container.
Vertical offset of the shadow relative to the container.
Extra expansion distance applied to the shadow outline.
Color tint of the shadow. The alpha channel multiplies with Opacity.
Returns true when the shadow will be rendered (opacity greater than zero and radius/spread greater than zero).
Returns a predefined shadow definition that disables rendering (no blur, zero opacity).
