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.

VisualShaderNodeTransformOp

繼承: VisualShaderNode < Resource < RefCounted < Object

在視覺化著色器圖中使用的 Transform3D 運算子。

說明

Applies operator to two transform (4×4 matrices) inputs.

屬性

Operator

operator

0


列舉

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 🔗

The type of the operation to be performed on the transforms.