API ReferenceSandbox.UI
public sealed struct Sandbox.UI.Shadow
Shadow style settings
Related Guides
Broader workflow and conceptual references connected to this API.
Methods
Showing 2 methods
public Sandbox.UI.Shadow LerpTo(Sandbox.UI.Shadow shadow, float delta)
Perform linear interpolation between 2 shadows.
Parameters
shadow: The target shadow to morph into.delta: Progress of the transformation. 0 = original shadow, 1 = fully target shadow.
Returns
The interpolated shadow.
public Sandbox.UI.Shadow Scale(float f)
Scale all variables by given scalar.
Parameters
f: How much to scale the shadow parameters by. 1 is no change, 2 is double the sizes, etc.
Returns
The scaled shadow.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.UI |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.UI.Shadow |