IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

SkyboxEntity QML Type

SkyboxEntity is a convenience Entity subclass that can be used to insert a skybox in a 3D scene.

This type was introduced in Qt 5.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

SkyboxEntity QML Type

  • Import Statement: import Qt3D.Extras 2.4

  • Since:: Qt 5.5

  • Instantiates:: QSkyboxEntity

Detailed Description

By specifying a base name and an extension, SkyboxEntity will take care of building a TextureCubeMap to be rendered at runtime. The images in the source directory should match the pattern: base name + * "_posx|_posy|_posz|_negx|_negy|_negz" + extension

By default the extension defaults to .png.

Be sure to disable frustum culling in the FrameGraph through which the skybox rendering happens.

Please note that you shouldn't try to render a skybox with an orthographic projection.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+