UNPKG

@polygonjs/plugin-mapbox

Version:

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

10 lines (9 loc) 795 B
import { GeoObjNode } from '@polygonjs/polygonjs/dist/src/engine/nodes/obj/Geo'; import type { ExtendedGeoNodeChildrenMap } 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 ExtendedGeoObjNode extends GeoObjNode { createNode<S extends keyof ExtendedGeoNodeChildrenMap>(node_class: S, options?: NodeCreateOptions): ExtendedGeoNodeChildrenMap[S]; createNode<K extends valueof<ExtendedGeoNodeChildrenMap>>(node_class: Constructor<K>, options?: NodeCreateOptions): K; nodesByType<K extends keyof ExtendedGeoNodeChildrenMap>(type: K): ExtendedGeoNodeChildrenMap[K][]; }