Blender  V3.3
Public Attributes | List of all members
DupliContext Struct Reference

Public Attributes

Depsgraphdepsgraph
 
Collectioncollection
 
Objectobedit
 
Scenescene
 
Objectroot_object
 
Objectobject
 
float space_mat [4][4]
 
Vector< Object * > * instance_stack
 
int persistent_id [MAX_DUPLI_RECUR]
 
int level
 
const struct DupliGeneratorgen
 
ListBaseduplilist
 

Detailed Description

Definition at line 67 of file object_dupli.cc.

Member Data Documentation

◆ collection

Collection* DupliContext::collection

XXX child objects are selected from this group if set, could be nicer.

Definition at line 70 of file object_dupli.cc.

Referenced by copy_dupli_context(), init_context(), make_child_duplis(), and make_duplis_font().

◆ depsgraph

Depsgraph* DupliContext::depsgraph

◆ duplilist

ListBase* DupliContext::duplilist

Result containers.

Definition at line 94 of file object_dupli.cc.

Referenced by init_context(), make_dupli(), and object_duplilist().

◆ gen

const struct DupliGenerator* DupliContext::gen

◆ instance_stack

Vector<Object *>* DupliContext::instance_stack

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 86 of file object_dupli.cc.

Referenced by copy_dupli_context(), init_context(), and make_recursive_duplis().

◆ level

int DupliContext::level

◆ obedit

Object* DupliContext::obedit

Only to check if the object is in edit-mode.

Definition at line 72 of file object_dupli.cc.

Referenced by init_context(), and make_child_duplis().

◆ object

Object* DupliContext::object

◆ persistent_id

int DupliContext::persistent_id[MAX_DUPLI_RECUR]

Definition at line 88 of file object_dupli.cc.

Referenced by copy_dupli_context(), and make_dupli().

◆ root_object

Object* DupliContext::root_object

Root parent object at the scene level.

Definition at line 76 of file object_dupli.cc.

Referenced by init_context(), and make_dupli().

◆ scene

Scene* DupliContext::scene

Definition at line 74 of file object_dupli.cc.

Referenced by init_context(), and make_duplis_particle_system().

◆ space_mat

float DupliContext::space_mat[4][4]

Definition at line 79 of file object_dupli.cc.

Referenced by copy_dupli_context(), init_context(), and make_dupli().


The documentation for this struct was generated from the following file: