Node Raycast#
go to index
Initialization#
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', label=None, node_color=None)
Arguments#
Input sockets#
target_geometry : Geometry
attribute : data_type dependant
source_position : Vector
ray_direction : Vector
ray_length : Float
Parameters#
data_type : str (default = ‘FLOAT’) in (‘FLOAT’, ‘INT’, ‘FLOAT_VECTOR’, ‘FLOAT_COLOR’, ‘BOOLEAN’)
mapping : str (default = ‘INTERPOLATED’) in (‘INTERPOLATED’, ‘NEAREST’)
Node label#
label : Geometry node display label (default=None)
node_color : Geometry node color (default=None)
Data type dependant sockets#
Driving parameter : data_type in (‘FLOAT’, ‘INT’, ‘FLOAT_VECTOR’, ‘FLOAT_COLOR’, ‘BOOLEAN’)
Input sockets : [‘attribute’]
Output sockets : [‘attribute’]
Output sockets#
is_hit : Boolean
hit_position : Vector
hit_normal : Vector
hit_distance : Float
attribute : data_type dependant