CubemapData

Engine/source/gfx/sim/cubemapData.h

A script interface for creating static or dynamic cubemaps.

More...

Private Types

Parent 

Public Attributes

Public Functions

bool

Called when the object is added to the sim.

setCubeFaceFile(U32 index, FileName newFaceFile)
setCubeFaceTexture(U32 index, GFXTexHandle newFaceTexture)
setCubemapFile(FileName newCubemapFile)

Public Static Functions

Detailed Description

A script interface for creating static or dynamic cubemaps.

Private Types

typedef SimObject Parent 

Public Attributes

GFXCubemapHandle mCubemap 

Protected Attributes

GFXTexHandle mCubeFace [6]
FileName mCubeFaceFile [6]
FileName mCubeMapFile 
GFXTexHandle mDepthBuff 
GFXTextureTargetRef mRenderTarget 

Public Functions

CubemapData()

~CubemapData()

createMap()

DECLARE_CONOBJECT(CubemapData )

getCubeMapFace(U32 faceIdx)

onAdd()

Reimplemented from: SimObject

setCubeFaceFile(U32 index, FileName newFaceFile)

setCubeFaceTexture(U32 index, GFXTexHandle newFaceTexture)

setCubemapFile(FileName newCubemapFile)

updateFaces()

Public Static Functions

initPersistFields()