|
Avara3D 0.2.0
C++ API reference
|
Configures a solid-color or cubemap background for a VisualWorld. More...
#include <a3d/visual/Background.h>
Public Member Functions | |
| Background (Material::Property contents) | |
Creates a background with contents. More... | |
Public Attributes | |
| Material::Property | contents {} |
| Background contents; VisualWorld accepts a Color or a Texture containing a CubeImage. More... | |
| math::quat | orientation {1.0f} |
| Orientation applied when sampling a cubemap background. More... | |
Configures a solid-color or cubemap background for a VisualWorld.
Definition at line 18 of file Background.h.
|
explicit |
Creates a background with contents.
| Material::Property a3d::Background::contents {} |
Background contents; VisualWorld accepts a Color or a Texture containing a CubeImage.
Definition at line 27 of file Background.h.
| math::quat a3d::Background::orientation {1.0f} |
Orientation applied when sampling a cubemap background.
Definition at line 28 of file Background.h.