UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

14 lines (13 loc) 606 B
import { Object3D } from 'three'; import { ObjectNamedFunction4 } from './_Base'; import { AttribValue } from '../../types/GlobalTypes'; import { JsIConnectionPointTypeToDataTypeMap, ParamConvertibleJsType } from '../nodes/utils/io/connections/Js'; export declare class getPrimitiveAttribute<T extends ParamConvertibleJsType> extends ObjectNamedFunction4<[ number, string, T, JsIConnectionPointTypeToDataTypeMap[T] ]> { static type(): string; func(object3D: Object3D, index: number, attribName: string, type: T, defaultValue: JsIConnectionPointTypeToDataTypeMap[T]): AttribValue; }