|
Blender V5.0
|
#include <NOD_geometry_nodes_bundle.hh>
Public Member Functions | |
| template<typename T> | |
| std::optional< T > | as_socket_value (const bke::bNodeSocketType &socket_type) const |
| template<typename T> | |
| std::optional< T > | as () const |
Public Attributes | |
| std::variant< BundleItemSocketValue, BundleItemInternalValue > | value |
Definition at line 36 of file NOD_geometry_nodes_bundle.hh.
Definition at line 149 of file NOD_geometry_nodes_bundle.hh.
References blender::ImplicitSharingInfo::add_user(), as_socket_value(), BLI_assert_unreachable, blender::bke::SocketValueVariant::get(), blender::bke::SocketValueVariant::is_list(), blender::nodes::is_valid_internal_bundle_item_type(), blender::nodes::socket_type_info_by_static_type(), blender::nodes::BundleItemSocketValue::value, and value.
Referenced by blender::nodes::Bundle::lookup(), blender::nodes::Bundle::lookup_path(), and blender::nodes::Bundle::lookup_path().
|
inline |
Attempts to cast the stored value to the given type. This may do implicit conversions.
Definition at line 101 of file NOD_geometry_nodes_bundle.hh.
References blender::bke::SocketValueVariant::get(), blender::nodes::implicitly_convert_socket_value(), T, blender::bke::bNodeSocketType::type, blender::nodes::BundleItemSocketValue::type, blender::nodes::BundleItemSocketValue::value, and value.
Referenced by as().
| std::variant<BundleItemSocketValue, BundleItemInternalValue> blender::nodes::BundleItemValue::value |
Definition at line 37 of file NOD_geometry_nodes_bundle.hh.
Referenced by as(), as_socket_value(), blender::ed::spreadsheet::SpreadsheetLayoutDrawer::draw_content_cell_value(), and blender::nodes::node_geo_separate_bundle_cc::node_geo_exec().