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 列舉的大小。
屬性說明
運算元和返回值的型別。