DepsgraphObjectInstance(bpy_struct)

base class — bpy_struct

class bpy.types.DepsgraphObjectInstance.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

Type

Object, (readonly)

is_instance

Denotes if the object is generated by another object

Type

boolean, default False, (readonly)

matrix_world

Generated transform matrix in world space

Type

float 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)

object

Evaluated object the iterator points to

Type

Object, (readonly)

orco

Generated coordinates in parent object space

Type

float array of 3 items in [-inf, inf], default (0.0, 0.0, 0.0), (readonly)

parent

If the object is an instance, the parent object that generated it

Type

Object, (readonly)

particle_system

Evaluated particle system that this object was instanced from

Type

ParticleSystem, (readonly)

persistent_id

Persistent identifier for inter-frame matching of objects with motion blur

Type

int array of 8 items in [-inf, inf], default (0, 0, 0, 0, 0, 0, 0, 0), (readonly)

random_id

Random id for this instance, typically for randomized shading

Type

int in [0, inf], default 0, (readonly)

show_particles

Particles part of the object should be visible in the render

Type

boolean, default False, (readonly)

show_self

The object geometry itself should be visible in the render

Type

boolean, default False, (readonly)

uv

UV coordinates in parent object space

Type

float array of 2 items in [-inf, inf], default (0.0, 0.0), (readonly)

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

  • bpy_struct.id_data

Inherited Functions

  • bpy_struct.as_pointer

  • bpy_struct.driver_add

  • bpy_struct.driver_remove

  • bpy_struct.get

  • bpy_struct.is_property_hidden

  • bpy_struct.is_property_overridable_library

  • bpy_struct.is_property_readonly

  • bpy_struct.is_property_set

  • bpy_struct.items

  • bpy_struct.keyframe_delete

  • bpy_struct.keyframe_insert

  • bpy_struct.keys

  • bpy_struct.path_from_id

  • bpy_struct.path_resolve

  • bpy_struct.pop

  • bpy_struct.property_overridable_library_set

  • bpy_struct.property_unset

  • bpy_struct.type_recast

  • bpy_struct.values

References

  • Depsgraph.object_instances