UNPKG

@threlte/core

Version:

A 3D framework for the web, built on top of Svelte and Three.js

7 lines (6 loc) 206 B
import { Scene } from 'three'; export type SceneContext = { scene: Scene; }; export declare const createSceneContext: (scene?: Scene) => SceneContext; export declare const useScene: () => SceneContext;