跳转到内容

MaterialGraphNode

此内容尚不支持你的语言。

Defined in: render/materialGraph.ts:50

id: string

Defined in: render/materialGraph.ts:51


optional inputs?: Record<string, string>

Defined in: render/materialGraph.ts:56

Input slot → source node id (e.g. multiply: { a, b }; textureSample: { uv? }).


optional params?: Record<string, unknown>

Defined in: render/materialGraph.ts:54

Node literals: param name, scalar/color value, texture default.


type: GraphNodeType

Defined in: render/materialGraph.ts:52


optional x?: number

Defined in: render/materialGraph.ts:58

Editor canvas position (px). Ignored by the compiler — layout only.


optional y?: number

Defined in: render/materialGraph.ts:59