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

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 16 items in [-inf, inf], default (0, 0, 0, 0, 0, 0, 0, 0, 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

Inherited Functions

References