smaterial

Contents

Name Description
setflag( flag , state )

Sets a flag on this material.

settexture( index , texture )

Sets a texture for this material.


setflag( number flag , boolean state )

Sets a flag on this material.

Sets the given flag on the material

Parameters

Defined at client/lua_api/video/smaterial.cpp:63


settexture( number index , itexture texture )

Sets a texture for this material.

Sets a texture for the material on the given index. For more information on what each texture of a material does, see the irrlicht documentation.

Parameters

Defined at client/lua_api/video/smaterial.cpp:42