Skip to main content

Function: interpolateEnvironment()

function interpolateEnvironment(
from: ResolvedEnvironment,
to: ResolvedEnvironment,
t: number
): ResolvedEnvironment;

Defined in: 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

ParameterType
fromResolvedEnvironment
toResolvedEnvironment
tnumber

Returns

ResolvedEnvironment