Blender  V2.93
Namespaces | Functions | Variables
node_geo_point_instance.cc File Reference
#include "BKE_persistent_data_handle.hh"
#include "DNA_collection_types.h"
#include "BLI_hash.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "node_geometry_util.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::nodes
 

Functions

static void geo_node_point_instance_layout (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void blender::nodes::geo_node_point_instance_update (bNodeTree *UNUSED(tree), bNode *node)
 
static void blender::nodes::get_instanced_data__object (const GeoNodeExecParams &params, MutableSpan< std::optional< InstancedData >> r_instances_data)
 
static void blender::nodes::get_instanced_data__collection (const GeoNodeExecParams &params, const GeometryComponent &component, MutableSpan< std::optional< InstancedData >> r_instances_data)
 
static Array< std::optional< InstancedData > > blender::nodes::get_instanced_data (const GeoNodeExecParams &params, const GeometryComponent &component, const int amount)
 
static void blender::nodes::add_instances_from_geometry_component (InstancesComponent &instances, const GeometryComponent &src_geometry, const GeoNodeExecParams &params)
 
static void blender::nodes::geo_node_point_instance_exec (GeoNodeExecParams params)
 
static void blender::nodes::geo_node_point_instance_init (bNodeTree *UNUSED(tree), bNode *node)
 
void register_node_type_geo_point_instance ()
 

Variables

static bNodeSocketTemplate geo_node_point_instance_in []
 
static bNodeSocketTemplate geo_node_point_instance_out []
 

Function Documentation

◆ geo_node_point_instance_layout()

static void geo_node_point_instance_layout ( uiLayout layout,
bContext UNUSEDC,
PointerRNA ptr 
)
static

◆ register_node_type_geo_point_instance()

void register_node_type_geo_point_instance ( void  )

Variable Documentation

◆ geo_node_point_instance_in

bNodeSocketTemplate geo_node_point_instance_in[]
static
Initial value:
= {
{SOCK_GEOMETRY, N_("Geometry")},
{SOCK_OBJECT, N_("Object")},
{SOCK_COLLECTION, N_("Collection")},
{SOCK_INT, N_("Seed"), 0, 0, 0, 0, -10000, 10000},
{-1, ""},
}
#define N_(msgid)
@ SOCK_INT
@ SOCK_COLLECTION
@ SOCK_GEOMETRY
@ SOCK_OBJECT

Definition at line 28 of file node_geo_point_instance.cc.

Referenced by register_node_type_geo_point_instance().

◆ geo_node_point_instance_out

bNodeSocketTemplate geo_node_point_instance_out[]
static
Initial value:
= {
{SOCK_GEOMETRY, N_("Geometry")},
{-1, ""},
}

Definition at line 36 of file node_geo_point_instance.cc.

Referenced by register_node_type_geo_point_instance().