Show Menu
TOPICS×

class s7vampy.obj.Object(parent, obj)

Base class of all objects and object groups that are stored in the object hierarchy.
Use one of the following attributes to determine the type of the object:
Use the [is_overlapping_object](../../../c-s7vampy-api-reference/c-classes/c-objects/r-class-s7vampy-obj-staticoverlapobject.md#reference-7b66780df1fc40cfa436fecdc16037c5) attribute to determine whether the object is an overlapping object. A non-static overlapping object has its own set of local illumination maps. These can be accessed using the illum attribute.
All overlapping objects have a z-order associated with them. The z-order determines the order in which the overlapping objects are drawn. Objects with a high z-order are drawn later, in front of objects with a low z-order.
Not all object types are supported by the Vignette Automation Module. Unsupported objects can be detected using the is_supported attribute.
Attribute Description
is_background_object
True if this object is a background object.
is_flat_object
True if this object is a flat model object.
is_group
True if this object is an object group.
is_nontexturable_object
True if this object is a non-texturable object.
is_overlapping_object
True if this object is an overlapping object
is_static_object
True if this object is a static object.
is_static_overlap_object
True if this object is a static overlap object.
is_supported
True if this object is a supported object type.
is_surface_object
True if this object is a surface model object.
name
Object or object group name
[str]
parent
Parent object group (Group or None).
path
Slash-separated path to this object or group in the hierarchy
For example: group1/group2/object