View source
class SkyBox
package away3d.primitives
extends Entity › ObjectContainer3D › Object3D › NamedAssetBase
implements IRenderable
Available on all platforms
A SkyBox class is used to render a sky in the scene. It's always considered static and 'at infinity', and as such it's always centered at the camera's position and sized to exactly fit within the camera's frustum, ensuring the sky box is always as large as possible without being clipped.
Constructor
new(cubeMap:CubeTextureBase)
Create a new SkyBox object.
Parameters:
cubeMap | The CubeMap to use for the sky box's texture. |
|---|