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
public ShadowList()
No results match this filter.
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
| Exception | Condition |
|---|---|
ArgumentException | Thrown when both inputs are equal. |
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.UI |
| Type | class |
| Assembly | Sandbox.System |
| Doc ID | T:Sandbox.UI.ShadowList |