AutoMovie API
    Preparing search index...

    Variable applySceneEnvironmentConst

    applySceneEnvironment: (
        scene: THREE.Scene,
        environment: IAutoMovieSceneEnvironment | null | undefined,
        texture?: THREE.Texture,
    ) => void = ...

    Apply image lighting and background without adding scene-graph children.

    A declared image reaches the scene only when the host resolved it; an image the host could not decode leaves image lighting unset and uses the declared solid background, or transparency when that background is null. The resolved texture is configured here (equirectangular mapping and the color-space convention selected from its storage type), so the caller hands over a texture object this scene owns, never one a material is also writing sampling state onto. The exclusive handoff retires earlier cube/PMREM conversions once. Stable inputs keep their cache and version; legal content, sampling or generation changes retire the old conversion before a replacement tuple is accepted. Immutable capacity changes require a new Texture and decoded Source. Shared ownership and failed retirement refuse before scene state changes.

    Type Declaration

      • (
            scene: THREE.Scene,
            environment: IAutoMovieSceneEnvironment | null | undefined,
            texture?: THREE.Texture,
        ): void
      • Parameters

        Returns void