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
29 lines (28 loc) • 1.01 kB
TypeScript
import type { Storage, Controllers, Utils } from "./Core.types";
import type { SceneSettings } from "./Scene/Scene.types";
import { MacawComposer } from "./Composer";
import { MacawObserver } from "./Observer";
import { MacawResize } from "./Resize";
import { MacawScene } from "./Scene";
import { MacawScroll } from "./Scroll";
import { EffectController } from "../controllers/Effect";
interface Props {
container: HTMLDivElement;
sceneSettings: SceneSettings;
}
export declare class MacawCore {
readonly storage: Storage;
readonly scene: MacawScene;
readonly composer: MacawComposer;
readonly scroll: MacawScroll;
readonly resize: MacawResize;
readonly observer: MacawObserver;
readonly controllers: Controllers;
readonly utils: Utils;
readonly addEffect: EffectController["addEffect"];
readonly removeEffect: EffectController["removeEffect"];
constructor(props: Props);
cleanUp(): void;
private _init;
}
export {};