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...
VisualShaderNodeVectorBase¶
继承: VisualShaderNode < Resource < RefCounted < Object
派生: VisualShaderNodeFaceForward, VisualShaderNodeVectorCompose, VisualShaderNodeVectorDecompose, VisualShaderNodeVectorDistance, VisualShaderNodeVectorFunc, VisualShaderNodeVectorLen, VisualShaderNodeVectorOp, VisualShaderNodeVectorRefract
在可视化着色器图中执行向量运算的基础类型节点。
描述¶
这是一个抽象类。可进行的运算描述见派生类。
属性¶
|
枚举¶
enum OpType:
OpType OP_TYPE_VECTOR_2D = 0
2D 向量类型。
OpType OP_TYPE_VECTOR_3D = 1
3D向量类型。
OpType OP_TYPE_VECTOR_4D = 2
4D 向量类型。
OpType OP_TYPE_MAX = 3
代表 OpType 枚举的大小。
属性说明¶
OpType op_type = 1
要进行运算的向量类型。