UNPKG

@polygonjs/plugin-mapbox

Version:

Mapbox plugin for the 3D engine https://polygonjs.com

10 lines (9 loc) 816 B
import { CopNetworkObjNode } from '@polygonjs/polygonjs/dist/src/engine/nodes/obj/CopNetwork'; import type { ExtendedCopNodeChildrenMap } from '../../../ExtendedGeoNodeChildrenMap'; import { Constructor, valueof } from '@polygonjs/polygonjs/dist/src/types/GlobalTypes'; import { NodeCreateOptions } from '@polygonjs/polygonjs/dist/src/engine/nodes/utils/hierarchy/ChildrenController'; export declare class ExtendedCopObjNode extends CopNetworkObjNode { createNode<S extends keyof ExtendedCopNodeChildrenMap>(node_class: S, options?: NodeCreateOptions): ExtendedCopNodeChildrenMap[S]; createNode<K extends valueof<ExtendedCopNodeChildrenMap>>(node_class: Constructor<K>, options?: NodeCreateOptions): K; nodesByType<K extends keyof ExtendedCopNodeChildrenMap>(type: K): ExtendedCopNodeChildrenMap[K][]; }