|
Blender V4.3
|
#include <cstdlib>#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "rna_internal.hh"#include "DNA_curves_types.h"#include "DNA_customdata_types.h"#include "DNA_grease_pencil_types.h"#include "DNA_mesh_types.h"#include "DNA_meshdata_types.h"#include "DNA_pointcloud_types.h"#include "BLI_math_color.h"#include "BKE_attribute.hh"#include "BKE_customdata.hh"#include "BLT_translation.hh"#include "WM_types.hh"Go to the source code of this file.
| void RNA_def_attribute | ( | BlenderRNA * | brna | ) |
Definition at line 1790 of file rna_attribute.cc.
References rna_def_attribute(), rna_def_attribute_group_curves(), rna_def_attribute_group_grease_pencil(), rna_def_attribute_group_grease_pencil_drawing(), rna_def_attribute_group_mesh(), and rna_def_attribute_group_point_cloud().
|
static |
Definition at line 1416 of file rna_attribute.cc.
References PROP_BOOLEAN, PROP_EDITABLE, PROP_ENUM, PROP_NONE, PROP_STRING, rna_def_attribute_bool(), rna_def_attribute_byte_color(), rna_def_attribute_float(), rna_def_attribute_float2(), rna_def_attribute_float4x4(), rna_def_attribute_float_color(), rna_def_attribute_float_vector(), rna_def_attribute_int(), rna_def_attribute_int2(), rna_def_attribute_int8(), rna_def_attribute_quaternion(), rna_def_attribute_string(), RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_clear_flag(), RNA_def_property_editable_func(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_string_funcs(), RNA_def_property_ui_text(), RNA_def_struct(), RNA_def_struct_name_property(), RNA_def_struct_path_func(), RNA_def_struct_refine_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_enum_attribute_domain_items, and rna_enum_attribute_type_items.
Referenced by RNA_def_attribute().
|
static |
Definition at line 1211 of file rna_attribute.cc.
References PROP_BOOLEAN, PROP_COLLECTION, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_collection_funcs(), RNA_def_property_override_flag(), RNA_def_property_struct_type(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
|
static |
Definition at line 1091 of file rna_attribute.cc.
References PROP_COLLECTION, PROP_COLOR, PROP_FLOAT, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_array(), RNA_def_property_collection_funcs(), RNA_def_property_float_funcs(), RNA_def_property_override_flag(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
|
static |
Definition at line 971 of file rna_attribute.cc.
References PROP_COLLECTION, PROP_FLOAT, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_collection_funcs(), RNA_def_property_float_sdna(), RNA_def_property_override_flag(), RNA_def_property_struct_type(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
|
static |
Definition at line 1379 of file rna_attribute.cc.
References PROP_COLLECTION, PROP_DIRECTION, PROP_FLOAT, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_array(), RNA_def_property_collection_funcs(), RNA_def_property_float_sdna(), RNA_def_property_override_flag(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
|
static |
Definition at line 1344 of file rna_attribute.cc.
References PROP_COLLECTION, PROP_FLOAT, PROP_MATRIX, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_collection_funcs(), RNA_def_property_float_sdna(), RNA_def_property_multi_array(), RNA_def_property_override_flag(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_matrix_dimsize_4x4.
Referenced by rna_def_attribute().
|
static |
Definition at line 1042 of file rna_attribute.cc.
References PROP_COLLECTION, PROP_COLOR, PROP_FLOAT, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_array(), RNA_def_property_collection_funcs(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), RNA_def_property_override_flag(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
|
static |
Definition at line 1004 of file rna_attribute.cc.
References PROP_COLLECTION, PROP_DIRECTION, PROP_FLOAT, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_array(), RNA_def_property_collection_funcs(), RNA_def_property_float_sdna(), RNA_def_property_override_flag(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
|
static |
Definition at line 1623 of file rna_attribute.cc.
References rna_def_attribute_group_id_common(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_attribute().
|
static |
Definition at line 1634 of file rna_attribute.cc.
References rna_def_attribute_group_id_common(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_attribute().
|
static |
Definition at line 1645 of file rna_attribute.cc.
References CD_PROP_FLOAT, FUNC_USE_REPORTS, FUNC_USE_SELF_ID, PARM_REQUIRED, PARM_RNAPTR, PROP_ANIMATABLE, PROP_EDITABLE, PROP_INT, PROP_NEVER_NULL, PROP_NEVER_UNLINK, PROP_NONE, PROP_POINTER, PROP_THICK_WRAP, RNA_def_enum(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_return(), RNA_def_function_ui_description(), RNA_def_int(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_def_property_int_funcs(), RNA_def_property_pointer_funcs(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_string(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_enum_attribute_domain_items, and rna_enum_attribute_type_items.
Referenced by RNA_def_attribute().
|
static |
Definition at line 1473 of file rna_attribute.cc.
References CD_PROP_FLOAT, FUNC_USE_REPORTS, PARM_REQUIRED, PARM_RNAPTR, PROP_ANIMATABLE, PROP_EDITABLE, PROP_INT, PROP_NEVER_NULL, PROP_NEVER_UNLINK, PROP_NONE, PROP_POINTER, PROP_THICK_WRAP, RNA_def_enum(), RNA_def_function(), RNA_def_function_flag(), RNA_def_function_return(), RNA_def_function_ui_description(), RNA_def_int(), RNA_def_parameter_clear_flags(), RNA_def_parameter_flags(), RNA_def_pointer(), RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_def_property_int_funcs(), RNA_def_property_pointer_funcs(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_string(), rna_enum_attribute_domain_items, and rna_enum_attribute_type_items.
Referenced by rna_def_attribute_group_curves(), rna_def_attribute_group_grease_pencil(), rna_def_attribute_group_mesh(), and rna_def_attribute_group_point_cloud().
|
static |
Definition at line 1546 of file rna_attribute.cc.
References MAX_CUSTOMDATA_LAYER_NAME_NO_PREFIX, PROP_ANIMATABLE, PROP_EDITABLE, PROP_INT, PROP_NEVER_UNLINK, PROP_NONE, PROP_POINTER, PROP_STRING, rna_def_attribute_group_id_common(), RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_def_property_int_funcs(), RNA_def_property_pointer_funcs(), RNA_def_property_string_funcs(), RNA_def_property_string_maxlength(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_attribute().
|
static |
Definition at line 1612 of file rna_attribute.cc.
References rna_def_attribute_group_id_common(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_attribute().
|
static |
Definition at line 1144 of file rna_attribute.cc.
References PROP_COLLECTION, PROP_INT, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_collection_funcs(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_struct_type(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
|
static |
Definition at line 1273 of file rna_attribute.cc.
References PROP_COLLECTION, PROP_INT, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_array(), RNA_def_property_collection_funcs(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
|
static |
Definition at line 1241 of file rna_attribute.cc.
References PROP_COLLECTION, PROP_INT, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_collection_funcs(), RNA_def_property_int_sdna(), RNA_def_property_override_flag(), RNA_def_property_struct_type(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
|
static |
Definition at line 1309 of file rna_attribute.cc.
References PROP_COLLECTION, PROP_FLOAT, PROP_NONE, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_array(), RNA_def_property_collection_funcs(), RNA_def_property_float_sdna(), RNA_def_property_override_flag(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
|
static |
Definition at line 1176 of file rna_attribute.cc.
References PROP_BYTESTRING, PROP_COLLECTION, PROP_NONE, PROP_STRING, PROPOVERRIDE_IGNORE, RNA_def_property(), RNA_def_property_collection_funcs(), RNA_def_property_override_flag(), RNA_def_property_string_funcs(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by rna_def_attribute().
| void rna_def_attributes_common | ( | StructRNA * | srna, |
| const AttributeOwnerType | type ) |
Definition at line 1724 of file rna_attribute.cc.
References Curves, GreasePencil, GreasePencilDrawing, Mesh, PointCloud, PROP_COLLECTION, PROP_NONE, RNA_def_property(), RNA_def_property_collection_funcs(), RNA_def_property_srna(), RNA_def_property_struct_type(), and RNA_def_property_ui_text().
Referenced by rna_def_curves(), rna_def_grease_pencil_data(), rna_def_grease_pencil_drawing(), rna_def_mesh(), and rna_def_pointcloud().
| const EnumPropertyItem rna_enum_attribute_curves_domain_items[] |
Definition at line 170 of file rna_attribute.cc.
Referenced by blender::ed::curves::CURVES_OT_set_selection_domain(), and rna_def_curves().
| const EnumPropertyItem rna_enum_attribute_domain_edge_face_items[] |
Definition at line 137 of file rna_attribute.cc.
Referenced by blender::nodes::node_geo_set_shade_smooth_cc::node_rna().
| const EnumPropertyItem rna_enum_attribute_domain_items[] |
Definition at line 85 of file rna_attribute.cc.
Referenced by blender::ui::attribute_domain_string(), def_geo_foreach_geometry_element_output(), def_geo_sample_index(), blender::ed::geometry::GEOMETRY_OT_attribute_add(), blender::ed::geometry::GEOMETRY_OT_attribute_convert(), blender::bke::bake::get_domain_from_io_name(), blender::bke::bake::get_domain_io_name(), blender::nodes::node_geo_store_named_attribute_cc::node_geo_exec(), blender::nodes::node_geo_accumulate_field_cc::node_rna(), blender::nodes::node_geo_attribute_statistic_cc::node_rna(), blender::nodes::node_geo_evaluate_at_index_cc::node_rna(), blender::nodes::node_geo_evaluate_on_domain_cc::node_rna(), blender::nodes::node_geo_sort_elements_cc::node_rna(), blender::nodes::node_geo_store_named_attribute_cc::node_rna(), rna_def_attribute(), rna_def_attribute_group_grease_pencil_drawing(), rna_def_attribute_group_id_common(), rna_def_geo_bake_item(), rna_def_geo_capture_attribute(), rna_def_geo_foreach_geometry_element_generation_item(), rna_def_node_interface_socket(), rna_def_simulation_state_item(), and rna_def_space_spreadsheet().
| const EnumPropertyItem rna_enum_attribute_domain_only_mesh_items[] |
Definition at line 100 of file rna_attribute.cc.
Referenced by blender::nodes::node_geo_sample_nearest_cc::node_rna().
| const EnumPropertyItem rna_enum_attribute_domain_only_mesh_no_corner_items[] |
Definition at line 115 of file rna_attribute.cc.
Referenced by blender::nodes::node_geo_tool_active_element_cc::node_rna().
| const EnumPropertyItem rna_enum_attribute_domain_only_mesh_no_edge_items[] |
Definition at line 108 of file rna_attribute.cc.
| const EnumPropertyItem rna_enum_attribute_domain_point_edge_face_curve_items[] |
Definition at line 129 of file rna_attribute.cc.
Referenced by blender::nodes::node_geo_tool_set_selection_cc::node_rna().
| const EnumPropertyItem rna_enum_attribute_domain_point_face_curve_items[] |
Definition at line 122 of file rna_attribute.cc.
| const EnumPropertyItem rna_enum_attribute_domain_with_auto_items[] |
Definition at line 153 of file rna_attribute.cc.
Referenced by blender::nodes::node_geo_viewer_cc::node_rna().
| const EnumPropertyItem rna_enum_attribute_domain_without_corner_items[] |
Definition at line 143 of file rna_attribute.cc.
Referenced by blender::nodes::node_geo_delete_geometry_cc::node_rna(), blender::nodes::node_geo_separate_geometry_cc::node_rna(), and blender::nodes::node_geo_split_to_instances_cc::node_rna().
| const EnumPropertyItem rna_enum_attribute_type_items[] |
Definition at line 35 of file rna_attribute.cc.
Referenced by blender::ui::attribute_data_type_string(), blender::nodes::enums::attribute_type_type_with_socket_fn(), def_fn_random_value(), def_geo_curve_sample(), def_geo_sample_index(), blender::ed::geometry::GEOMETRY_OT_attribute_add(), blender::ed::geometry::GEOMETRY_OT_attribute_convert(), blender::bke::bake::get_data_type_from_io_name(), blender::bke::bake::get_data_type_io_name(), blender::nodes::grid_custom_data_type_items_filter_fn(), blender::nodes::node_geo_store_named_attribute_cc::node_geo_exec(), blender::nodes::node_geo_attribute_statistic_cc::node_rna(), blender::nodes::node_geo_blur_attribute_cc::node_rna(), blender::nodes::node_geo_evaluate_at_index_cc::node_rna(), blender::nodes::node_geo_evaluate_on_domain_cc::node_rna(), blender::nodes::node_geo_input_named_attribute_cc::node_rna(), blender::nodes::node_geo_raycast_cc::node_rna(), blender::nodes::node_geo_sample_nearest_surface_cc::node_rna(), blender::nodes::node_geo_sample_uv_surface_cc::node_rna(), blender::nodes::node_geo_store_named_attribute_cc::node_rna(), blender::nodes::node_geo_store_named_grid_cc::node_rna(), blender::nodes::node_geo_viewer_cc::node_rna(), rna_def_attribute(), rna_def_attribute_group_grease_pencil_drawing(), rna_def_attribute_group_id_common(), and rna_def_geo_capture_attribute_item().
| const EnumPropertyItem rna_enum_attribute_type_with_auto_items[] |
Definition at line 64 of file rna_attribute.cc.
| const EnumPropertyItem rna_enum_color_attribute_domain_items[] |
Definition at line 165 of file rna_attribute.cc.
Referenced by blender::ed::geometry::GEOMETRY_OT_color_attribute_add(), blender::ed::geometry::GEOMETRY_OT_color_attribute_convert(), and PAINT_OT_add_texture_paint_slot().
| const EnumPropertyItem rna_enum_color_attribute_type_items[] |
Definition at line 55 of file rna_attribute.cc.
Referenced by blender::ed::geometry::GEOMETRY_OT_color_attribute_add(), blender::ed::geometry::GEOMETRY_OT_color_attribute_convert(), and PAINT_OT_add_texture_paint_slot().