lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
15 lines • 502 B
JavaScript
import scene from "../../../scene";
import { ssrExcludeSet } from "../../../../collections/ssrExcludeSet";
let sceneBackground;
export const beforeRenderSSR = () => {
sceneBackground = scene.background;
scene.background = null;
for (const target of ssrExcludeSet)
target.visible = false;
};
export const afterRenderSSR = () => {
scene.background = sceneBackground;
for (const target of ssrExcludeSet)
target.visible = true;
};
//# sourceMappingURL=renderSetup.js.map