API

Interface FgDataSocket

A data input/output port — plain data.

interface FgDataSocket {
    defaultValue?: FgValue;
    name: string;
    source?: { blockId: string; scale?: number; socket: string };
    type: FgType;
}
Index
defaultValue?: FgValue

Literal fallback used when source is undefined.

name: string
source?: { blockId: string; scale?: number; socket: string }

Wired source (for inputs): producing block id + its output socket name.

type: FgType