API ReferenceSandbox.UI
ShadowListclass
A list of shadows
Constructors1
Showing 1 constructors
public ShadowList()
No results match this filter.
Methods2
Showing 2 methods
public void AddFrom(Sandbox.UI.ShadowList other)
Copy shadows from another list of shadows.
| Parameter | Type | Description |
|---|---|---|
| other | ShadowList | — |
Returns:
void—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.
| Parameter | Type | Description |
|---|---|---|
| a | ShadowList | The first list of shadows. |
| b | ShadowList | The second list of shadows. |
| frac | float | Fraction for the linear interpolation, in range of [0,1] |
Returns:
void—Exceptions
| Exception | Condition |
|---|---|
ArgumentException | Thrown when both inputs are equal. |
No results match this filter.