macaw-threejs
Version:
Macaw Three.js is ready to use library to connect Three.js with your project.<br/> Under the hood is a fully optimized, clean Three.js set up to make it easy to implement effects for images (future text, etc.). With effects out of the box, you don't even
22 lines (21 loc) • 686 B
TypeScript
import type { SceneSettings, Dimensions } from "./Scene.types";
import * as THREE from "three";
import { MacawCore } from "../index";
interface Props {
core: MacawCore;
container: HTMLDivElement;
settings: SceneSettings;
}
export declare class MacawScene {
settings: Required<SceneSettings>;
readonly container: HTMLDivElement;
readonly dimensions: Dimensions;
readonly scene: THREE.Scene;
readonly camera: THREE.PerspectiveCamera;
readonly renderer: THREE.WebGLRenderer;
readonly raycaster: THREE.Raycaster;
private _core;
constructor(props: Props);
setSettings(sceneSettings: SceneSettings): void;
}
export {};