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()
ordatagen.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