API ReferenceSandbox.UI

ShadowListclass

A list of shadows

objectList<Shadow>ShadowList
Namespace
Sandbox.UI
Assembly
Sandbox.System
Declaration
public sealed class Sandbox.UI.ShadowList : System.Collections.Generic.List`1<Sandbox.UI.Shadow>

Constructors1

Showing 1 constructors

Methods2

Showing 2 methods

public void AddFrom(Sandbox.UI.ShadowList other)PUBLIC

Copy shadows from another list of shadows.

ParameterTypeDescription
otherShadowList
Returns:void

public void SetFromLerp(Sandbox.UI.ShadowList a, Sandbox.UI.ShadowList b, float frac)PUBLIC

Given 2 lists of shadows, perform linear interpolation on both lists and store the result in this list. Will work with mismatched shadow counts.

ParameterTypeDescription
aShadowListThe first list of shadows.
bShadowListThe second list of shadows.
fracfloatFraction for the linear interpolation, in range of [0,1]
Returns:void

Exceptions

ExceptionCondition
ArgumentExceptionThrown when both inputs are equal.

On this page