Blender V4.3
rna_modifier.cc File Reference
#include <cfloat>
#include <climits>
#include <cstdlib>
#include "DNA_armature_types.h"
#include "DNA_cachefile_types.h"
#include "DNA_gpencil_modifier_types.h"
#include "DNA_lineart_types.h"
#include "DNA_mesh_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_force_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "MEM_guardedalloc.h"
#include "BLT_translation.hh"
#include "BKE_animsys.h"
#include "BKE_attribute.hh"
#include "BKE_compute_contexts.hh"
#include "BKE_curveprofile.h"
#include "BKE_customdata.hh"
#include "BKE_data_transfer.h"
#include "BKE_dynamicpaint.h"
#include "BKE_effect.h"
#include "BKE_fluid.h"
#include "BKE_idprop.hh"
#include "BKE_mesh_mapping.hh"
#include "BKE_mesh_remap.hh"
#include "BKE_multires.hh"
#include "BKE_ocean.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "rna_internal.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "MOD_nodes.hh"
#include "NOD_geometry_nodes_log.hh"

Go to the source code of this file.

Functions

static void rna_def_modifier_panel_open_prop (StructRNA *srna, const char *identifier, const int id)
 
static void rna_def_property_subdivision_common (StructRNA *srna)
 
static void rna_def_modifier_subsurf (BlenderRNA *brna)
 
static void rna_def_modifier_generic_map_info (StructRNA *srna)
 
static void rna_def_modifier_warp (BlenderRNA *brna)
 
static void rna_def_modifier_multires (BlenderRNA *brna)
 
static void rna_def_modifier_lattice (BlenderRNA *brna)
 
static void rna_def_modifier_curve (BlenderRNA *brna)
 
static void rna_def_modifier_build (BlenderRNA *brna)
 
static void rna_def_modifier_mirror (BlenderRNA *brna)
 
static void rna_def_modifier_decimate (BlenderRNA *brna)
 
static void rna_def_modifier_wave (BlenderRNA *brna)
 
static void rna_def_modifier_armature (BlenderRNA *brna)
 
static void rna_def_modifier_hook (BlenderRNA *brna)
 
static void rna_def_modifier_softbody (BlenderRNA *brna)
 
static void rna_def_modifier_boolean (BlenderRNA *brna)
 
static void rna_def_modifier_array (BlenderRNA *brna)
 
static void rna_def_modifier_edgesplit (BlenderRNA *brna)
 
static void rna_def_modifier_displace (BlenderRNA *brna)
 
static void rna_def_modifier_uvproject (BlenderRNA *brna)
 
static void rna_def_modifier_smooth (BlenderRNA *brna)
 
static void rna_def_modifier_correctivesmooth (BlenderRNA *brna)
 
static void rna_def_modifier_laplaciansmooth (BlenderRNA *brna)
 
static void rna_def_modifier_cast (BlenderRNA *brna)
 
static void rna_def_modifier_meshdeform (BlenderRNA *brna)
 
static void rna_def_modifier_particlesystem (BlenderRNA *brna)
 
static void rna_def_modifier_particleinstance (BlenderRNA *brna)
 
static void rna_def_modifier_explode (BlenderRNA *brna)
 
static void rna_def_modifier_cloth (BlenderRNA *brna)
 
static void rna_def_modifier_fluid (BlenderRNA *brna)
 
static void rna_def_modifier_dynamic_paint (BlenderRNA *brna)
 
static void rna_def_modifier_collision (BlenderRNA *brna)
 
static void rna_def_modifier_bevel (BlenderRNA *brna)
 
static void rna_def_modifier_shrinkwrap (BlenderRNA *brna)
 
static void rna_def_modifier_mask (BlenderRNA *brna)
 
static void rna_def_modifier_simpledeform (BlenderRNA *brna)
 
static void rna_def_modifier_surface (BlenderRNA *brna)
 
static void rna_def_modifier_solidify (BlenderRNA *brna)
 
static void rna_def_modifier_screw (BlenderRNA *brna)
 
static void rna_def_modifier_uvwarp (BlenderRNA *brna)
 
static void rna_def_modifier_weightvg_mask (BlenderRNA *, StructRNA *srna, const char *mask_flags, const int invert_vgroup_mask_flag, const char *mask_vgroup_setter, const char *mask_uvlayer_setter)
 
static void rna_def_modifier_weightvgedit (BlenderRNA *brna)
 
static void rna_def_modifier_weightvgmix (BlenderRNA *brna)
 
static void rna_def_modifier_weightvgproximity (BlenderRNA *brna)
 
static void rna_def_modifier_remesh (BlenderRNA *brna)
 
static void rna_def_modifier_ocean (BlenderRNA *brna)
 
static void rna_def_modifier_skin (BlenderRNA *brna)
 
static void rna_def_modifier_triangulate (BlenderRNA *brna)
 
static void rna_def_modifier_meshcache (BlenderRNA *brna)
 
static void rna_def_modifier_meshseqcache (BlenderRNA *brna)
 
static void rna_def_modifier_laplaciandeform (BlenderRNA *brna)
 
static void rna_def_modifier_weld (BlenderRNA *brna)
 
static void rna_def_modifier_wireframe (BlenderRNA *brna)
 
static void rna_def_modifier_datatransfer (BlenderRNA *brna)
 
static void rna_def_modifier_normaledit (BlenderRNA *brna)
 
static void rna_def_modifier_surfacedeform (BlenderRNA *brna)
 
static void rna_def_modifier_weightednormal (BlenderRNA *brna)
 
static void rna_def_modifier_nodes_data_block (BlenderRNA *brna)
 
static void rna_def_modifier_nodes_bake_data_blocks (BlenderRNA *brna)
 
static void rna_def_modifier_nodes_bake (BlenderRNA *brna)
 
static void rna_def_modifier_nodes_bakes (BlenderRNA *brna)
 
static void rna_def_modifier_nodes_panel (BlenderRNA *brna)
 
static void rna_def_modifier_nodes_panels (BlenderRNA *brna)
 
