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...
VisualShaderNodeRemap
继承: VisualShaderNode < Resource < RefCounted < Object
remap 函数的可视化着色器节点。
描述
Remap 函数将输入范围变换到输出范围。例如你可以将 0..1
里的值变到 -2..2
里。详见 @GlobalScope.remap()。
属性
|
枚举
enum OpType: 🔗
OpType OP_TYPE_SCALAR = 0
浮点数标量类型。
OpType OP_TYPE_VECTOR_2D = 1
2D 向量类型。
OpType OP_TYPE_VECTOR_2D_SCALAR = 2
value
端口使用 2D 向量类型,而 input min
、input max
、output min
、output max
端口使用浮点数标量类型。
OpType OP_TYPE_VECTOR_3D = 3
3D向量类型。
OpType OP_TYPE_VECTOR_3D_SCALAR = 4
value
端口使用 3D 向量类型,而 input min
、input max
、output min
、output max
端口使用浮点数标量类型。
OpType OP_TYPE_VECTOR_4D = 5
4D 向量类型。
OpType OP_TYPE_VECTOR_4D_SCALAR = 6
value
端口使用 4D 向量类型,而 input min
、input max
、output min
、output max
端口使用浮点数标量类型。
OpType OP_TYPE_MAX = 7
代表 OpType 枚举的大小。
属性说明
该属性目前没有描述,请帮我们贡献一个吧!