Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
VisualShaderNodeGlobalExpression
繼承: VisualShaderNodeExpression < VisualShaderNodeGroupBase < VisualShaderNodeResizableBase < VisualShaderNode < Resource < RefCounted < Object
用Godot著色器語言編寫的自訂全域視覺化著色器圖形運算式。
說明
自訂Godot著色器語言運算式,位於生成的著色器之上。你可以在內部放置各種函式定義,以便以後在VisualShaderNodeExpression中呼叫,這些函式被注入到主著色器函數中。你還可以宣告varyings、uniforms 和全域常數。