|
Used to create static or dynamic cubemaps. More...
Public Member Functions | |
string | getFilename () |
Returns the script filename of where the CubemapData object was defined. This is used by the material editor. | |
void | updateFaces () |
Update the assigned cubemaps faces. | |
Public Attributes | |
filename | cubeFace [6] |
The 6 cubemap face textures for a static cubemap. | |
bool | dynamic |
Set to true if this is a dynamic cubemap. The default is false. | |
float | dynamicFarDist |
The far clip distance used when rendering to the dynamic cubemap. | |
float | dynamicNearDist |
The near clip distance used when rendering to the dynamic cubemap. | |
int | dynamicObjectTypeMask |
The typemask used to filter the objects rendered to the dynamic cubemap. | |
int | dynamicSize |
The size of each dynamic cubemap face in pixels. |
Used to create static or dynamic cubemaps.
This object is used with Material, WaterObject, and other objects for cubemap reflections.
A simple declaration of a static cubemap:
string CubemapData::getFilename | ( | ) |
Returns the script filename of where the CubemapData object was defined. This is used by the material editor.
Reimplemented from SimObject.
void CubemapData::updateFaces | ( | ) |
Update the assigned cubemaps faces.
filename CubemapData::cubeFace[6] |
The 6 cubemap face textures for a static cubemap.
They are in the following order:
bool CubemapData::dynamic |
Set to true if this is a dynamic cubemap. The default is false.
The far clip distance used when rendering to the dynamic cubemap.
The near clip distance used when rendering to the dynamic cubemap.
The typemask used to filter the objects rendered to the dynamic cubemap.
The size of each dynamic cubemap face in pixels.