@playcanvas/react
Version:
A React renderer for PlayCanvas – build interactive 3D applications using React's declarative paradigm.
11 lines (10 loc) • 410 B
TypeScript
import * as pc from 'playcanvas';
export interface PlayCanvasStore {
app: pc.Application;
}
export declare function createStoreForApp(app: pc.Application): {
app: pc.Application;
};
export declare function registerStore(appId: number, store: PlayCanvasStore): void;
export declare function getStore(appId: number): PlayCanvasStore | undefined;
export declare function removeStore(appId: number): void;