Last active
February 14, 2022 01:26
-
-
Save wonglok/6fb875188629a153c59332595d08c9c1 to your computer and use it in GitHub Desktop.
tryme.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { OrbitControls } from "@react-three/drei"; | |
import { Canvas } from "@react-three/fiber"; | |
import { Bloomer } from "../vfx-library/Bloomer"; | |
import { ENLogicGraphAutoLoad } from "../vfx-runtime/ENLogicGraph"; | |
export default function TryMe() { | |
let REPLACE_ME = `-MvpfxG3QZ37safQAPJS`; | |
return ( | |
<Canvas dpr={3}> | |
{/* content-sphere */} | |
<ENLogicGraphAutoLoad graphID={REPLACE_ME}></ENLogicGraphAutoLoad> | |
<Bloomer></Bloomer> | |
<OrbitControls enableRotate={false} enablePan={false}></OrbitControls> | |
</Canvas> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment