Node Raycast#

from geonodes import nodes

node = nodes.Raycast(target_geometry=None, attribute=None, source_position=None, ray_direction=None, ray_length=None, data_type='FLOAT', mapping='INTERPOLATED')

Blender Image

Args:#

Input socket arguments:#

Node parameter arguments:#

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

  • mapping (str): default = ‘INTERPOLATED’ in (‘INTERPOLATED’, ‘NEAREST’)

Output sockets:#

Shared sockets:#

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

  • Input sockets : [‘attribute’]

  • Output sockets : [‘attribute’]

Implementation#

Class or method name

Definition

Geometry

raycast

def raycast(self, target_geometry=None, attribute=None, source_position=None, ray_direction=None, ray_length=None, mapping='INTERPOLATED'):

raycast_interpolated

def raycast_interpolated(self, target_geometry=None, attribute=None, source_position=None, ray_direction=None, ray_length=None):

raycast_nearest

def raycast_nearest(self, target_geometry=None, attribute=None, source_position=None, ray_direction=None, ray_length=None):

Go to top - main - nodes - nodes menus