api.catalog.attributes.BackgroundAttributes#

class datagen.api.catalog.attributes.BackgroundAttributes(environment: Enum, time_of_day: Enum, strength: Optional[float] = None)#

Each background asset contains the following read-only attributes.

When you call the datagen.api.catalog.backgrounds.get() or datagen.api.catalog.backgrounds.count() functions, you can use this attribute to filter the catalog.

environment: Enum#

The general location of the scene (indoor or outdoor). Uses the Environment enum.

strength: Optional[float] = None#

Float. A measure of the strength of the lighting in the scene

time_of_day: Enum#

The general time of day in the scene. Uses the TimeOfDay enum.