A class in Root.Township, the global namespace.
Blends audio environment values (reverb) from the current settings to a target EnvironmentNode. Owned by EnvironmentHandler.
Constructors
Fields
1 private and internal field
| Member | What it is |
|---|
private float progress | How far the blend has gone, 0 to 1. |
Properties
Events
| Member | What it is |
|---|
event Action TargetChanged | Raised when the target environment changes. |
Methods
| Member | What it is |
|---|
void SetEnvironment(EnvironmentNode environment, bool isSnapping) | Sets the target environment (null means default) and raises TargetChanged. With snapping, jumps there at once. |
bool Update(float amount) | Advances the blend by the given amount. Returns true once it has passed the end. |
Used in
Members of other types that take, return or hold a EnvironmentLerp: