54 {
OB_MODE_OBJECT,
"OBJECT", ICON_OBJECT_DATAMODE,
"Object Mode",
""},
55 {
OB_MODE_EDIT,
"EDIT", ICON_EDITMODE_HLT,
"Edit Mode",
""},
57 {
OB_MODE_SCULPT,
"SCULPT", ICON_SCULPTMODE_HLT,
"Sculpt Mode",
""},
66 "Edit Grease Pencil Strokes"},
71 "Sculpt Grease Pencil Strokes"},
76 "Paint Grease Pencil Strokes"},
81 "Grease Pencil Weight Paint Strokes"},
86 "Grease Pencil Vertex Paint Strokes"},
93 {
OB_MODE_OBJECT,
"OBJECT", ICON_OBJECT_DATAMODE,
"Object Mode",
""},
94 {
OB_MODE_EDIT,
"EDIT", ICON_EDITMODE_HLT,
"Edit Mode",
""},
96 {
OB_MODE_SCULPT,
"SCULPT", ICON_SCULPTMODE_HLT,
"Sculpt Mode",
""},
104 "Grease Pencil Edit Mode",
105 "Edit Grease Pencil Strokes"},
109 "Grease Pencil Sculpt Mode",
110 "Sculpt Grease Pencil Strokes"},
114 "Grease Pencil Draw",
115 "Paint Grease Pencil Strokes"},
119 "Grease Pencil Vertex Paint",
120 "Grease Pencil Vertex Paint Strokes"},
124 "Grease Pencil Weight Paint",
125 "Grease Pencil Weight Paint Strokes"},
130 {
OB_PLAINAXES,
"PLAIN_AXES", ICON_EMPTY_AXIS,
"Plain Axes",
""},
131 {
OB_ARROWS,
"ARROWS", ICON_EMPTY_ARROWS,
"Arrows",
""},
132 {
OB_SINGLE_ARROW,
"SINGLE_ARROW", ICON_EMPTY_SINGLE_ARROW,
"Single Arrow",
""},
133 {
OB_CIRCLE,
"CIRCLE", ICON_MESH_CIRCLE,
"Circle",
""},
134 {
OB_CUBE,
"CUBE", ICON_CUBE,
"Cube",
""},
149 {
GP_EMPTY,
"EMPTY", ICON_EMPTY_AXIS,
"Blank",
"Create an empty grease pencil object"},
150 {
GP_STROKE,
"STROKE", ICON_STROKE,
"Stroke",
"Create a simple stroke with basic colors"},
151 {
GP_MONKEY,
"MONKEY", ICON_MONKEY,
"Monkey",
"Construct a Suzanne grease pencil object"},
157 "Quickly set up line art for the entire scene"},
160 ICON_OUTLINER_COLLECTION,
161 "Collection Line Art",
162 "Quickly set up line art for the active collection"},
167 "Quickly set up line art for the active object"},
171 {
PAROBJECT,
"OBJECT", 0,
"Object",
"The object is parented to an object"},
172 {
PARSKEL,
"ARMATURE", 0,
"Armature",
""},
174 {
PARSKEL,
"LATTICE", 0,
"Lattice",
"The object is parented to a lattice"},
175 {
PARVERT1,
"VERTEX", 0,
"Vertex",
"The object is parented to a vertex"},
176 {
PARVERT3,
"VERTEX_3", 0,
"3 Vertices",
""},
177 {
PARBONE,
"BONE", 0,
"Bone",
"The object is parented to a bone"},
181 #define INSTANCE_ITEMS_SHARED \
182 {0, "NONE", 0, "None", ""}, \
183 {OB_DUPLIVERTS, "VERTS", 0, "Vertices", "Instantiate child objects on all vertices"}, \
185 OB_DUPLIFACES, "FACES", 0, "Faces", "Instantiate child objects on all faces" \
188 #define INSTANCE_ITEM_COLLECTION \
190 OB_DUPLICOLLECTION, "COLLECTION", 0, "Collection", "Enable collection instancing" \
204 {0,
"NONE", 0,
"None",
""},
210 {0,
"NONE", 0,
"None",
""},
211 {
OB_DUPLIVERTS,
"VERTS", 0,
"Vertices",
"Use Object Font on characters"},
215 #undef INSTANCE_ITEMS_SHARED
216 #undef INSTANCE_ITEM_COLLECTION
219 {
MB_BALL,
"BALL", ICON_META_BALL,
"Ball",
""},
220 {
MB_TUBE,
"CAPSULE", ICON_META_CAPSULE,
"Capsule",
""},
221 {
MB_PLANE,
"PLANE", ICON_META_PLANE,
"Plane",
""},
223 {
MB_ELIPSOID,
"ELLIPSOID", ICON_META_ELLIPSOID,
"Ellipsoid",
""},
224 {
MB_CUBE,
"CUBE", ICON_META_CUBE,
"Cube",
""},
236 #define OBTYPE_CU_CURVE \
238 OB_CURVES_LEGACY, "CURVE", ICON_OUTLINER_OB_CURVE, "Curve", "" \
240 #define OBTYPE_CU_SURF \
242 OB_SURF, "SURFACE", ICON_OUTLINER_OB_SURFACE, "Surface", "" \
244 #define OBTYPE_CU_FONT \
246 OB_FONT, "FONT", ICON_OUTLINER_OB_FONT, "Text", "" \
250 {
OB_MESH,
"MESH", ICON_OUTLINER_OB_MESH,
"Mesh",
""},
253 {
OB_MBALL,
"META", ICON_OUTLINER_OB_META,
"Metaball",
""},
255 {
OB_CURVES,
"CURVES", ICON_OUTLINER_OB_CURVES,
"Hair Curves",
""},
256 {
OB_POINTCLOUD,
"POINTCLOUD", ICON_OUTLINER_OB_POINTCLOUD,
"Point Cloud",
""},
257 {
OB_VOLUME,
"VOLUME", ICON_OUTLINER_OB_VOLUME,
"Volume",
""},
258 {
OB_GPENCIL,
"GPENCIL", ICON_OUTLINER_OB_GREASEPENCIL,
"Grease Pencil",
""},
260 {
OB_ARMATURE,
"ARMATURE", ICON_OUTLINER_OB_ARMATURE,
"Armature",
""},
261 {
OB_LATTICE,
"LATTICE", ICON_OUTLINER_OB_LATTICE,
"Lattice",
""},
263 {
OB_EMPTY,
"EMPTY", ICON_OUTLINER_OB_EMPTY,
"Empty",
""},
265 {
OB_LAMP,
"LIGHT", ICON_OUTLINER_OB_LIGHT,
"Light",
""},
266 {
OB_LIGHTPROBE,
"LIGHT_PROBE", ICON_OUTLINER_OB_LIGHTPROBE,
"Light Probe",
""},
268 {
OB_CAMERA,
"CAMERA", ICON_OUTLINER_OB_CAMERA,
"Camera",
""},
270 {
OB_SPEAKER,
"SPEAKER", ICON_OUTLINER_OB_SPEAKER,
"Speaker",
""},
282 {
ROT_MODE_QUAT,
"QUATERNION", 0,
"Quaternion (WXYZ)",
"No Gimbal Lock"},
283 {
ROT_MODE_XYZ,
"XYZ", 0,
"XYZ Euler",
"XYZ Rotation Order - prone to Gimbal Lock (default)"},
284 {
ROT_MODE_XZY,
"XZY", 0,
"XZY Euler",
"XZY Rotation Order - prone to Gimbal Lock"},
285 {
ROT_MODE_YXZ,
"YXZ", 0,
"YXZ Euler",
"YXZ Rotation Order - prone to Gimbal Lock"},
286 {
ROT_MODE_YZX,
"YZX", 0,
"YZX Euler",
"YZX Rotation Order - prone to Gimbal Lock"},
287 {
ROT_MODE_ZXY,
"ZXY", 0,
"ZXY Euler",
"ZXY Rotation Order - prone to Gimbal Lock"},
288 {
ROT_MODE_ZYX,
"ZYX", 0,
"ZYX Euler",
"ZYX Rotation Order - prone to Gimbal Lock"},
293 "Axis Angle (W+XYZ), defines a rotation around some axis defined by 3D-Vector"},
298 {
OB_POSX,
"POS_X", 0,
"+X",
""},
299 {
OB_POSY,
"POS_Y", 0,
"+Y",
""},
300 {
OB_POSZ,
"POS_Z", 0,
"+Z",
""},
301 {
OB_NEGX,
"NEG_X", 0,
"-X",
""},
302 {
OB_NEGY,
"NEG_Y", 0,
"-Y",
""},
303 {
OB_NEGZ,
"NEG_Z", 0,
"-Z",
""},
348 static void rna_Object_internal_update_draw(
Main *
UNUSED(bmain),
360 rna_Object_internal_update(bmain,
scene,
ptr);
372 static void rna_Object_duplicator_visibility_flag_update(
Main *
UNUSED(bmain),
399 static void rna_Object_matrix_local_get(
PointerRNA *
ptr,
float values[16])
405 static void rna_Object_matrix_local_set(
PointerRNA *
ptr,
const float values[16])
408 float local_mat[4][4];
416 mul_m4_m4m4(local_mat, invmat, (
float(*)[4])values);
427 static void rna_Object_matrix_basis_get(
PointerRNA *
ptr,
float values[16])
433 static void rna_Object_matrix_basis_set(
PointerRNA *
ptr,
const float values[16])
447 rna_Object_internal_update_data_impl(
ptr);
453 rna_Object_internal_update_data_impl(
ptr);
488 rna_Object_internal_update_data_impl(
ptr);
506 rna_Object_internal_update_data_dependency(bmain,
scene,
ptr);
537 "Can only assign evaluated data to evaluated object, or original data to "
594 return &RNA_MetaBall;
602 return &RNA_Armature;
606 return &RNA_LightProbe;
608 return &RNA_GreasePencil;
612 return &RNA_PointCloud;
645 static bool rna_Object_parent_override_apply(
Main *bmain,
654 const int len_storage,
660 BLI_assert(len_dst == len_src && (!ptr_storage || len_dst == len_storage) && len_dst == 0);
662 "Unsupported RNA override operation on object parent pointer");
671 if (parent_src == parent_dst) {
675 if (parent_src ==
NULL) {
686 static void rna_Object_parent_type_set(
PointerRNA *
ptr,
int value)
734 static void rna_Object_empty_display_type_set(
PointerRNA *
ptr,
int value)
741 static void rna_Object_parent_bone_set(
PointerRNA *
ptr,
const char *value)
757 item = instance_items_empty;
760 item = instance_items_font;
763 item = instance_items_nogroup;
791 "Cannot set instance-collection as object belongs in group being instanced, thus "
810 static void rna_VertexGroup_name_set(
PointerRNA *
ptr,
const char *value)
846 static void rna_Object_active_vertex_group_set(
PointerRNA *
ptr,
861 "VertexGroup '%s' not found in object '%s'",
870 static int rna_Object_active_vertex_group_index_get(
PointerRNA *
ptr)
880 static void rna_Object_active_vertex_group_index_set(
PointerRNA *
ptr,
int value)
890 static void rna_Object_active_vertex_group_index_range(
932 return (dg) ? strlen(dg->
name) : 0;
964 static void rna_FaceMap_name_set(
PointerRNA *
ptr,
const char *value)
985 static int rna_Object_active_face_map_index_get(
PointerRNA *
ptr)
991 static void rna_Object_active_face_map_index_set(
PointerRNA *
ptr,
int value)
997 static void rna_Object_active_face_map_index_range(
1006 void rna_object_BKE_object_facemap_name_index_get(
PointerRNA *
ptr,
char *value,
int index)
1014 BLI_strncpy(value, fmap->name,
sizeof(fmap->name));
1021 int rna_object_BKE_object_facemap_name_index_length(
PointerRNA *
ptr,
int index)
1027 return (fmap) ? strlen(fmap->name) : 0;
1030 void rna_object_BKE_object_facemap_name_index_set(
PointerRNA *
ptr,
const char *value,
short *index)
1036 void rna_object_fmap_name_set(
PointerRNA *
ptr,
const char *value,
char *
result,
int maxlen)
1059 for (
a = 0;
a < me->ldata.totlayer;
a++) {
1060 layer = &me->ldata.layers[
a];
1082 for (
a = 0;
a < me->fdata.totlayer;
a++) {
1083 layer = &me->fdata.layers[
a];
1085 if (layer->type ==
CD_MCOL &&
STREQ(layer->name, value)) {
1095 static int rna_Object_active_material_index_get(
PointerRNA *
ptr)
1101 static void rna_Object_active_material_index_set(
PointerRNA *
ptr,
int value)
1115 static void rna_Object_active_material_index_range(
1150 static int rna_Object_active_material_editable(
PointerRNA *
ptr,
const char **
UNUSED(r_info))
1165 static void rna_Object_active_particle_system_index_range(
1173 static int rna_Object_active_particle_system_index_get(
PointerRNA *
ptr)
1179 static void rna_Object_active_particle_system_index_set(
PointerRNA *
ptr,
int value)
1198 static void rna_Object_rotation_axis_angle_get(
PointerRNA *
ptr,
float *value)
1208 static void rna_Object_rotation_axis_angle_set(
PointerRNA *
ptr,
const float *value)
1219 static void rna_Object_rotation_mode_set(
PointerRNA *
ptr,
int value)
1231 static void rna_Object_dimensions_get(
PointerRNA *
ptr,
float *value)
1237 static void rna_Object_dimensions_set(
PointerRNA *
ptr,
const float *value)
1243 static int rna_Object_location_editable(
PointerRNA *
ptr,
int index)
1262 static int rna_Object_scale_editable(
PointerRNA *
ptr,
int index)
1281 static int rna_Object_rotation_euler_editable(
PointerRNA *
ptr,
int index)
1300 static int rna_Object_rotation_4d_editable(
PointerRNA *
ptr,
int index)
1332 return rna_MaterialSlot_index(
ptr);
1335 static int rna_MaterialSlot_material_editable(
PointerRNA *
ptr,
const char **
UNUSED(r_info))
1338 const int index = rna_MaterialSlot_index(
ptr);
1355 const int index = rna_MaterialSlot_index(
ptr);
1371 int index = rna_MaterialSlot_index(
ptr);
1385 return (ma->gp_style !=
NULL);
1389 return (ma->gp_style ==
NULL);
1396 int index = rna_MaterialSlot_index(
ptr);
1397 if (index < ob->totcol) {
1398 return ob->
matbits[index] != 0;
1403 static void rna_MaterialSlot_link_set(
PointerRNA *
ptr,
int value)
1406 int index = rna_MaterialSlot_index(
ptr);
1424 int index = rna_MaterialSlot_index(
ptr);
1429 return strlen(ma->id.name + 2);
1439 int index = rna_MaterialSlot_index(
ptr);
1444 strcpy(
str, ma->id.name + 2);
1453 rna_Object_internal_update(bmain,
scene,
ptr);
1462 int index = rna_MaterialSlot_index(
ptr);
1466 static int rna_Object_material_slots_length(
PointerRNA *
ptr)
1479 const int length = rna_Object_material_slots_length(
ptr);
1487 const int length = rna_Object_material_slots_length(&iter->
ptr);
1525 static void rna_Object_active_shape_key_index_range(
1543 static int rna_Object_active_shape_key_index_get(
PointerRNA *
ptr)
1550 static void rna_Object_active_shape_key_index_set(
PointerRNA *
ptr,
int value)
1598 static void rna_Object_active_constraint_set(
PointerRNA *
ptr,
1616 static void rna_Object_constraints_remove(
Object *
object,
1625 "Constraint '%s' not found in object '%s'",
1639 static void rna_Object_constraints_clear(
Object *
object,
Main *bmain)
1649 static void rna_Object_constraints_move(
1677 bool rna_Object_constraints_override_apply(
Main *bmain,
1684 const int UNUSED(len_dst),
1685 const int UNUSED(len_src),
1686 const int UNUSED(len_storage),
1693 "Unsupported RNA override operation on constraints collection");
1701 const size_t name_offset = offsetof(
bConstraint, name);
1711 if (con_src ==
NULL) {
1741 static void rna_Object_modifier_remove(
Object *
object,
1786 reports,
RPT_ERROR,
"Modifier \"%s\" is not in the object's modifier list", md->
name);
1793 bool rna_Object_modifiers_override_apply(
Main *bmain,
1800 const int UNUSED(len_dst),
1801 const int UNUSED(len_src),
1802 const int UNUSED(len_storage),
1809 "Unsupported RNA override operation on modifiers collection");
1817 const size_t name_offset = offsetof(
ModifierData, name);
1827 if (mod_src ==
NULL) {
1838 if (mod_dst ==
NULL) {
1850 if (mod_dst ==
NULL) {
1887 static void rna_Object_greasepencil_modifier_remove(
Object *
object,
1903 static void rna_Object_greasepencil_modifier_clear(
Object *
object,
bContext *
C)
1909 bool rna_Object_greasepencil_modifiers_override_apply(
Main *bmain,
1916 const int UNUSED(len_dst),
1917 const int UNUSED(len_src),
1918 const int UNUSED(len_storage),
1925 "Unsupported RNA override operation on modifiers collection");
1946 if (mod_src ==
NULL) {
1973 static void rna_Object_shaderfx_remove(
Object *
object,
1995 static void rna_Object_boundbox_get(
PointerRNA *
ptr,
float *values)
2000 memcpy(values, bb->vec,
sizeof(bb->vec));
2003 copy_vn_fl(values,
sizeof(bb->vec) /
sizeof(
float), 0.0f);
2007 static bool check_object_vgroup_support_and_warn(
const Object *ob,
2008 const char *op_name,
2012 const char *ob_type_name =
"Unknown";
2014 BKE_reportf(reports,
RPT_ERROR,
"%s is not supported for '%s' objects", op_name, ob_type_name);
2025 if (!check_object_vgroup_support_and_warn(ob,
"VertexGroups.new()", reports)) {
2037 static void rna_Object_vgroup_remove(
Object *ob,
2042 if (!check_object_vgroup_support_and_warn(ob,
"VertexGroups.remove()", reports)) {
2052 "DeformGroup '%s' not in object '%s'",
2067 if (!check_object_vgroup_support_and_warn(ob,
"VertexGroups.clear()", reports)) {
2077 static void rna_VertexGroup_vertex_add(
ID *
id,
2089 reports,
RPT_ERROR,
"VertexGroup.add(): cannot be called while object is in edit mode");
2093 while (index_len--) {
2102 static void rna_VertexGroup_vertex_remove(
2109 reports,
RPT_ERROR,
"VertexGroup.remove(): cannot be called while object is in edit mode");
2113 while (index_len--) {
2131 static bFaceMap *rna_Object_fmap_new(
Object *ob,
const char *name)
2155 static void rna_Object_fmap_clear(
Object *ob)
2162 static void rna_FaceMap_face_add(
2168 BKE_report(reports,
RPT_ERROR,
"FaceMap.add(): cannot be called while object is in edit mode");
2172 while (index_len--) {
2179 static void rna_FaceMap_face_remove(
2185 BKE_report(reports,
RPT_ERROR,
"FaceMap.add(): cannot be called while object is in edit mode");
2189 while (index_len--) {
2232 int rna_Object_use_dynamic_topology_sculpting_get(
PointerRNA *
ptr)
2235 return (ss && ss->
bm);
2293 static void rna_Object_mesh_symmetry_x_set(
PointerRNA *
ptr,
bool value)
2298 static void rna_Object_mesh_symmetry_y_set(
PointerRNA *
ptr,
bool value)
2303 static void rna_Object_mesh_symmetry_z_set(
PointerRNA *
ptr,
bool value)
2308 static int rna_Object_mesh_symmetry_yz_editable(
PointerRNA *
ptr,
const char **
UNUSED(r_info))
2324 void rna_Object_lightgroup_get(
PointerRNA *
ptr,
char *value)
2334 void rna_Object_lightgroup_set(
PointerRNA *
ptr,
const char *value)
2358 srna,
"Vertex Group",
"Group of vertices, used for armature deform and other purposes");
2386 parm =
RNA_def_float(func,
"weight", 0, 0.0f, 1.0f,
"",
"Vertex weight", 0.0f, 1.0f);
2388 parm =
RNA_def_enum(func,
"type", assign_mode_items, 0,
"",
"Vertex assign mode");
2401 parm =
RNA_def_int(func,
"index", 0, 0, INT_MAX,
"Index",
"The index of the vertex", 0, INT_MAX);
2403 parm =
RNA_def_float(func,
"weight", 0, 0.0f, 1.0f,
"",
"Vertex weight", 0.0f, 1.0f);
2418 srna,
"Face Map",
"Group of faces, each face can only be part of one map");
2459 {1,
"OBJECT", 0,
"Object",
""},
2460 {0,
"DATA", 0,
"Data",
""},
2480 prop,
"rna_MaterialSlot_link_get",
"rna_MaterialSlot_link_set",
NULL);
2489 "rna_MaterialSlot_material_get",
2490 "rna_MaterialSlot_material_set",
2492 "rna_MaterialSlot_material_poll");
2502 prop,
"rna_MaterialSlot_name_get",
"rna_MaterialSlot_name_length",
NULL);
2531 prop,
"rna_Object_active_constraint_get",
"rna_Object_active_constraint_set",
NULL,
NULL);
2544 parm =
RNA_def_pointer(func,
"constraint",
"Constraint",
"",
"New constraint");
2551 parm =
RNA_def_pointer(func,
"constraint",
"Constraint",
"",
"Removed constraint");
2563 func,
"from_index", -1, INT_MIN, INT_MAX,
"From Index",
"Index to move", 0, 10000);
2565 parm =
RNA_def_int(func,
"to_index", -1, INT_MIN, INT_MAX,
"To Index",
"Target index", 0, 10000);
2576 "Constraint to copy - may belong to a different object");
2580 parm =
RNA_def_pointer(func,
"new_constraint",
"Constraint",
"",
"New constraint");
2615 parm =
RNA_def_string(func,
"name",
"Name", 0,
"",
"New name for the modifier");
2622 parm =
RNA_def_pointer(func,
"modifier",
"Modifier",
"",
"Newly created modifier");
2630 parm =
RNA_def_pointer(func,
"modifier",
"Modifier",
"",
"Modifier to remove");
2643 prop,
"rna_Object_active_modifier_get",
"rna_Object_active_modifier_set",
NULL,
NULL);
2663 srna,
"Object Grease Pencil Modifiers",
"Collection of object grease pencil modifiers");
2666 func =
RNA_def_function(srna,
"new",
"rna_Object_greasepencil_modifier_new");
2669 parm =
RNA_def_string(func,
"name",
"Name", 0,
"",
"New name for the greasepencil_modifier");
2677 "Modifier type to add");
2681 func,
"greasepencil_modifier",
"GpencilModifier",
"",
"Newly created modifier");
2685 func =
RNA_def_function(srna,
"remove",
"rna_Object_greasepencil_modifier_remove");
2688 "Remove an existing greasepencil_modifier from the object");
2691 func,
"greasepencil_modifier",
"GpencilModifier",
"",
"Modifier to remove");
2696 func =
RNA_def_function(srna,
"clear",
"rna_Object_greasepencil_modifier_clear");
2718 parm =
RNA_def_string(func,
"name",
"Name", 0,
"",
"New name for the effect");
2725 parm =
RNA_def_pointer(func,
"shader_fx",
"ShaderFx",
"",
"Newly created effect");
2733 parm =
RNA_def_pointer(func,
"shader_fx",
"ShaderFx",
"",
"Effect to remove");
2762 prop,
"Active Particle System",
"Active particle system being displayed");
2768 "rna_Object_active_particle_system_index_get",
2769 "rna_Object_active_particle_system_index_set",
2770 "rna_Object_active_particle_system_index_range");
2772 prop,
"Active Particle System Index",
"Index of active particle system slot");
2794 "rna_Object_active_vertex_group_get",
2795 "rna_Object_active_vertex_group_set",
2805 "rna_Object_active_vertex_group_index_get",
2806 "rna_Object_active_vertex_group_index_set",
2807 "rna_Object_active_vertex_group_index_range");
2809 prop,
"Active Vertex Group Index",
"Active index in vertex group array");
2816 RNA_def_string(func,
"name",
"Group", 0,
"",
"Vertex group name");
2817 parm =
RNA_def_pointer(func,
"group",
"VertexGroup",
"",
"New vertex group");
2823 parm =
RNA_def_pointer(func,
"group",
"VertexGroup",
"",
"Vertex group to remove");
2850 prop,
"rna_Object_active_face_map_get",
"rna_Object_active_face_map_set",
NULL,
NULL);
2858 "rna_Object_active_face_map_index_get",
2859 "rna_Object_active_face_map_index_set",
2860 "rna_Object_active_face_map_index_range");
2874 parm =
RNA_def_pointer(func,
"group",
"FaceMap",
"",
"Face map to remove");
2910 {
OBJECT_LRT_INHERIT,
"INHERIT", 0,
"Inherit",
"Use settings from the parent collection"},
2915 "Generate feature lines for this object's data"},
2920 "Only use the object data to produce occlusion"},
2925 "Don't use this object for Line Art rendering"},
2927 "INTERSECTION_ONLY",
2929 "Intersection Only",
2930 "Only generate intersection lines for this collection"},
2935 "Include this object but do not generate intersection lines"},
2937 "FORCE_INTERSECTION",
2939 "Force Intersection",
2940 "Generate intersection lines even with objects that disabled intersection"},
2957 prop,
"Use Crease",
"Use this object's crease setting to overwrite scene global");
2970 "Use Intersection Priority",
2971 "Use this object's intersection priority to override collection setting");
2977 "Intersection Priority",
2978 "The intersection line will be included into the object with the "
2979 "higher intersection priority value");
3012 prop,
NC_OBJECT |
ND_DRAW,
"rna_Object_duplicator_visibility_flag_update");
3018 prop,
NC_OBJECT |
ND_DRAW,
"rna_Object_duplicator_visibility_flag_update");
3039 prop,
"Transmission Visibility",
"Object visibility to transmission rays");
3045 prop,
"Volume Scatter Visibility",
"Object visibility to volume scattering rays");
3059 "Render objects as a holdout or matte, creating a hole in the image with zero alpha, to "
3060 "fill out in compositing with real footage or another render");
3068 "Only render shadows and reflections on this object, for compositing renders into real "
3069 "footage. Objects with this setting are considered to already exist in the footage, "
3070 "objects without it are synthetic objects being composited into it");
3087 {
OB_BOUNDBOX,
"BOUNDS", 0,
"Bounds",
"Display the bounds of the object"},
3088 {
OB_WIRE,
"WIRE", 0,
"Wire",
"Display the object as a wireframe"},
3093 "Display the object as a solid (if solid drawing is enabled in the viewport)"},
3098 "Display the object with textures (if textures are enabled in the viewport)"},
3103 {
OB_BOUND_BOX,
"BOX", 0,
"Box",
"Display bounds as box"},
3106 {
OB_BOUND_CONE,
"CONE", 0,
"Cone",
"Display bounds as cone"},
3111 static int boundbox_dimsize[] = {8, 3};
3123 "rna_Object_data_get",
3124 "rna_Object_data_set",
3125 "rna_Object_data_typef",
3126 "rna_Object_data_poll");
3155 "Object's bounding box in object-space coordinates, all values are -1.0 when "
3170 prop,
NULL,
"rna_Object_parent_type_set",
"rna_Object_parent_type_itemf");
3178 prop,
"Parent Vertices",
"Indices of vertices in case of a vertex parenting relation");
3185 prop,
"Parent Bone",
"Name of parent bone in case of a bone parenting relation");
3192 "Camera Parent Lock",
3193 "View Lock 3D viewport camera transformation affects the object's "
3206 "Axis that points in the 'forward' direction (applies to Instance Vertices when "
3207 "Align to Vertex Normal is enabled)");
3216 "Axis that points in the upward direction (applies to Instance Vertices when "
3217 "Align to Vertex Normal is enabled)");
3226 "rna_Object_material_slots_begin",
3227 "rna_Object_material_slots_next",
3228 "rna_Object_material_slots_end",
3229 "rna_Object_material_slots_get",
3230 "rna_Object_material_slots_length",
3239 "rna_Object_active_material_get",
3240 "rna_Object_active_material_set",
3242 "rna_MaterialSlot_material_poll");
3252 "rna_Object_active_material_index_get",
3253 "rna_Object_active_material_index_set",
3254 "rna_Object_active_material_index_range");
3278 prop,
"rna_Object_rotation_axis_angle_get",
"rna_Object_rotation_axis_angle_set",
NULL);
3282 prop,
"Axis-Angle Rotation",
"Angle of Rotation for Axis-Angle rotation representation");
3312 prop,
"rna_Object_dimensions_get",
"rna_Object_dimensions_set",
NULL);
3316 "Absolute bounding box dimensions of the object.\n"
3317 "Warning: Assigning to it or its members multiple consecutive times "
3318 "will not work correctly, as this needs up-to-date evaluated data");
3325 prop,
"Delta Location",
"Extra translation added to the location of the object");
3333 "Delta Rotation (Euler)",
3334 "Extra rotation added to the rotation of the object (when using Euler rotations)");
3341 "Delta Rotation (Quaternion)",
3342 "Extra rotation added to the rotation of the object (when using Quaternion rotations)");
3352 "Delta Rotation (Axis Angle)",
3353 "Extra rotation added to the rotation of the object (when using Axis-Angle rotations)");
3386 "Lock Rotation (4D Angle)",
3387 "Lock editing of 'angle' component of four-component rotations when transforming");
3393 "Lock Rotations (4D)",
3394 "Lock editing of four component rotations by components (instead of as Eulers)");
3421 "Parent relative transformation matrix.\n"
3422 "Warning: Only takes into account object parenting, so e.g. in case of bone parenting "
3423 "you get a matrix relative to the Armature object, not to the actual parent bone");
3425 prop,
"rna_Object_matrix_local_get",
"rna_Object_matrix_local_set",
NULL);
3435 "Matrix access to location, rotation and scale (including deltas), "
3436 "before constraints and parenting are applied");
3438 prop,
"rna_Object_matrix_basis_get",
"rna_Object_matrix_basis_set",
NULL);
3446 prop,
"Parent Inverse Matrix",
"Inverse of object's parent matrix at time of parenting");
3453 prop,
"Modifiers",
"Modifiers affecting the geometric data of the object");
3463 prop,
"Grease Pencil Modifiers",
"Modifiers affecting the data of the grease pencil object");
3465 prop,
NULL,
NULL,
"rna_Object_greasepencil_modifiers_override_apply");
3483 prop,
"Constraints",
"Constraints affecting the transformation of the object");
3494 "rna_Object_vertex_groups_begin",
3495 "rna_iterator_listbase_next",
3496 "rna_iterator_listbase_end",
3497 "rna_iterator_listbase_get",
3528 prop,
"Empty Display Size",
"Size of display for empties in the viewport");
3543 "Parameters defining which layer, pass and frame of the image is displayed");
3549 prop,
"Empty Image Depth",
"Determine which other objects will occlude the image");
3556 prop,
"Display in Perspective Mode",
"Display image in perspective mode");
3563 prop,
"Display in Orthographic Mode",
"Display image in orthographic mode");
3570 "Display Only Axis Aligned",
3571 "Only display the image when it is aligned with the view axis");
3579 "Use alpha blending instead of alpha test (can produce sorting artifacts)");
3583 {0,
"DOUBLE_SIDED", 0,
"Both",
""},
3597 "Add Rest Position",
3598 "Add a \"rest_position\" attribute that is a copy of the position "
3599 "attribute before shape keys and modifiers are evaluated");
3606 prop,
"Pass Index",
"Index number for the \"Object Index\" render pass");
3611 prop,
"Color",
"Object color and alpha, used when faces have the ObColor mode enabled");
3620 prop,
"Field Settings",
"Settings for using the object as a field in physics simulation");
3627 "Collision Settings",
3628 "Settings for using the object as a collider in physics simulation");
3664 prop,
"Orient with Normals",
"Rotate instance according to vertex normal");
3728 prop,
"Display Wire",
"Display the object's wireframe over solid shading");
3745 prop,
"Display Transparent",
"Display material transparency in the object");
3760 "Deprecated, will be removed in Blender 3.3. "
3761 "Action used as a pose library for armatures");
3772 prop,
"Shape Key Lock",
"Always show the current shape for this object");
3779 prop,
"Shape Key Edit Mode",
"Apply shape keys in edit mode (for meshes only)");
3794 "rna_Object_active_shape_key_index_get",
3795 "rna_Object_active_shape_key_index_set",
3796 "rna_Object_active_shape_key_index_range");
3837 prop,
"rna_Object_mesh_symmetry_x_get",
"rna_Object_mesh_symmetry_x_set");
3843 prop,
"rna_Object_mesh_symmetry_y_get",
"rna_Object_mesh_symmetry_y_set");
3850 prop,
"rna_Object_mesh_symmetry_z_get",
"rna_Object_mesh_symmetry_z_set");
3858 "rna_Object_lightgroup_get",
3859 "rna_Object_lightgroup_length",
3860 "rna_Object_lightgroup_set");
void BKE_rotMode_change_values(float quat[4], float eul[3], float axis[3], float *angle, short oldMode, short newMode)
void BKE_pose_rebuild(struct Main *bmain, struct Object *ob, struct bArmature *arm, bool do_id_user)
Camera data-block and utility functions.
bool BKE_collection_has_object_recursive(struct Collection *collection, struct Object *ob)
bool BKE_constraint_remove(ListBase *list, struct bConstraint *con)
struct bConstraint * BKE_constraint_copy_for_object(struct Object *ob, struct bConstraint *src)
void BKE_constraints_free(struct ListBase *list)
struct bConstraint * BKE_constraint_add_for_object(struct Object *ob, const char *name, short type)
struct bConstraint * BKE_constraints_active_get(struct ListBase *list)
void BKE_constraints_active_set(ListBase *list, struct bConstraint *con)
void BKE_constraint_unique_name(struct bConstraint *con, struct ListBase *list)
struct bConstraint * BKE_constraint_duplicate_ex(struct bConstraint *src, int flag, bool do_extern)
struct Scene * CTX_data_scene(const bContext *C)
struct Main * CTX_data_main(const bContext *C)
void BKE_curve_type_test(struct Object *ob)
void BKE_editlattice_load(struct Object *obedit)
void BKE_editlattice_make(struct Object *obedit)
void BKE_editmesh_looptri_and_normals_calc(BMEditMesh *em)
struct Key * BKE_key_from_object(struct Object *ob)
void BKE_lightgroup_membership_set(struct LightgroupMembership **lgm, const char *name)
void BKE_lightgroup_membership_get(struct LightgroupMembership *lgm, char *name)
void BKE_main_collection_sync_remap(const struct Main *bmain)
int BKE_lightgroup_membership_length(struct LightgroupMembership *lgm)
void id_us_min(struct ID *id)
void id_us_plus(struct ID *id)
bool BKE_id_is_in_global_main(struct ID *id)
General operations, lookup, etc. for materials.
struct Material * BKE_object_material_get(struct Object *ob, short act)
int BKE_object_material_count_eval(struct Object *ob)
void BKE_object_materials_test(struct Main *bmain, struct Object *ob, struct ID *id)
void BKE_object_material_assign(struct Main *bmain, struct Object *ob, struct Material *ma, short act, int assign_type)
struct Material * BKE_object_material_get_eval(struct Object *ob, short act)
@ BKE_MAT_ASSIGN_EXISTING
void BKE_mesh_assign_object(struct Main *bmain, struct Object *ob, struct Mesh *me)
struct Mesh * BKE_mesh_wrapper_ensure_subdivision(struct Mesh *me)
const ModifierTypeInfo * BKE_modifier_get_info(ModifierType type)
@ eModifierTypeFlag_Single
void BKE_modifier_copydata(const struct ModifierData *md, struct ModifierData *target)
struct ModifierData * BKE_modifiers_findby_type(const struct Object *ob, ModifierType type)
General operations, lookup, etc. for blender objects.
void BKE_object_empty_draw_type_set(struct Object *ob, int value)
void BKE_object_dimensions_set(struct Object *ob, const float value[3], int axis_mask)
void BKE_object_dimensions_get(struct Object *ob, float r_vec[3])
bool BKE_object_is_in_editmode_vgroup(const struct Object *ob)
void BKE_object_modifier_set_active(struct Object *ob, struct ModifierData *md)
void BKE_object_to_mat4(struct Object *ob, float r_mat[4][4])
void BKE_object_apply_mat4(struct Object *ob, const float mat[4][4], bool use_compat, bool use_parent)
const struct BoundBox * BKE_object_boundbox_get(struct Object *ob)
struct ModifierData * BKE_object_active_modifier(const struct Object *ob)
void BKE_object_matrix_local_get(struct Object *ob, float r_mat[4][4])
bool BKE_object_is_in_editmode(const struct Object *ob)
Functions for dealing with object face-maps.
int BKE_object_facemap_name_index(struct Object *ob, const char *name)
void BKE_object_facemap_remove(struct Object *ob, struct bFaceMap *fmap)
void BKE_object_facemap_clear(struct Object *ob)
void BKE_object_facemap_unique_name(struct Object *ob, struct bFaceMap *fmap)
struct bFaceMap * BKE_object_facemap_find_name(struct Object *ob, const char *name)
struct bFaceMap * BKE_object_facemap_add_name(struct Object *ob, const char *name)
void BKE_sculpt_ensure_orig_mesh_data(struct Scene *scene, struct Object *object)
void psys_set_current_num(struct Object *ob, int index)
short psys_get_current_num(struct Object *ob)
struct ParticleSystem * psys_get_current(struct Object *ob)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
void BKE_report(ReportList *reports, eReportType type, const char *message)
bool BLI_listbase_move_index(ListBase *listbase, int from, int to) ATTR_NONNULL()
void void * BLI_listbase_string_or_index_find(const struct ListBase *listbase, const char *string, size_t string_offset, int index) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void BLI_insertlinkafter(struct ListBase *listbase, void *vprevlink, void *vnewlink) ATTR_NONNULL(1)
void BLI_remlink(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
int BLI_findindex(const struct ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
int BLI_listbase_count(const struct ListBase *listbase) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
MINLINE int max_ii(int a, int b)
void mul_m4_m4m4(float R[4][4], const float A[4][4], const float B[4][4])
bool invert_m4_m4(float R[4][4], const float A[4][4])
void copy_m4_m4(float m1[4][4], const float m2[4][4])
MINLINE void copy_v3_v3(float r[3], const float a[3])
void copy_vn_fl(float *array_tar, int size, float val)
size_t size_t char * BLI_sprintfN(const char *__restrict format,...) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) ATTR_MALLOC ATTR_PRINTF_FORMAT(1
char * BLI_strdup(const char *str) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() ATTR_MALLOC
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
char * BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL(1
#define UNUSED_VARS_NDEBUG(...)
#define BLT_I18NCONTEXT_ID_ID
void DEG_id_tag_update(struct ID *id, int flag)
void DEG_relations_tag_update(struct Main *bmain)
bool DEG_is_evaluated_object(const struct Object *object)
ID and Library types, which are fundamental for sdna.
@ ID_RECALC_COPY_ON_WRITE
#define ID_IS_LINKED(_id)
@ IDOVERRIDE_LIBRARY_OP_INSERT_AFTER
@ IDOVERRIDE_LIBRARY_OP_REPLACE
Object groups, one object can be in many groups at once.
@ CONSTRAINT_OVERRIDE_LIBRARY_LOCAL
@ ME_EDIT_MIRROR_VERTEX_GROUPS
@ eModifierType_ParticleSystem
Object is a sort of wrapper for general info.
#define OB_DATA_SUPPORT_ID(_id_type)
@ OB_EMPTY_IMAGE_USE_ALPHA_BLEND
@ OB_MODIFIER_FLAG_ADD_REST_POSITION
#define OB_TYPE_SUPPORT_PARVERT(_type)
@ OBJECT_LRT_OWN_INTERSECTION_PRIORITY
#define OB_EMPTY_IMAGE_DEPTH_BACK
#define OB_EMPTY_IMAGE_DEPTH_FRONT
@ OB_TRANSFORM_ADJUST_ROOT_PARENT_FOR_VIEW_LOCK
@ OB_EMPTY_IMAGE_HIDE_FRONT
@ OB_EMPTY_IMAGE_HIDE_NON_AXIS_ALIGNED
@ OB_EMPTY_IMAGE_HIDE_ORTHOGRAPHIC
@ OB_EMPTY_IMAGE_HIDE_BACK
@ OB_EMPTY_IMAGE_HIDE_PERSPECTIVE
@ OBJECT_LRT_NO_INTERSECTION
@ OBJECT_LRT_OCCLUSION_ONLY
@ OBJECT_LRT_INTERSECTION_ONLY
@ OBJECT_LRT_FORCE_INTERSECTION
#define OB_EMPTY_IMAGE_DEPTH_DEFAULT
void EDBM_mesh_load(struct Main *bmain, struct Object *ob)
void ED_vgroup_vert_add(struct Object *ob, struct bDeformGroup *dg, int vertnum, float weight, int assignmode)
float ED_vgroup_vert_weight(struct Object *ob, struct bDeformGroup *dg, int vertnum)
void ED_vgroup_vert_remove(struct Object *ob, struct bDeformGroup *dg, int vertnum)
void EDBM_mesh_make(struct Object *ob, int select_mode, bool add_key_index)
void ED_object_shaderfx_clear(struct Main *bmain, struct Object *ob)
struct ModifierData * ED_object_modifier_add(struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, const char *name, int type)
struct GpencilModifierData * ED_object_gpencil_modifier_add(struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, const char *name, int type)
bool ED_object_shaderfx_remove(struct ReportList *reports, struct Main *bmain, struct Object *ob, struct ShaderFxData *fx)
void ED_object_facemap_face_add(struct Object *ob, struct bFaceMap *fmap, int facenum)
void ED_object_constraint_active_set(struct Object *ob, struct bConstraint *con)
void ED_object_modifier_clear(struct Main *bmain, struct Scene *scene, struct Object *ob)
void ED_object_parent(struct Object *ob, struct Object *parent, int type, const char *substr)
bool ED_object_gpencil_modifier_remove(struct ReportList *reports, struct Main *bmain, struct Object *ob, struct GpencilModifierData *md)
void ED_object_constraint_tag_update(struct Main *bmain, struct Object *ob, struct bConstraint *con)
void ED_object_constraint_update(struct Main *bmain, struct Object *ob)
bool ED_object_modifier_remove(struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, struct ModifierData *md)
void ED_object_gpencil_modifier_clear(struct Main *bmain, struct Object *ob)
struct ShaderFxData * ED_object_shaderfx_add(struct ReportList *reports, struct Main *bmain, struct Scene *scene, struct Object *ob, const char *name, int type)
void ED_object_facemap_face_remove(struct Object *ob, struct bFaceMap *fmap, int facenum)
void PE_current_changed(struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
#define RNA_POINTER_INVALIDATE(ptr)
#define RNA_ENUM_ITEM_SEPR
#define RNA_TRANSLATION_PREC_DEFAULT
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
@ PROPOVERRIDE_NO_COMPARISON
@ PROPOVERRIDE_LIBRARY_INSERTION
@ PROPOVERRIDE_NO_PROP_NAME
SyclQueue void void size_t num_bytes void
void ED_curve_editnurb_make(Object *obedit)
void ED_curve_editnurb_load(Main *bmain, Object *obedit)
T length(const vec_base< T, Size > &a)
SymEdge< T > * sym(const SymEdge< T > *se)
void RNA_pointer_create(ID *id, StructRNA *type, void *data, PointerRNA *r_ptr)
const PointerRNA PointerRNA_NULL
PointerRNA RNA_property_pointer_get(PointerRNA *ptr, PropertyRNA *prop)
void rna_iterator_listbase_begin(CollectionPropertyIterator *iter, ListBase *lb, IteratorSkipFunc skip)
bool RNA_enum_name_from_value(const EnumPropertyItem *item, int value, const char **r_name)
void RNA_property_update_main(Main *bmain, Scene *scene, PointerRNA *ptr, PropertyRNA *prop)
PointerRNA rna_pointer_inherit_refine(PointerRNA *ptr, StructRNA *type, void *data)
bool RNA_pointer_is_null(const PointerRNA *ptr)
void rna_def_animdata_common(StructRNA *srna)
void rna_def_animviz_common(StructRNA *srna)
void rna_def_motionpath_common(StructRNA *srna)
const EnumPropertyItem rna_enum_constraint_type_items[]
PropertyRNA * RNA_def_float(StructOrFunctionRNA *cont_, const char *identifier, float default_value, float hardmin, float hardmax, const char *ui_name, const char *ui_description, float softmin, float softmax)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_define_lib_overridable(const bool make_overridable)
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
void RNA_define_animate_sdna(bool animate)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
PropertyRNA * RNA_def_int_array(StructOrFunctionRNA *cont_, const char *identifier, int len, const int *default_value, int hardmin, int hardmax, const char *ui_name, const char *ui_description, int softmin, int softmax)
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
void RNA_def_property_float_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, int consecutive)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier, const char *call)
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_funcs(PropertyRNA *prop, const char *begin, const char *next, const char *end, const char *get, const char *length, const char *lookupint, const char *lookupstring, const char *assignint)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_boolean_default(PropertyRNA *prop, bool value)
void RNA_def_property_boolean_funcs(PropertyRNA *prop, const char *get, const char *set)
void RNA_def_property_multi_array(PropertyRNA *prop, int dimension, const int length[])
const float rna_default_axis_angle[4]
void RNA_def_property_editable_array_func(PropertyRNA *prop, const char *editable)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_struct_clear_flag(StructRNA *srna, int flag)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
const int rna_matrix_dimsize_4x4[]
void RNA_def_property_enum_funcs(PropertyRNA *prop, const char *get, const char *set, const char *item)
void RNA_def_property_editable_func(PropertyRNA *prop, const char *editable)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_enum_item_end(EnumPropertyItem **items, int *totitem)
void RNA_def_struct_name_property(struct StructRNA *srna, struct PropertyRNA *prop)
void RNA_def_function_flag(FunctionRNA *func, int flag)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
PropertyRNA * RNA_def_string(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, int maxlen, const char *ui_name, const char *ui_description)
void RNA_def_property_override_funcs(PropertyRNA *prop, const char *diff, const char *store, const char *apply)
void RNA_def_property_translation_context(PropertyRNA *prop, const char *context)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_override_clear_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, int default_value, int hardmin, int hardmax, const char *ui_name, const char *ui_description, int softmin, int softmax)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_enum_items_add_value(EnumPropertyItem **items, int *totitem, const EnumPropertyItem *item, int value)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, int default_value, const char *ui_name, const char *ui_description)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_float_array_default(PropertyRNA *prop, const float *array)
void RNA_def_property_boolean_negative_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_struct_nested(BlenderRNA *brna, StructRNA *srna, const char *structname)
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
const EnumPropertyItem rna_enum_object_greasepencil_modifier_type_items[]
bool rna_Curve_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
void rna_object_vcollayer_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen)
void rna_object_vgroup_name_index_set(struct PointerRNA *ptr, const char *value, short *index)
void rna_object_vgroup_name_index_get(struct PointerRNA *ptr, char *value, int index)
bool rna_Camera_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
bool rna_Light_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
bool rna_Lattice_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
void rna_object_uvlayer_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen)
void rna_Object_internal_update_data(struct Main *bmain, struct Scene *scene, struct PointerRNA *ptr)
void RNA_api_object(struct StructRNA *srna)
bool rna_Mesh_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
bool rna_GPencil_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
int rna_object_vgroup_name_index_length(struct PointerRNA *ptr, int index)
bool rna_Armature_object_poll(struct PointerRNA *ptr, struct PointerRNA value)
void rna_object_vgroup_name_set(struct PointerRNA *ptr, const char *value, char *result, int maxlen)
const EnumPropertyItem rna_enum_object_modifier_type_items[]
static void rna_def_object_grease_pencil_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
const EnumPropertyItem rna_enum_object_empty_drawtype_items[]
const EnumPropertyItem rna_enum_metaelem_type_items[]
static void rna_def_object_face_maps(BlenderRNA *brna, PropertyRNA *cprop)
const EnumPropertyItem rna_enum_workspace_object_mode_items[]
static void rna_def_object_shaderfxs(BlenderRNA *brna, PropertyRNA *cprop)
static const EnumPropertyItem instance_items[]
static void rna_def_face_map(BlenderRNA *brna)
static const EnumPropertyItem parent_type_items[]
const EnumPropertyItem rna_enum_object_gpencil_type_items[]
const EnumPropertyItem rna_enum_object_rotation_mode_items[]
static void rna_def_object_visibility(StructRNA *srna)
static void rna_def_material_slot(BlenderRNA *brna)
static void rna_def_object(BlenderRNA *brna)
const EnumPropertyItem rna_enum_lightprobes_type_items[]
static void rna_def_object_vertex_groups(BlenderRNA *brna, PropertyRNA *cprop)
const EnumPropertyItem rna_enum_object_mode_items[]
static void rna_def_object_lineart(BlenderRNA *brna)
const EnumPropertyItem rna_enum_object_axis_items[]
const EnumPropertyItem rna_enum_object_type_curve_items[]
#define INSTANCE_ITEM_COLLECTION
const EnumPropertyItem rna_enum_object_type_items[]
static void rna_def_object_modifiers(BlenderRNA *brna, PropertyRNA *cprop)
static const EnumPropertyItem rna_enum_object_empty_image_depth_items[]
static void rna_def_vertex_group(BlenderRNA *brna)
static void rna_def_object_display(BlenderRNA *brna)
static void rna_def_object_constraints(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_object_particle_systems(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_object(BlenderRNA *brna)
#define INSTANCE_ITEMS_SHARED
const EnumPropertyItem rna_enum_object_shaderfx_type_items[]
_W64 unsigned int uintptr_t
union CollectionPropertyIterator::@1147 internal
int subitem_reference_index
char * subitem_local_name
char * subitem_reference_name
struct BMEditMesh * edit_mesh
struct Collection * instance_collection
ListBase greasepencil_modifiers
void WM_main_add_notifier(unsigned int type, void *reference)