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...
VisualShaderNodeClamp¶
继承: VisualShaderNode < Resource < RefCounted < Object
在可视化着色器图中钳制某个值。
描述¶
将值限制在min
和max
之间。
属性¶
|
枚举¶
enum OpType:
OpType OP_TYPE_FLOAT = 0
浮点标量。
OpType OP_TYPE_INT = 1
整数标量。
OpType OP_TYPE_UINT = 2
无符号整数标量。
OpType OP_TYPE_VECTOR_2D = 3
2D 向量类型。
OpType OP_TYPE_VECTOR_3D = 4
3D向量类型。
OpType OP_TYPE_VECTOR_4D = 5
4D 向量类型。
OpType OP_TYPE_MAX = 6
代表 OpType 枚举的大小。
属性说明¶
OpType op_type = 0
操作数和返回值的类型。