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

OpType

op_type

0

Enumerations

enum OpType:

  • OP_TYPE_FLOAT = 0 --- A floating-point scalar.

  • OP_TYPE_INT = 1 --- An integer scalar.

  • OP_TYPE_VECTOR = 2 --- A vector type.

  • OP_TYPE_MAX = 3 --- Represents the size of the OpType enum.

Property Descriptions

Default

0

Setter

set_op_type(value)

Getter

get_op_type()

A type of operands and returned value.