Daggerfall Mod:DFRemake/DFEGetFirst3dTexture

The UESPWiki – Your source for The Elder Scrolls since 1995
Jump to: navigation, search

integer DFEGetFirst3dTexture ( )[edit]

Inputs[edit]

None

Outputs[edit]

Returns -1 if there are no textures to iterate through in the current object. On success it returns the combined texture and image index (see DFEGetNext3dTexture for details).

Description[edit]

Use this function to begin iterating through all different textures in the currently loaded 3d object.

Example[edit]

Local TexValue as integer

TexValue = DFEGetFirst3dTexture()
if (TexValue = -1) then End