Kuesa::SkyBox is a convenience Qt3DCore::QEntity subclass used to insert a skybox in a 3D scene. Unlike Qt3DExtras::SkyboxEntity, its implementation is compatible with the Kuesa provided default framegraph. More...
Header: | #include <Kuesa/Skybox> |
Since: | Kuesa 1.0 |
Instantiated By: | Skybox |
This class was introduced in Kuesa 1.0.
void | setBaseName(const QString &baseName) |
void | setExtension(const QString &extension) |
void | baseNameChanged(const QString &path) |
void | extensionChanged(const QString &extension) |
Be sure to disable frustum culling in the FrameGraph through which the skybox rendering happens.
Note: Please note that you shouldn't try to render a skybox with an orthographic projection.
Kuesa::Skybox uses a baseName and an extension for the textures that will be used for the skybox. Depending on the skybox extension, Kuesa will create different textures to be used as skybox.
See also extension and baseName.
[slot]
void Skybox::setBaseName(const QString &baseName)Sets the base name for the texture(s) that will be used as skybox to baseName.
Note: Setter function for property baseName.
See also baseName().
[slot]
void Skybox::setExtension(const QString &extension)Sets the extension for the texture(s) that will be used as skybox
Note: Setter function for property extension.
See also extension().
Skybox::baseName The skybox base name
Note: Getter function for property baseName.
See also setBaseName().
Skybox::extension The skybox extension
Note: Getter function for property extension.
See also setExtension().