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...
VisualShaderNodeExpression
繼承: VisualShaderNodeGroupBase < VisualShaderNodeResizableBase < VisualShaderNode < Resource < RefCounted < Object
被繼承: VisualShaderNodeGlobalExpression
用Godot著色語言編寫的自訂視覺化著色器圖形運算式。
說明
自訂 Godot 著色器語言運算式,有自訂數量的輸入和輸出埠。
所提供的程式碼會直接注入到著色器圖中配對的著色器函式中(vertex、fragment 或 light),所以不能用於宣告函式、varying、uniform 或全域常數。這種全域定義見 VisualShaderNodeGlobalExpression。
屬性
|
屬性說明
Godot 著色器語言中的運算式,它將被注入到圖形配對的著色器函式(vertex、fragment 或 light)的開頭,因此不能用於宣告函式、varying、uniform 或全域常數。