Aller au contenu

utils

Ce contenu n’est pas encore disponible dans votre langue.

Variables

colorMap

const colorMap: { [key in SocketType]?: string };

Defined in

tmp/graph-editor/src/lib/graph-editor/render/utils.ts:6

Functions

assignColor()

function assignColor(s): string

Parameters

s: Socket<SocketType, "scalar" | "array">

Returns

string

Defined in

tmp/graph-editor/src/lib/graph-editor/render/utils.ts:32


assignControl()

function assignControl(socketType, default_?): InputControlType | undefined

Parameters

socketType: SocketType

default_?: | "number" | "integer" | "vector" | "remote-file" | "text" | "checkbox" | "group-name-ref" | "textarea" | "select"

Returns

InputControlType | undefined

Defined in

tmp/graph-editor/src/lib/graph-editor/render/utils.ts:73