Api Sandbox UI ShadowList
class

ShadowList

public sealed class ShadowList : Shadow>

A list of shadows

Constructors

ShadowList()

Methods

Void AddFrom(ShadowList other)

Copy shadows from another list of shadows.

Void SetFromLerp(ShadowList a, ShadowList b, Single 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.

a — The first list of shadows.
b — The second list of shadows.
frac — Fraction for the linear interpolation, in range of [0,1]
ArgumentException — Thrown when both inputs are equal.

Fields

Name Type Description
IsNone Boolean Whether there are no shadows at all.
Assembly: Sandbox.System Namespace: Sandbox.UI Full Name: Sandbox.UI.ShadowList