Kuesa Runtime

Skybox Class

class Kuesa::Skybox

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.

Public Functions

QString baseName() const
QString extension() const

Public Slots

void setBaseName(const QString &baseName)
void setExtension(const QString &extension)

Signals

void baseNameChanged(const QString &path)
void extensionChanged(const QString &extension)

Detailed Description

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.

Member Function Documentation

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

QString Skybox::baseName() const

Skybox::baseName The skybox base name

Note: Getter function for property baseName.

See also setBaseName().

QString Skybox::extension() const

Skybox::extension The skybox extension

Note: Getter function for property extension.

See also setExtension().