@polygonjs/polygonjs
Version:
node-based WebGL 3D engine https://polygonjs.com
23 lines (22 loc) • 782 B
TypeScript
import { ParamType } from '../../../../poly/ParamType';
export interface BaseConnectionPointData {
name: string;
type: string;
isArray?: boolean;
}
export declare abstract class BaseConnectionPoint {
protected _name: string;
protected _type: string;
protected _init_value?: any;
protected _json: BaseConnectionPointData | undefined;
protected _inNodeDefinition: boolean;
constructor(_name: string, _type: string, _init_value?: any);
get init_value(): any;
name(): string;
type(): string;
are_types_matched(src_type: string, dest_type: string): boolean;
inNodeDefinition(): boolean;
abstract get param_type(): ParamType | null;
toJSON(): BaseConnectionPointData;
protected _createJSON(): BaseConnectionPointData;
}