static void rna_def_modifier_nodes_warning (BlenderRNA *brna)
 
static void rna_def_modifier_nodes (BlenderRNA *brna)
 
static void rna_def_modifier_mesh_to_volume (BlenderRNA *brna)
 
static void rna_def_modifier_volume_displace (BlenderRNA *brna)
 
static void rna_def_modifier_volume_to_mesh (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_layer_filter (StructRNA *srna)
 
static void rna_def_modifier_grease_pencil_material_filter (StructRNA *srna, const char *material_set_fn)
 
static void rna_def_modifier_grease_pencil_vertex_group (StructRNA *srna, const char *vertex_group_name_set_fn)
 
static void rna_def_modifier_grease_pencil_custom_curve (StructRNA *srna)
 
static void rna_def_modifier_grease_pencil_opacity (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_subdiv (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_color (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_tint (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_lineart (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_smooth (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_offset (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_noise (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_length (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_mirror (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_thickness (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_array (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_lattice (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_dash_segment (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_dash (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_weight_angle (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_multiply (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_hook (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_weight_proximity (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_simplify (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_armature (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_time_segment (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_time (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_envelope (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_outline (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_shrinkwrap (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_build (BlenderRNA *brna)
 
static void rna_def_modifier_grease_pencil_texture (BlenderRNA *brna)
 
void RNA_def_modifier (BlenderRNA *brna)
 

Variables

const EnumPropertyItem rna_enum_object_modifier_type_items []
 
const EnumPropertyItem rna_enum_modifier_triangulate_quad_method_items []
 
const EnumPropertyItem rna_enum_modifier_triangulate_ngon_method_items []
 
const EnumPropertyItem rna_enum_modifier_shrinkwrap_mode_items []
 
const EnumPropertyItem rna_enum_shrinkwrap_type_items []
 
const EnumPropertyItem rna_enum_shrinkwrap_face_cull_items []
 
const EnumPropertyItem rna_enum_node_warning_type_items []
 
static const EnumPropertyItem modifier_warp_falloff_items []
 
const EnumPropertyItem rna_enum_dt_method_vertex_items []
 
const EnumPropertyItem rna_enum_dt_method_edge_items []
 
const EnumPropertyItem rna_enum_dt_method_loop_items []
 
const EnumPropertyItem rna_enum_dt_method_poly_items []
 
const EnumPropertyItem rna_enum_dt_mix_mode_items []
 
const EnumPropertyItem rna_enum_dt_layers_select_src_items []
 
const EnumPropertyItem rna_enum_dt_layers_select_dst_items []
 
const EnumPropertyItem rna_enum_axis_xy_items []
 
const EnumPropertyItem rna_enum_axis_xyz_items []
 
const EnumPropertyItem rna_enum_axis_flag_xyz_items []
 
const EnumPropertyItem rna_enum_subdivision_uv_smooth_items []
 
const EnumPropertyItem rna_enum_subdivision_boundary_smooth_items []
 
static const EnumPropertyItem grease_pencil_build_time_mode_items []
 
static EnumPropertyItem bake_target_in_node_items []
 
static EnumPropertyItem bake_target_in_modifier_items []
 

Function Documentation

◆ RNA_def_modifier()

void RNA_def_modifier ( BlenderRNA * brna)

Definition at line 11189 of file rna_modifier.cc.

References eModifierFlag_Active, eModifierFlag_OverrideLibrary_Local, eModifierFlag_PinLast, eModifierMode_ApplyOnSpline, eModifierMode_Editmode, eModifierMode_OnCage, eModifierMode_Realtime, eModifierMode_Render, NA_RENAME, NC_OBJECT, ND_MODIFIER, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_INT, PROP_LIB_EXCEPTION, PROP_NO_DEG_UPDATE, PROP_NONE, PROP_STRING, PROP_TIME_ABSOLUTE, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_def_boolean(), rna_def_modifier_armature(), rna_def_modifier_array(), rna_def_modifier_bevel(), rna_def_modifier_boolean(), rna_def_modifier_build(), rna_def_modifier_cast(), rna_def_modifier_cloth(), rna_def_modifier_collision(), rna_def_modifier_correctivesmooth(), rna_def_modifier_curve(), rna_def_modifier_datatransfer(), rna_def_modifier_decimate(), rna_def_modifier_displace(), rna_def_modifier_dynamic_paint(), rna_def_modifier_edgesplit(), rna_def_modifier_explode(), rna_def_modifier_fluid(), rna_def_modifier_grease_pencil_armature(), rna_def_modifier_grease_pencil_array(), rna_def_modifier_grease_pencil_build(), rna_def_modifier_grease_pencil_color(), rna_def_modifier_grease_pencil_dash(), rna_def_modifier_grease_pencil_dash_segment(), rna_def_modifier_grease_pencil_envelope(), rna_def_modifier_grease_pencil_hook(), rna_def_modifier_grease_pencil_lattice(), rna_def_modifier_grease_pencil_length(), rna_def_modifier_grease_pencil_lineart(), rna_def_modifier_grease_pencil_mirror(), rna_def_modifier_grease_pencil_multiply(), rna_def_modifier_grease_pencil_noise(), rna_def_modifier_grease_pencil_offset(), rna_def_modifier_grease_pencil_opacity(), rna_def_modifier_grease_pencil_outline(), rna_def_modifier_grease_pencil_shrinkwrap(), rna_def_modifier_grease_pencil_simplify(), rna_def_modifier_grease_pencil_smooth(), rna_def_modifier_grease_pencil_subdiv(), rna_def_modifier_grease_pencil_texture(), rna_def_modifier_grease_pencil_thickness(), rna_def_modifier_grease_pencil_time(), rna_def_modifier_grease_pencil_time_segment(), rna_def_modifier_grease_pencil_tint(), rna_def_modifier_grease_pencil_weight_angle(), rna_def_modifier_grease_pencil_weight_proximity(), rna_def_modifier_hook(), rna_def_modifier_laplaciandeform(), rna_def_modifier_laplaciansmooth(), rna_def_modifier_lattice(), rna_def_modifier_mask(), rna_def_modifier_mesh_to_volume(), rna_def_modifier_meshcache(), rna_def_modifier_meshdeform(), rna_def_modifier_meshseqcache(), rna_def_modifier_mirror(), rna_def_modifier_multires(), rna_def_modifier_nodes(), rna_def_modifier_normaledit(), rna_def_modifier_ocean(), rna_def_modifier_particleinstance(), rna_def_modifier_particlesystem(), rna_def_modifier_remesh(), rna_def_modifier_screw(), rna_def_modifier_shrinkwrap(), rna_def_modifier_simpledeform(), rna_def_modifier_skin(), rna_def_modifier_smooth(), rna_def_modifier_softbody(), rna_def_modifier_solidify(), rna_def_modifier_subsurf(), rna_def_modifier_surface(), rna_def_modifier_surfacedeform(), rna_def_modifier_triangulate(), rna_def_modifier_uvproject(), rna_def_modifier_uvwarp(), rna_def_modifier_volume_displace(), rna_def_modifier_volume_to_mesh(), rna_def_modifier_warp(), rna_def_modifier_wave(), rna_def_modifier_weightednormal(), rna_def_modifier_weightvgedit(), rna_def_modifier_weightvgmix(), rna_def_modifier_weightvgproximity(), rna_def_modifier_weld(), rna_def_modifier_wireframe(), RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_override_flag(), RNA_def_property_string_funcs(), RNA_def_property_ui_icon(), RNA_def_property_ui_text(), RNA_def_property_update(), 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_icon(), RNA_def_struct_ui_text(), and rna_enum_object_modifier_type_items.

◆ rna_def_modifier_armature()

◆ rna_def_modifier_array()

◆ rna_def_modifier_bevel()

static void rna_def_modifier_bevel ( BlenderRNA * brna)
static

Definition at line 4797 of file rna_modifier.cc.

References DEG2RADF, FLT_MAX, MOD_BEVEL_AFFECT_EDGES, MOD_BEVEL_AFFECT_VERTICES, MOD_BEVEL_AMT_ABSOLUTE, MOD_BEVEL_AMT_DEPTH, MOD_BEVEL_AMT_OFFSET, MOD_BEVEL_AMT_PERCENT, MOD_BEVEL_AMT_WIDTH, MOD_BEVEL_ANGLE, MOD_BEVEL_EVEN_WIDTHS, MOD_BEVEL_FACE_STRENGTH_AFFECTED, MOD_BEVEL_FACE_STRENGTH_ALL, MOD_BEVEL_FACE_STRENGTH_NEW, MOD_BEVEL_FACE_STRENGTH_NONE, MOD_BEVEL_HARDEN_NORMALS, MOD_BEVEL_INVERT_VGROUP, MOD_BEVEL_MARK_SEAM, MOD_BEVEL_MARK_SHARP, MOD_BEVEL_MITER_ARC, MOD_BEVEL_MITER_PATCH, MOD_BEVEL_MITER_SHARP, MOD_BEVEL_OVERLAP_OK, MOD_BEVEL_PROFILE_CUSTOM, MOD_BEVEL_PROFILE_SUPERELLIPSE, MOD_BEVEL_VGROUP, MOD_BEVEL_VMESH_ADJ, MOD_BEVEL_VMESH_CUTOFF, MOD_BEVEL_WEIGHT, PROP_ANGLE, PROP_BOOLEAN, PROP_DISTANCE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_PERCENTAGE, PROP_POINTER, PROP_STRING, PROP_STRING_SEARCH_SUGGESTION, RNA_def_property(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_string_funcs(), RNA_def_property_string_sdna(), RNA_def_property_string_search_func(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), and RNA_define_lib_overridable().

Referenced by RNA_def_modifier().

◆ rna_def_modifier_boolean()

◆ rna_def_modifier_build()

◆ rna_def_modifier_cast()

◆ rna_def_modifier_cloth()

◆ rna_def_modifier_collision()

◆ rna_def_modifier_correctivesmooth()

◆ rna_def_modifier_curve()

◆ rna_def_modifier_datatransfer()

static void rna_def_modifier_datatransfer ( BlenderRNA * brna)
static

Definition at line 7176 of file rna_modifier.cc.

References CDT_MIX_TRANSFER, DT_LAYERS_ALL_SRC, DT_LAYERS_NAME_DST, DT_TYPE_BWEIGHT_EDGE, DT_TYPE_BWEIGHT_VERT, DT_TYPE_CREASE, DT_TYPE_FREESTYLE_EDGE, DT_TYPE_FREESTYLE_FACE, DT_TYPE_LNOR, DT_TYPE_MDEFORMVERT, DT_TYPE_MLOOPCOL_LOOP, DT_TYPE_MLOOPCOL_VERT, DT_TYPE_MPROPCOL_LOOP, DT_TYPE_MPROPCOL_VERT, DT_TYPE_SEAM, DT_TYPE_SHAPEKEY, DT_TYPE_SHARP_EDGE, DT_TYPE_SHARP_FACE, DT_TYPE_SKIN, DT_TYPE_UV, FLT_MAX, MAX_VGROUP_NAME, MOD_DATATRANSFER_INVERT_VGROUP, MOD_DATATRANSFER_MAP_MAXDIST, MOD_DATATRANSFER_OBSRC_TRANSFORM, MOD_DATATRANSFER_USE_EDGE, MOD_DATATRANSFER_USE_LOOP, MOD_DATATRANSFER_USE_POLY, MOD_DATATRANSFER_USE_VERT, MREMAP_MODE_EDGE_NEAREST, MREMAP_MODE_LOOP_NEAREST_POLYNOR, MREMAP_MODE_POLY_NEAREST, MREMAP_MODE_VERT_NEAREST, PROP_DISTANCE, PROP_EDITABLE, PROP_ENUM_FLAG, PROP_ID_SELF_CHECK, PROP_NONE, PROP_POINTER, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_float_factor(), RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_funcs(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_string_funcs(), RNA_def_property_string_sdna(), RNA_def_property_subtype(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_string(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), RNA_define_lib_overridable(), rna_enum_dt_layers_select_dst_items, rna_enum_dt_layers_select_src_items, rna_enum_dt_method_edge_items, rna_enum_dt_method_loop_items, rna_enum_dt_method_poly_items, rna_enum_dt_method_vertex_items, and rna_enum_dt_mix_mode_items.

Referenced by RNA_def_modifier().

◆ rna_def_modifier_decimate()

◆ rna_def_modifier_displace()

◆ rna_def_modifier_dynamic_paint()

◆ rna_def_modifier_edgesplit()

◆ rna_def_modifier_explode()

◆ rna_def_modifier_fluid()

◆ rna_def_modifier_generic_map_info()

◆ rna_def_modifier_grease_pencil_armature()

◆ rna_def_modifier_grease_pencil_array()

◆ rna_def_modifier_grease_pencil_build()

◆ rna_def_modifier_grease_pencil_color()

◆ rna_def_modifier_grease_pencil_custom_curve()

◆ rna_def_modifier_grease_pencil_dash()

◆ rna_def_modifier_grease_pencil_dash_segment()

◆ rna_def_modifier_grease_pencil_envelope()

◆ rna_def_modifier_grease_pencil_hook()

static void rna_def_modifier_grease_pencil_hook ( BlenderRNA * brna)
static

◆ rna_def_modifier_grease_pencil_lattice()

◆ rna_def_modifier_grease_pencil_layer_filter()

static void rna_def_modifier_grease_pencil_layer_filter ( StructRNA * srna)
static

◆ rna_def_modifier_grease_pencil_length()

◆ rna_def_modifier_grease_pencil_lineart()

static void rna_def_modifier_grease_pencil_lineart ( BlenderRNA * brna)
static

Definition at line 8708 of file rna_modifier.cc.

References DEG2RAD, FLT_MAX, LINEART_GPENCIL_INTERSECTION_MATCH, LINEART_GPENCIL_INVERT_COLLECTION, LINEART_GPENCIL_INVERT_SILHOUETTE_FILTER, LINEART_GPENCIL_IS_BAKED, LINEART_GPENCIL_MATERIAL_MASK_ENABLE, LINEART_GPENCIL_MATERIAL_MASK_MATCH, LINEART_GPENCIL_OFFSET_TOWARDS_CUSTOM_CAMERA, LINEART_GPENCIL_USE_CACHE, LINEART_SHADOW_FILTER_ILLUMINATED, LINEART_SHADOW_FILTER_ILLUMINATED_ENCLOSED_SHAPES, LINEART_SHADOW_FILTER_NONE, LINEART_SHADOW_FILTER_SHADED, LINEART_SILHOUETTE_FILTER_GROUP, LINEART_SILHOUETTE_FILTER_INDIVIDUAL, LINEART_SILHOUETTE_FILTER_NONE, LINEART_SOURCE_COLLECTION, LINEART_SOURCE_OBJECT, LINEART_SOURCE_SCENE, MOD_LINEART_ALLOW_CLIPPING_BOUNDARIES, MOD_LINEART_ALLOW_DUPLI_OBJECTS, MOD_LINEART_ALLOW_OVERLAP_EDGE_TYPES, MOD_LINEART_ALLOW_OVERLAPPING_EDGES, MOD_LINEART_CHAIN_GEOMETRY_SPACE, MOD_LINEART_CHAIN_LOOSE_EDGES, MOD_LINEART_CHAIN_PRESERVE_DETAILS, MOD_LINEART_EDGE_FLAG_CONTOUR, MOD_LINEART_EDGE_FLAG_CREASE, MOD_LINEART_EDGE_FLAG_EDGE_MARK, MOD_LINEART_EDGE_FLAG_INTERSECTION, MOD_LINEART_EDGE_FLAG_LIGHT_CONTOUR, MOD_LINEART_EDGE_FLAG_LOOSE, MOD_LINEART_EDGE_FLAG_MATERIAL, MOD_LINEART_EDGE_FLAG_PROJECTED_SHADOW, MOD_LINEART_EVERYTHING_AS_CONTOUR, MOD_LINEART_FILTER_FACE_MARK, MOD_LINEART_FILTER_FACE_MARK_BOUNDARIES, MOD_LINEART_FILTER_FACE_MARK_INVERT, MOD_LINEART_FILTER_FACE_MARK_KEEP_CONTOUR, MOD_LINEART_INTERSECTION_AS_CONTOUR, MOD_LINEART_INVERT_SOURCE_VGROUP, MOD_LINEART_LOOSE_AS_CONTOUR, MOD_LINEART_MATCH_OUTPUT_VGROUP, MOD_LINEART_USE_BACK_FACE_CULLING, MOD_LINEART_USE_CREASE_ON_SHARP_EDGES, MOD_LINEART_USE_CREASE_ON_SMOOTH_SURFACES, MOD_LINEART_USE_CUSTOM_CAMERA, MOD_LINEART_USE_IMAGE_BOUNDARY_TRIMMING, NC_SCENE, PROP_ANGLE, PROP_BOOLEAN, PROP_DISTANCE, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_ID_SELF_CHECK, PROP_INT, PROP_NONE, PROP_POINTER, PROP_STRING, PROPOVERRIDE_OVERRIDABLE_LIBRARY, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_int_funcs(), RNA_def_property_override_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_range(), RNA_def_property_string_funcs(), RNA_def_property_string_sdna(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_sdna(), RNA_def_struct_ui_icon(), RNA_def_struct_ui_text(), and RNA_define_lib_overridable().

Referenced by RNA_def_modifier().

◆ rna_def_modifier_grease_pencil_material_filter()

static void rna_def_modifier_grease_pencil_material_filter ( StructRNA * srna,
const char * material_set_fn )
static

Definition at line 8384 of file rna_modifier.cc.

References GREASE_PENCIL_INFLUENCE_INVERT_MATERIAL_FILTER, GREASE_PENCIL_INFLUENCE_INVERT_MATERIAL_PASS_FILTER, GREASE_PENCIL_INFLUENCE_USE_MATERIAL_PASS_FILTER, PROP_BOOLEAN, PROP_EDITABLE, PROP_INT, PROP_NONE, PROP_POINTER, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_flag(), RNA_def_property_int_sdna(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_ui_text(), and RNA_def_property_update().

Referenced by rna_def_modifier_grease_pencil_array(), rna_def_modifier_grease_pencil_build(), rna_def_modifier_grease_pencil_color(), rna_def_modifier_grease_pencil_dash(), rna_def_modifier_grease_pencil_envelope(), rna_def_modifier_grease_pencil_hook(), rna_def_modifier_grease_pencil_lattice(), rna_def_modifier_grease_pencil_length(), rna_def_modifier_grease_pencil_mirror(), rna_def_modifier_grease_pencil_multiply(), rna_def_modifier_grease_pencil_noise(), rna_def_modifier_grease_pencil_offset(), rna_def_modifier_grease_pencil_opacity(), rna_def_modifier_grease_pencil_outline(), rna_def_modifier_grease_pencil_shrinkwrap(), rna_def_modifier_grease_pencil_simplify(), rna_def_modifier_grease_pencil_smooth(), rna_def_modifier_grease_pencil_subdiv(), rna_def_modifier_grease_pencil_texture(), rna_def_modifier_grease_pencil_thickness(), rna_def_modifier_grease_pencil_tint(), rna_def_modifier_grease_pencil_weight_angle(), and rna_def_modifier_grease_pencil_weight_proximity().

◆ rna_def_modifier_grease_pencil_mirror()

◆ rna_def_modifier_grease_pencil_multiply()

◆ rna_def_modifier_grease_pencil_noise()

◆ rna_def_modifier_grease_pencil_offset()

◆ rna_def_modifier_grease_pencil_opacity()

◆ rna_def_modifier_grease_pencil_outline()

◆ rna_def_modifier_grease_pencil_shrinkwrap()

◆ rna_def_modifier_grease_pencil_simplify()

◆ rna_def_modifier_grease_pencil_smooth()

◆ rna_def_modifier_grease_pencil_subdiv()

◆ rna_def_modifier_grease_pencil_texture()

◆ rna_def_modifier_grease_pencil_thickness()

◆ rna_def_modifier_grease_pencil_time()

◆ rna_def_modifier_grease_pencil_time_segment()

◆ rna_def_modifier_grease_pencil_tint()

◆ rna_def_modifier_grease_pencil_vertex_group()

◆ rna_def_modifier_grease_pencil_weight_angle()

◆ rna_def_modifier_grease_pencil_weight_proximity()

◆ rna_def_modifier_hook()

◆ rna_def_modifier_laplaciandeform()

◆ rna_def_modifier_laplaciansmooth()

◆ rna_def_modifier_lattice()

◆ rna_def_modifier_mask()

◆ rna_def_modifier_mesh_to_volume()

◆ rna_def_modifier_meshcache()

◆ rna_def_modifier_meshdeform()

◆ rna_def_modifier_meshseqcache()

◆ rna_def_modifier_mirror()

◆ rna_def_modifier_multires()

◆ rna_def_modifier_nodes()

◆ rna_def_modifier_nodes_bake()

◆ rna_def_modifier_nodes_bake_data_blocks()

static void rna_def_modifier_nodes_bake_data_blocks ( BlenderRNA * brna)
static

◆ rna_def_modifier_nodes_bakes()

static void rna_def_modifier_nodes_bakes ( BlenderRNA * brna)
static

◆ rna_def_modifier_nodes_data_block()

◆ rna_def_modifier_nodes_panel()

◆ rna_def_modifier_nodes_panels()

static void rna_def_modifier_nodes_panels ( BlenderRNA * brna)
static

◆ rna_def_modifier_nodes_warning()

◆ rna_def_modifier_normaledit()

◆ rna_def_modifier_ocean()

◆ rna_def_modifier_panel_open_prop()

◆ rna_def_modifier_particleinstance()

◆ rna_def_modifier_particlesystem()

◆ rna_def_modifier_remesh()

◆ rna_def_modifier_screw()

◆ rna_def_modifier_shrinkwrap()

◆ rna_def_modifier_simpledeform()

◆ rna_def_modifier_skin()

◆ rna_def_modifier_smooth()

◆ rna_def_modifier_softbody()

◆ rna_def_modifier_solidify()

◆ rna_def_modifier_subsurf()

◆ rna_def_modifier_surface()

static void rna_def_modifier_surface ( BlenderRNA * brna)
static

◆ rna_def_modifier_surfacedeform()

◆ rna_def_modifier_triangulate()

◆ rna_def_modifier_uvproject()

◆ rna_def_modifier_uvwarp()

◆ rna_def_modifier_volume_displace()

◆ rna_def_modifier_volume_to_mesh()

◆ rna_def_modifier_warp()

◆ rna_def_modifier_wave()

◆ rna_def_modifier_weightednormal()

◆ rna_def_modifier_weightvg_mask()

◆ rna_def_modifier_weightvgedit()

◆ rna_def_modifier_weightvgmix()

◆ rna_def_modifier_weightvgproximity()

◆ rna_def_modifier_weld()

◆ rna_def_modifier_wireframe()

◆ rna_def_property_subdivision_common()

Variable Documentation

◆ bake_target_in_modifier_items

EnumPropertyItem bake_target_in_modifier_items[]
static
Initial value:
= {
"PACKED",
0,
"Packed",
"Pack the baked data into the .blend file"},
"DISK",
0,
"Disk",
"Store the baked data in a directory on disk"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODES_MODIFIER_BAKE_TARGET_PACKED
@ NODES_MODIFIER_BAKE_TARGET_DISK

Definition at line 7900 of file rna_modifier.cc.

Referenced by rna_def_modifier_nodes().

◆ bake_target_in_node_items

EnumPropertyItem bake_target_in_node_items[]
static
Initial value:
= {
"INHERIT",
0,
"Inherit from Modifier",
"Use setting from the modifier"},
"PACKED",
0,
"Packed",
"Pack the baked data into the .blend file"},
"DISK",
0,
"Disk",
"Store the baked data in a directory on disk"},
{0, nullptr, 0, nullptr, nullptr},
}
@ NODES_MODIFIER_BAKE_TARGET_INHERIT

Definition at line 7881 of file rna_modifier.cc.

Referenced by rna_def_modifier_nodes_bake().

◆ grease_pencil_build_time_mode_items

const EnumPropertyItem grease_pencil_build_time_mode_items[]
static
Initial value:
= {
"DRAWSPEED",
0,
"Natural Drawing Speed",
"Use recorded speed multiplied by a factor"},
"FRAMES",
0,
"Number of Frames",
"Set a fixed number of frames for all build animations"},
"PERCENTAGE",
0,
"Percentage Factor",
"Set a manual percentage to build"},
{0, nullptr, 0, nullptr, nullptr},
}
@ MOD_GREASE_PENCIL_BUILD_TIMEMODE_PERCENTAGE
@ MOD_GREASE_PENCIL_BUILD_TIMEMODE_DRAWSPEED
@ MOD_GREASE_PENCIL_BUILD_TIMEMODE_FRAMES

Definition at line 833 of file rna_modifier.cc.

Referenced by rna_def_modifier_grease_pencil_build().

◆ modifier_warp_falloff_items

const EnumPropertyItem modifier_warp_falloff_items[]
static
Initial value:
= {
{eWarp_Falloff_None, "NONE", 0, "No Falloff", ""},
{eWarp_Falloff_Curve, "CURVE", 0, "Curve", ""},
{eWarp_Falloff_Smooth, "SMOOTH", ICON_SMOOTHCURVE, "Smooth", ""},
{eWarp_Falloff_Sphere, "SPHERE", ICON_SPHERECURVE, "Sphere", ""},
{eWarp_Falloff_Root, "ROOT", ICON_ROOTCURVE, "Root", ""},
{eWarp_Falloff_InvSquare, "INVERSE_SQUARE", ICON_ROOTCURVE, "Inverse Square", ""},
{eWarp_Falloff_Sharp, "SHARP", ICON_SHARPCURVE, "Sharp", ""},
{eWarp_Falloff_Linear, "LINEAR", ICON_LINCURVE, "Linear", ""},
{eWarp_Falloff_Const, "CONSTANT", ICON_NOCURVE, "Constant", ""},
{0, nullptr, 0, nullptr, nullptr},
}
@ eWarp_Falloff_Linear
@ eWarp_Falloff_Curve
@ eWarp_Falloff_Sharp
@ eWarp_Falloff_Const
@ eWarp_Falloff_InvSquare
@ eWarp_Falloff_Smooth
@ eWarp_Falloff_None
@ eWarp_Falloff_Sphere
@ eWarp_Falloff_Root

Definition at line 583 of file rna_modifier.cc.

Referenced by rna_def_modifier_hook(), and rna_def_modifier_warp().

◆ rna_enum_axis_flag_xyz_items

const EnumPropertyItem rna_enum_axis_flag_xyz_items[]
Initial value:
= {
{(1 << 0), "X", 0, "X", ""},
{(1 << 1), "Y", 0, "Y", ""},
{(1 << 2), "Z", 0, "Z", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 788 of file rna_modifier.cc.

Referenced by LATTICE_OT_select_mirror(), MESH_GGT_spin(), MESH_OT_select_mirror(), and rna_def_modifier_meshcache().

◆ rna_enum_axis_xy_items

const EnumPropertyItem rna_enum_axis_xy_items[]
Initial value:
= {
{0, "X", 0, "X", ""},
{1, "Y", 0, "Y", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 775 of file rna_modifier.cc.

Referenced by def_cmp_split().

◆ rna_enum_axis_xyz_items

const EnumPropertyItem rna_enum_axis_xyz_items[]

◆ rna_enum_dt_layers_select_dst_items

const EnumPropertyItem rna_enum_dt_layers_select_dst_items[]
Initial value:
= {
{DT_LAYERS_ACTIVE_DST, "ACTIVE", 0, "Active Layer", "Affect active data layer of all targets"},
{DT_LAYERS_NAME_DST, "NAME", 0, "By Name", "Match target data layers to affect by name"},
"INDEX",
0,
"By Order",
"Match target data layers to affect by order (indices)"},
{0, nullptr, 0, nullptr, nullptr},
}
@ DT_LAYERS_ACTIVE_DST
@ DT_LAYERS_INDEX_DST
@ DT_LAYERS_NAME_DST

Definition at line 764 of file rna_modifier.cc.

Referenced by blender::ed::object::dt_layers_select_dst_itemf(), blender::ed::object::OBJECT_OT_data_transfer(), blender::ed::object::OBJECT_OT_datalayout_transfer(), and rna_def_modifier_datatransfer().

◆ rna_enum_dt_layers_select_src_items

const EnumPropertyItem rna_enum_dt_layers_select_src_items[]
Initial value:
= {
{DT_LAYERS_ACTIVE_SRC, "ACTIVE", 0, "Active Layer", "Only transfer active data layer"},
{DT_LAYERS_ALL_SRC, "ALL", 0, "All Layers", "Transfer all data layers"},
"BONE_SELECT",
0,
"Selected Pose Bones",
"Transfer all vertex groups used by selected pose bones"},
"BONE_DEFORM",
0,
"Deform Pose Bones",
"Transfer all vertex groups used by deform bones"},
{0, nullptr, 0, nullptr, nullptr},
}
@ DT_LAYERS_VGROUP_SRC_BONE_SELECT
@ DT_LAYERS_VGROUP_SRC_BONE_DEFORM
@ DT_LAYERS_ALL_SRC
@ DT_LAYERS_ACTIVE_SRC

Definition at line 748 of file rna_modifier.cc.

Referenced by blender::ed::object::dt_layers_select_src_itemf(), blender::ed::object::OBJECT_OT_data_transfer(), blender::ed::object::OBJECT_OT_datalayout_transfer(), and rna_def_modifier_datatransfer().

◆ rna_enum_dt_method_edge_items

const EnumPropertyItem rna_enum_dt_method_edge_items[]
Initial value:
= {
{MREMAP_MODE_TOPOLOGY, "TOPOLOGY", 0, "Topology", "Copy from identical topology meshes"},
"VERT_NEAREST",
0,
"Nearest Vertices",
"Copy from most similar edge (edge which vertices are the closest of destination edge's "
"ones)"},
"NEAREST",
0,
"Nearest Edge",
"Copy from closest edge (using midpoints)"},
"POLY_NEAREST",
0,
"Nearest Face Edge",
"Copy from closest edge of closest face (using midpoints)"},
"EDGEINTERP_VNORPROJ",
0,
"Projected Edge Interpolated",
"Interpolate all source edges hit by the projection of destination one along its own normal "
"(from vertices)"},
{0, nullptr, 0, nullptr, nullptr},
}
@ MREMAP_MODE_EDGE_POLY_NEAREST
@ MREMAP_MODE_EDGE_VERT_NEAREST
@ MREMAP_MODE_TOPOLOGY
@ MREMAP_MODE_EDGE_NEAREST
@ MREMAP_MODE_EDGE_EDGEINTERP_VNORPROJ

Definition at line 631 of file rna_modifier.cc.

Referenced by blender::ed::object::OBJECT_OT_data_transfer(), and rna_def_modifier_datatransfer().

◆ rna_enum_dt_method_loop_items

const EnumPropertyItem rna_enum_dt_method_loop_items[]
Initial value:
= {
{MREMAP_MODE_TOPOLOGY, "TOPOLOGY", 0, "Topology", "Copy from identical topology meshes"},
"NEAREST_NORMAL",
0,
"Nearest Corner and Best Matching Normal",
"Copy from nearest corner which has the best matching normal"},
"NEAREST_POLYNOR",
0,
"Nearest Corner and Best Matching Face Normal",
"Copy from nearest corner which has the face with the best matching normal to destination "
"corner's face one"},
"NEAREST_POLY",
0,
"Nearest Corner of Nearest Face",
"Copy from nearest corner of nearest face"},
"POLYINTERP_NEAREST",
0,
"Nearest Face Interpolated",
"Copy from interpolated corners of the nearest source face"},
"POLYINTERP_LNORPROJ",
0,
"Projected Face Interpolated",
"Copy from interpolated corners of the source face hit by corner normal projection"},
{0, nullptr, 0, nullptr, nullptr},
}
@ MREMAP_MODE_LOOP_POLYINTERP_NEAREST
@ MREMAP_MODE_LOOP_NEAREST_POLYNOR
@ MREMAP_MODE_LOOP_POLYINTERP_LNORPROJ
@ MREMAP_MODE_LOOP_NEAREST_LOOPNOR
@ MREMAP_MODE_LOOP_POLY_NEAREST

Definition at line 658 of file rna_modifier.cc.

Referenced by blender::ed::object::OBJECT_OT_data_transfer(), and rna_def_modifier_datatransfer().

◆ rna_enum_dt_method_poly_items

const EnumPropertyItem rna_enum_dt_method_poly_items[]
Initial value:
= {
{MREMAP_MODE_TOPOLOGY, "TOPOLOGY", 0, "Topology", "Copy from identical topology meshes"},
"NEAREST",
0,
"Nearest Face",
"Copy from nearest face (using center points)"},
"NORMAL",
0,
"Best Normal-Matching",
"Copy from source face which normal is the closest to destination one"},
"POLYINTERP_PNORPROJ",
0,
"Projected Face Interpolated",
"Interpolate all source polygons intersected by the projection of destination one along its "
"own normal"},
{0, nullptr, 0, nullptr, nullptr},
}
@ MREMAP_MODE_POLY_NOR
@ MREMAP_MODE_POLY_POLYINTERP_PNORPROJ
@ MREMAP_MODE_POLY_NEAREST

Definition at line 689 of file rna_modifier.cc.

Referenced by blender::ed::object::OBJECT_OT_data_transfer(), and rna_def_modifier_datatransfer().

◆ rna_enum_dt_method_vertex_items

const EnumPropertyItem rna_enum_dt_method_vertex_items[]

◆ rna_enum_dt_mix_mode_items

◆ rna_enum_modifier_shrinkwrap_mode_items

const EnumPropertyItem rna_enum_modifier_shrinkwrap_mode_items[]

◆ rna_enum_modifier_triangulate_ngon_method_items

const EnumPropertyItem rna_enum_modifier_triangulate_ngon_method_items[]
Initial value:
= {
"BEAUTY",
0,
"Beauty",
"Arrange the new triangles evenly (slow)"},
"CLIP",
0,
"Clip",
"Split the polygons with an ear clipping algorithm"},
{0, nullptr, 0, nullptr, nullptr},
}
@ MOD_TRIANGULATE_NGON_BEAUTY
@ MOD_TRIANGULATE_NGON_EARCLIP

Definition at line 488 of file rna_modifier.cc.

Referenced by MESH_OT_quads_convert_to_tris(), RNA_api_scene(), and rna_def_modifier_triangulate().

◆ rna_enum_modifier_triangulate_quad_method_items

const EnumPropertyItem rna_enum_modifier_triangulate_quad_method_items[]
Initial value:
= {
"BEAUTY",
0,
"Beauty",
"Split the quads in nice triangles, slower method"},
"FIXED",
0,
"Fixed",
"Split the quads on the first and third vertices"},
"FIXED_ALTERNATE",
0,
"Fixed Alternate",
"Split the quads on the 2nd and 4th vertices"},
"SHORTEST_DIAGONAL",
0,
"Shortest Diagonal",
"Split the quads along their shortest diagonal"},
"LONGEST_DIAGONAL",
0,
"Longest Diagonal",
"Split the quads along their longest diagonal"},
{0, nullptr, 0, nullptr, nullptr},
}
@ MOD_TRIANGULATE_QUAD_SHORTEDGE
@ MOD_TRIANGULATE_QUAD_FIXED
@ MOD_TRIANGULATE_QUAD_LONGEDGE
@ MOD_TRIANGULATE_QUAD_BEAUTY
@ MOD_TRIANGULATE_QUAD_ALTERNATE

Definition at line 459 of file rna_modifier.cc.

Referenced by MESH_OT_quads_convert_to_tris(), RNA_api_scene(), and rna_def_modifier_triangulate().

◆ rna_enum_node_warning_type_items

const EnumPropertyItem rna_enum_node_warning_type_items[]
Initial value:
= {
{int(blender::nodes::geo_eval_log::NodeWarningType::Error), "ERROR", ICON_CANCEL, "Error", ""},
"WARNING",
ICON_ERROR,
"Warning",
""},
{int(blender::nodes::geo_eval_log::NodeWarningType::Info), "INFO", ICON_INFO, "Info", ""},
{0, nullptr, 0, nullptr, nullptr},
}
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int

Definition at line 570 of file rna_modifier.cc.

Referenced by blender::nodes::node_geo_warning_cc::node_rna(), and rna_def_modifier_nodes_warning().

◆ rna_enum_object_modifier_type_items

◆ rna_enum_shrinkwrap_face_cull_items

const EnumPropertyItem rna_enum_shrinkwrap_face_cull_items[]
Initial value:
= {
{0, "OFF", 0, "Off", "No culling"},
"FRONT",
0,
"Front",
"No projection when in front of the face"},
{MOD_SHRINKWRAP_CULL_TARGET_BACKFACE, "BACK", 0, "Back", "No projection when behind the face"},
{0, nullptr, 0, nullptr, nullptr},
}
@ MOD_SHRINKWRAP_CULL_TARGET_FRONTFACE
@ MOD_SHRINKWRAP_CULL_TARGET_BACKFACE

Definition at line 559 of file rna_modifier.cc.

Referenced by rna_def_modifier_grease_pencil_shrinkwrap(), and rna_def_modifier_shrinkwrap().

◆ rna_enum_shrinkwrap_type_items

const EnumPropertyItem rna_enum_shrinkwrap_type_items[]
Initial value:
= {
"NEAREST_SURFACEPOINT",
0,
"Nearest Surface Point",
"Shrink the mesh to the nearest target surface"},
"PROJECT",
0,
"Project",
"Shrink the mesh to the nearest target surface along a given axis"},
"NEAREST_VERTEX",
0,
"Nearest Vertex",
"Shrink the mesh to the nearest target vertex"},
"TARGET_PROJECT",
0,
"Target Normal Project",
"Shrink the mesh to the nearest target surface "
"along the interpolated vertex normals of the target"},
{0, nullptr, 0, nullptr, nullptr},
}
@ MOD_SHRINKWRAP_TARGET_PROJECT
@ MOD_SHRINKWRAP_NEAREST_VERTEX
@ MOD_SHRINKWRAP_PROJECT
@ MOD_SHRINKWRAP_NEAREST_SURFACE

Definition at line 534 of file rna_modifier.cc.

Referenced by rna_def_modifier_grease_pencil_shrinkwrap(), and rna_def_modifier_shrinkwrap().

◆ rna_enum_subdivision_boundary_smooth_items

const EnumPropertyItem rna_enum_subdivision_boundary_smooth_items[]
Initial value:
= {
"PRESERVE_CORNERS",
0,
"Keep Corners",
"Smooth boundaries, but corners are kept sharp"},
{SUBSURF_BOUNDARY_SMOOTH_ALL, "ALL", 0, "All", "Smooth boundaries, including corners"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SUBSURF_BOUNDARY_SMOOTH_ALL
@ SUBSURF_BOUNDARY_SMOOTH_PRESERVE_CORNERS

Definition at line 823 of file rna_modifier.cc.

Referenced by blender::nodes::node_geo_subdivision_surface_cc::node_rna(), and rna_def_property_subdivision_common().

◆ rna_enum_subdivision_uv_smooth_items

const EnumPropertyItem rna_enum_subdivision_uv_smooth_items[]
Initial value:
= {
{SUBSURF_UV_SMOOTH_NONE, "NONE", 0, "None", "UVs are not smoothed, boundaries are kept sharp"},
"PRESERVE_CORNERS",
0,
"Keep Corners",
"UVs are smoothed, corners on discontinuous boundary are kept sharp"},
"PRESERVE_CORNERS_AND_JUNCTIONS",
0,
"Keep Corners, Junctions",
"UVs are smoothed, corners on discontinuous boundary and "
"junctions of 3 or more regions are kept sharp"},
"PRESERVE_CORNERS_JUNCTIONS_AND_CONCAVE",
0,
"Keep Corners, Junctions, Concave",
"UVs are smoothed, corners on discontinuous boundary, "
"junctions of 3 or more regions and darts and concave corners are kept sharp"},
"PRESERVE_BOUNDARIES",
0,
"Keep Boundaries",
"UVs are smoothed, boundaries are kept sharp"},
{SUBSURF_UV_SMOOTH_ALL, "SMOOTH_ALL", 0, "All", "UVs and boundaries are smoothed"},
{0, nullptr, 0, nullptr, nullptr},
}
@ SUBSURF_UV_SMOOTH_PRESERVE_CORNERS_AND_JUNCTIONS
@ SUBSURF_UV_SMOOTH_ALL
@ SUBSURF_UV_SMOOTH_PRESERVE_CORNERS
@ SUBSURF_UV_SMOOTH_NONE
@ SUBSURF_UV_SMOOTH_PRESERVE_BOUNDARIES
@ SUBSURF_UV_SMOOTH_PRESERVE_CORNERS_JUNCTIONS_AND_CONCAVE

Definition at line 795 of file rna_modifier.cc.

Referenced by blender::nodes::node_geo_subdivision_surface_cc::node_rna(), and rna_def_property_subdivision_common().