Blender V4.3
blender::nodes::node_geo_raycast_cc Namespace Reference

Classes

class  RaycastFunction
 

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static void node_layout (uiLayout *layout, bContext *, PointerRNA *ptr)
 
static void node_init (bNodeTree *, bNode *node)
 
static void node_gather_link_searches (GatherLinkSearchOpParams &params)
 
static void raycast_to_mesh (const IndexMask &mask, const Mesh &mesh, const VArray< float3 > &ray_origins, const VArray< float3 > &ray_directions, const VArray< float > &ray_lengths, const MutableSpan< bool > r_hit, const MutableSpan< int > r_hit_indices, const MutableSpan< float3 > r_hit_positions, const MutableSpan< float3 > r_hit_normals, const MutableSpan< float > r_hit_distances)
 
static void node_geo_exec (GeoNodeExecParams params)
 
static void node_rna (StructRNA *srna)
 
static void node_register ()
 

Function Documentation

◆ node_declare()

static void blender::nodes::node_geo_raycast_cc::node_declare ( NodeDeclarationBuilder & b)
static

◆ node_gather_link_searches()

◆ node_geo_exec()

static void blender::nodes::node_geo_raycast_cc::node_geo_exec ( GeoNodeExecParams params)
static

◆ node_init()

static void blender::nodes::node_geo_raycast_cc::node_init ( bNodeTree * ,
bNode * node )
static

Definition at line 65 of file node_geo_raycast.cc.

References CD_PROP_FLOAT, data, and GEO_NODE_RAYCAST_INTERPOLATED.

Referenced by node_register().

◆ node_layout()

static void blender::nodes::node_geo_raycast_cc::node_layout ( uiLayout * layout,
bContext * ,
PointerRNA * ptr )
static

Definition at line 59 of file node_geo_raycast.cc.

References ptr, UI_ITEM_NONE, and uiItemR().

Referenced by node_register().

◆ node_register()

◆ node_rna()

static void blender::nodes::node_geo_raycast_cc::node_rna ( StructRNA * srna)
static

◆ raycast_to_mesh()

static void blender::nodes::node_geo_raycast_cc::raycast_to_mesh ( const IndexMask & mask,
const Mesh & mesh,
const VArray< float3 > & ray_origins,
const VArray< float3 > & ray_directions,
const VArray< float > & ray_lengths,
const MutableSpan< bool > r_hit,
const MutableSpan< int > r_hit_indices,
const MutableSpan< float3 > r_hit_positions,
const MutableSpan< float3 > r_hit_normals,
const MutableSpan< float > r_hit_distances )
static