Taos API Reference
    Preparing search index...

    Interface ExprNode

    A single node in an ExprNodeGraph. The graph stores nodes by id; the kind indexes NODE_KINDS for ports + codegen; params carries kind-specific non-wired configuration (constant value, attribute name, math op variant, etc.); inputValues carries per-input literal defaults (number / vec3 / vec4 / bool) used when an input port has no incoming edge.

    Inline values let a Multiply node store b = 2.0 directly instead of needing a separate Constant child wired in.

    interface ExprNode {
        id: string;
        kind: string;
        params: Record<string, unknown>;
        inputValues?: Record<string, number | boolean | number[]>;
        position?: NodePosition;
    }
    Index

    Properties

    id: string
    kind: string
    params: Record<string, unknown>
    inputValues?: Record<string, number | boolean | number[]>

    Per-input inline literal value, used when the port has no incoming edge. Keyed by port name. Shape matches the port's declared type: number for f32, [x,y]/[x,y,z]/[x,y,z,w] for vectors, boolean for bool. Falls back to the kind-wide port.default when absent.

    position?: NodePosition