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...
VisualShaderNodeTransformOp¶
继承: VisualShaderNode < Resource < RefCounted < Object
在可视化着色器图中使用的 Transform3D 运算符。
描述¶
对两个变换(4x4 矩阵)输入应用 operator。
属性¶
|
枚举¶
enum Operator:
Operator OP_AxB = 0
将变换 a
乘以变换 b
。
Operator OP_BxA = 1
将变换 b
乘以变换 a
。
Operator OP_AxB_COMP = 2
对变换 a
与变换 b
进行分量明智的乘法。
Operator OP_BxA_COMP = 3
对变换 b
与变换 a
进行分量明智的乘法。
Operator OP_ADD = 4
将两个变换相加。
Operator OP_A_MINUS_B = 5
从变换 b
中减去变换 a
。
Operator OP_B_MINUS_A = 6
从变换 a
中减去变换 b
。
Operator OP_A_DIV_B = 7
将变换 a
除以变换 b
。
Operator OP_B_DIV_A = 8
将变换 b
除以变换 a
。
Operator OP_MAX = 9
代表 Operator 枚举的大小。
属性说明¶
Operator operator = 0
要对变换执行的运算的类型。选项见 Operator。