class datagen.api.assets.Background(*, id: Optional[str] = None, transparent: bool = False, rotation: float = 0.0)#

A 3D asset representing an HDRI background and its associated map of light sources.

Use datagen.api.catalog.backgrounds to get assets of this type from the asset catalog.

id: Optional[str]#

A UUID that identifies a specific background asset.

rotation: float#

The amount that the background should be rotated, clockwise, measured in degrees.

Min: 0

Max: 360

transparent: bool#

Turns the background transparent. The choice of background is still relevant even if you make it transparent, because it defines all of the lighting in the scene.