s&box docs
API ReferenceSandbox.UI

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

A list of shadows

Constructors

Showing 1 constructors

Methods

Showing 2 methods

public void AddFrom(Sandbox.UI.ShadowList other)

Copy shadows from another list of shadows.

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

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

Parameters

  • a: The first list of shadows.
  • b: The second list of shadows.
  • frac: Fraction for the linear interpolation, in range of [0,1]

Exceptions

ExceptionCondition
ArgumentExceptionThrown when both inputs are equal.

Metadata

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

On this page