s&box docs
API ReferenceSandbox.UI

public sealed struct Sandbox.UI.Shadow

Shadow style settings

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.

Metadata

FieldValue
NamespaceSandbox.UI
Typeclass
AssemblySandbox.System
Doc IDT:Sandbox.UI.Shadow

On this page