VisualShaderNodeClamp¶
Inherits: VisualShaderNode < Resource < RefCounted < Object
Clamps a value within the visual shader graph.
Description¶
Constrains a value to lie between min
and max
values.
Properties¶
|
Enumerations¶
enum OpType:
OP_TYPE_FLOAT = 0 --- A floating-point scalar.
OP_TYPE_INT = 1 --- An integer scalar.
OP_TYPE_VECTOR_2D = 2 --- A 2D vector type.
OP_TYPE_VECTOR_3D = 3 --- A 3D vector type.
OP_TYPE_MAX = 4 --- Represents the size of the OpType enum.
Property Descriptions¶
OpType op_type
Default |
|
Setter |
set_op_type(value) |
Getter |
get_op_type() |
A type of operands and returned value.