igor::iSkyBox Class Reference

#include <iSkyBox.h>

Public Member Functions

 iSkyBox ()
 
void setTexture (iTexturePtr texture)
 
void setBoxSize (float32 boxSize)
 
float32 getBoxSize () const
 
void render ()
 

Detailed Description

renders a sky box

Constructor & Destructor Documentation

◆ iSkyBox()

igor::iSkyBox::iSkyBox ( )

initializes member variables

Member Function Documentation

◆ getBoxSize()

float32 igor::iSkyBox::getBoxSize ( ) const
Returns
the sky box size

◆ render()

void igor::iSkyBox::render ( )

draw the sky box

◆ setBoxSize()

void igor::iSkyBox::setBoxSize ( float32  boxSize)

sets the sky box size (radius)

Parameters
boxSizethe sky box size

◆ setTexture()

void igor::iSkyBox::setTexture ( iTexturePtr  texture)

set the textures used for the sky box

Parameters
texturethe texture to use

The documentation for this class was generated from the following files: