Function: interpolateEnvironment()
function interpolateEnvironment(
from: ResolvedEnvironment,
to: ResolvedEnvironment,
t: number
): ResolvedEnvironment;
Defined in: packages/webxr-environment/src/interpolate.ts:178
Blend two resolved environments. t is the EASED progress in 0..1; the
director has already applied the curve, so this stays linear per channel.
Parameters
| Parameter | Type |
|---|---|
from | ResolvedEnvironment |
to | ResolvedEnvironment |
t | number |