@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
6 lines (5 loc) • 541 B
TypeScript
import { ObjectXD, AttribRefs } from './ObjectAttributeReactivity';
import { JsIConnectionPointTypeToDataTypeMap, ParamConvertibleJsType } from '../../engine/nodes/utils/io/connections/Js';
import type { AttribValue } from '../../types/GlobalTypes';
export declare function getOrCreateObjectAttributeRef<T extends ParamConvertibleJsType>(object3D: ObjectXD, attribName: string, type: T, defaultAttribValue?: JsIConnectionPointTypeToDataTypeMap[T]): AttribRefs<T>;
export declare function _dummyReadAttributeRefVal(value: AttribValue): void;