You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defines a sky box for the scene, using a cube map texture
Methods
Method(s)
Description
loadCubeMap(path, extension)
loads a cube map using a set of six textures contained in the specified path
Examples
Basic example
# Load a cube map and attach it to the scene# the textures in common/cubemaps/grid4 must be named# posx.png, posy.png, negx.png, negy.png, posz.png, negz.pngskybox=Skybox()
skybox.loadCubeMap("common/cubemaps/grid4", "png")
getSceneManager().setSkyBox(skybox)