Node Sample Index#

from geonodes import nodes

node = nodes.SampleIndex(geometry=None, value=None, index=None, clamp=False, data_type='FLOAT', domain='POINT')

Blender Image

Args:#

Input socket arguments:#

Node parameter arguments:#

  • clamp (bool): default = False

  • data_type (str): default = ‘FLOAT’ in (‘FLOAT’, ‘INT’, ‘FLOAT_VECTOR’, ‘FLOAT_COLOR’, ‘BOOLEAN’)

  • domain (str): default = ‘POINT’ in (‘POINT’, ‘EDGE’, ‘FACE’, ‘CORNER’, ‘CURVE’, ‘INSTANCE’)

Output sockets:#

  • value : data_type dependant

Shared sockets:#

  • Driving parameter : data_type in (‘FLOAT’, ‘INT’, ‘FLOAT_VECTOR’, ‘FLOAT_COLOR’, ‘BOOLEAN’)

  • Input sockets : [‘value’]

  • Output sockets : [‘value’]

Implementation#

Class or method name

Definition

Domain

sample_index

def sample_index(self, value=None, index=None, clamp=False):

Geometry

sample_index

def sample_index(self, value=None, index=None, clamp=False, domain='POINT'):

Go to top - main - nodes - nodes menus