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.

VisualShaderNodeMultiplyAdd

繼承: VisualShaderNode < Resource < RefCounted < Object

在視覺化著色器圖中,執行乘加融合運算。

說明

使用三個運算元來計算 (a * b + c) 運算式。

屬性

OpType

op_type

0


列舉

enum OpType: 🔗

OpType OP_TYPE_SCALAR = 0

浮點數標量型別。

OpType OP_TYPE_VECTOR_2D = 1

2D 向量型別。

OpType OP_TYPE_VECTOR_3D = 2

3D向量型別。

OpType OP_TYPE_VECTOR_4D = 3

4D 向量型別。

OpType OP_TYPE_MAX = 4

代表 OpType 列舉的大小。


屬性說明

OpType op_type = 0 🔗

運算元和返回值的型別。