跳转到内容

paramDefaultValue

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

paramDefaultValue(param): unknown

Defined in: render/shaderReflect.ts:109

A param’s declared default in the shape a .esmaterial’s properties stores it: a number for float/int, {r,g,b,a} for a color, {x,y,…} for a vector, and for a texture the default’s NAME ("white", "flatnormal" — an engine-resolved stand-in, not an asset ref).

ShaderParam

unknown