|
Blender V5.3
|
Public Attributes | |
| Depsgraph * | depsgraph |
| Collection * | collection |
| Object * | obedit |
| Object * | root_object |
| Object * | object |
| float | space_mat [4][4] |
| int | preview_instance_index |
| const GeometrySet * | preview_base_geometry |
| Vector< Object * > * | instance_stack |
| Vector< short > * | dupli_gen_type_stack |
| Set< const Object * > * | include_objects |
| int | persistent_id [MAX_DUPLI_RECUR] |
| int64_t | instance_idx [MAX_DUPLI_RECUR] |
| const GeometrySet * | instance_data [MAX_DUPLI_RECUR] |
| int | level |
| const struct DupliGenerator * | gen |
| DupliList * | duplilist |
Definition at line 84 of file object_dupli.cc.
| Collection* blender::DupliContext::collection |
XXX child objects are selected from this group if set, could be nicer.
Definition at line 87 of file object_dupli.cc.
Referenced by blender::copy_dupli_context(), blender::init_context(), blender::make_child_duplis(), and blender::make_duplis_font().
| Depsgraph* blender::DupliContext::depsgraph |
Definition at line 85 of file object_dupli.cc.
Referenced by blender::get_dupli_generator(), blender::init_context(), blender::make_child_duplis(), blender::make_duplis_collection(), blender::make_duplis_font(), blender::make_duplis_geometry_set_impl(), and blender::make_duplis_particle_system().
| Vector<short>* blender::DupliContext::dupli_gen_type_stack |
Older code relies on the "dupli generator type" for various visibility or processing decisions. However, new code uses geometry instances in places that weren't using the dupli system previously. To fix this, keep track of the last dupli generator type that wasn't a geometry set instance.
Definition at line 119 of file object_dupli.cc.
Referenced by blender::copy_dupli_context(), blender::init_context(), blender::make_child_duplis(), blender::make_dupli(), and blender::make_recursive_duplis().
| DupliList* blender::DupliContext::duplilist |
Result containers.
Definition at line 134 of file object_dupli.cc.
Referenced by blender::init_context(), and blender::make_dupli().
| const struct DupliGenerator* blender::DupliContext::gen |
Definition at line 131 of file object_dupli.cc.
Referenced by blender::copy_dupli_context(), blender::init_context(), blender::make_child_duplis(), blender::make_dupli(), blender::make_recursive_duplis(), blender::object_duplilist(), and blender::object_duplilist_legacy_instances().
If not null, then only instance objects that are in this set.
Definition at line 124 of file object_dupli.cc.
Referenced by blender::init_context(), and blender::make_duplis_collection().
| const GeometrySet* blender::DupliContext::instance_data[MAX_DUPLI_RECUR] |
Definition at line 128 of file object_dupli.cc.
Referenced by blender::copy_dupli_context(), and blender::make_dupli().
| int64_t blender::DupliContext::instance_idx[MAX_DUPLI_RECUR] |
Definition at line 127 of file object_dupli.cc.
Referenced by blender::copy_dupli_context(), and blender::make_dupli().
A stack that contains all the "parent" objects of a particular instance when recursive instancing is used. This is used to prevent objects from instancing themselves accidentally. Use a vector instead of a stack because we want to use the #contains method.
Definition at line 111 of file object_dupli.cc.
Referenced by blender::copy_dupli_context(), blender::init_context(), and blender::make_recursive_duplis().
| int blender::DupliContext::level |
Definition at line 129 of file object_dupli.cc.
Referenced by blender::copy_dupli_context(), blender::get_dupli_generator(), blender::init_context(), blender::make_dupli(), and blender::make_recursive_duplis().
| Object* blender::DupliContext::obedit |
Only to check if the object is in edit-mode.
Definition at line 89 of file object_dupli.cc.
Referenced by blender::init_context(), and blender::make_child_duplis().
| Object* blender::DupliContext::object |
Immediate parent object in the context.
Definition at line 94 of file object_dupli.cc.
Referenced by blender::copy_dupli_context(), blender::get_dupli_generator(), blender::init_context(), blender::make_child_duplis(), blender::make_child_duplis_faces_from_editmesh(), blender::make_child_duplis_faces_from_mesh(), blender::make_child_duplis_verts_from_editmesh(), blender::make_child_duplis_verts_from_mesh(), blender::make_duplis_collection(), blender::make_duplis_faces(), blender::make_duplis_font(), blender::make_duplis_geometry_set(), blender::make_duplis_geometry_set_impl(), blender::make_duplis_particle_system(), blender::make_duplis_particles(), and blender::make_duplis_verts().
| int blender::DupliContext::persistent_id[MAX_DUPLI_RECUR] |
Definition at line 126 of file object_dupli.cc.
Referenced by blender::copy_dupli_context(), and blender::make_dupli().
| const GeometrySet* blender::DupliContext::preview_base_geometry |
Top level geometry set that is previewed.
Definition at line 104 of file object_dupli.cc.
Referenced by blender::init_context(), blender::make_dupli(), blender::make_duplis_geometry_set_impl(), and blender::object_duplilist_preview().
| int blender::DupliContext::preview_instance_index |
Index of the top-level instance that contains this context or -1 when unused. This is an index into the instances component of preview_base_geometry.
Definition at line 100 of file object_dupli.cc.
Referenced by blender::init_context(), blender::make_dupli(), and blender::make_duplis_geometry_set_impl().
| Object* blender::DupliContext::root_object |
Root parent object at the scene level.
Definition at line 92 of file object_dupli.cc.
Referenced by blender::init_context(), and blender::make_dupli().
| float blender::DupliContext::space_mat[4][4] |
Definition at line 95 of file object_dupli.cc.
Referenced by blender::copy_dupli_context(), blender::init_context(), and blender::make_dupli().