threepipe
Version:
A modern 3D viewer framework built on top of three.js, written in TypeScript, designed to make creating high-quality, modular, and extensible 3D experiences on the web simple and enjoyable.
15 lines • 802 B
TypeScript
import { Object3DComponent } from './Object3DComponent';
import { TypedType } from './typeSystem';
import { ComponentCtx, StatePropConfig } from './componentTypes';
export interface PropMeta {
config: StatePropConfig;
propType: TypedType;
defaultValue: any;
defaultValueType: TypedType;
propKey: keyof Object3DComponent;
}
export declare function getComponentTypes(comp: typeof Object3DComponent): Set<string>;
export declare function setupComponent(comp: Object3DComponent, ctx: ComponentCtx): void;
export declare function refreshAllStateProperties(comp: Object3DComponent, lastState: Object3DComponent['stateRef']): void;
export declare function teardownComponent(comp: Object3DComponent): void;
//# sourceMappingURL=../../../src/plugins/extras/components/setupComponent.d.ts.map