Node Clamp#

from geonodes import nodes

node = nodes.Clamp(value=None, min=None, max=None, clamp_type='MINMAX')

Blender Image

Args:#

Input socket arguments:#

Node parameter arguments:#

  • clamp_type (str): default = ‘MINMAX’ in (‘MINMAX’, ‘RANGE’)

Output sockets:#

Implementation#

Class or method name

Definition

Float

clamp

def clamp(self, min=None, max=None, clamp_type='MINMAX'):

clamp_min_max

def clamp_min_max(self, min=None, max=None):

clamp_range

def clamp_range(self, min=None, max=None):

Global functions

clamp

def clamp(value=None, min=None, max=None, clamp_type='MINMAX'):

clamp_min_max

def clamp_min_max(value=None, min=None, max=None):

clamp_range

def clamp_range(value=None, min=None, max=None):

Go to top - main - nodes - nodes menus