DepsgraphObjectInstance(bpy_struct)

base class — bpy_struct

class bpy.types.DepsgraphObjectInstance(bpy_struct)

Extended information about dependency graph object iterator (Warning: All data here is ‘evaluated’ one, not original .blend IDs)

instance_object

Evaluated object which is being instanced by this iterator (readonly)

Type:

Object

is_instance

Denotes if the object is generated by another object (default False, readonly)

Type:

bool

matrix_world

Generated transform matrix in world space (multi-dimensional array of 4 * 4 items, in [-inf, inf], default ((0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0), (0.0, 0.0, 0.0, 0.0)), readonly)

Type:

mathutils.Matrix

object

Evaluated object the iterator points to (readonly)

Type:

Object

orco

Generated coordinates in parent object space (array of 3 items, in [-inf, inf], default (0.0, 0.0, 0.0), readonly)

Type:

mathutils.Vector

parent

If the object is an instance, the parent object that generated it (readonly)

Type:

Object

particle_system

Evaluated particle system that this object was instanced from (readonly)

Type:

ParticleSystem

persistent_id

Persistent identifier for inter-frame matching of objects with motion blur (array of 8 items, in [-inf, inf], default (0, 0, 0, 0, 0, 0, 0, 0), readonly)

Type:

bpy_prop_array[int]

random_id

Random id for this instance, typically for randomized shading (in [0, inf], default 0, readonly)

Type:

int

show_particles

Particles part of the object should be visible in the render (default False, readonly)

Type:

bool

show_self

The object geometry itself should be visible in the render (default False, readonly)

Type:

bool

uv

UV coordinates in parent object space (array of 2 items, in [-inf, inf], default (0.0, 0.0), readonly)

Type:

bpy_prop_array[float]

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References