diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index 12896eb3..070d7da3 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -80,7 +80,10 @@ import { resolveWorldEnvironmentState, WorldBackgroundRenderer } from "../rendering/world-background-renderer"; -import { createRendererQuantizedEnvironmentBlendCache } from "../rendering/quantized-environment-blend-cache"; +import { + createRendererQuantizedEnvironmentBlendCache, + type QuantizedEnvironmentBlendCache +} from "../rendering/quantized-environment-blend-cache"; import { collectWaterContactPatches, createWaterContactPatchAxisUniformValue, @@ -355,7 +358,7 @@ export class RuntimeHost { private readonly instanceAnimationClips = new Map(); private readonly controllerContext: RuntimeControllerContext; private readonly renderer: WebGLRenderer | null; - private readonly environmentBlendCache; + private readonly environmentBlendCache: QuantizedEnvironmentBlendCache | null; private runtimeScene: RuntimeSceneDefinition | null = null; private collisionWorld: RapierCollisionWorld | null = null; private collisionWorldRequestId = 0;