9#ifndef AVARA3D_VISUAL_BACKGROUND_H
10#define AVARA3D_VISUAL_BACKGROUND_H
13#include "a3d/visual/material/Material.h"
std::variant< std::monostate, std::shared_ptr< Texture >, Color > Property
Material property contents: absent, a shared Texture, or a constant Color.
Configures a solid-color or cubemap background for a VisualWorld.
Background(Material::Property contents)
Creates a background with contents.
Material::Property contents
Background contents; VisualWorld accepts a Color or a Texture containing a CubeImage.
math::quat orientation
Orientation applied when sampling a cubemap background.