@realsee/five
Version:
Realsee Renderer SDK
21 lines (20 loc) • 786 B
TypeScript
import { BasePlugin } from '@realsee/five/plugins';
import { Five } from '@realsee/five';
import type { EventMap, Params, PluginData, State } from './typings';
export declare class Controller extends BasePlugin.Controller<State, EventMap, any, PluginData> {
protected data: PluginData;
state: State;
private gradientBg?;
private groundBg?;
private style?;
readonly pluginName = "BackgroundPlugin";
constructor(five: Five, params?: Params);
private _onFiveCameraUpdate;
private _addEventListener;
private _removeEventListener;
load: () => Promise<void>;
setState: (state: Partial<State>, options?: BasePlugin.BaseOptions) => void;
enable: () => void;
disable: (options?: BasePlugin.BaseOptions) => void;
dispose: () => void;
}