Commit 1660a503 authored by Jan Möbius's avatar Jan Möbius

Documentation

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@7703 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 3712d1e1
...@@ -94,15 +94,18 @@ class TextureInterface { ...@@ -94,15 +94,18 @@ class TextureInterface {
/** \brief Emit this Signal if you want to add a texture for a multitexturing mode /** \brief Emit this Signal if you want to add a texture for a multitexturing mode
* *
* Emit this signal if a texture should be added to a multitexturing mode. * Emit this signal if a texture should be added to a multitexturing mode.
*
* The first parameter defines a texturegroup which collects all textures * The first parameter defines a texturegroup which collects all textures
* that should be painted in the multitexturing mode. * that should be painted in the multitexturing mode. This group does not
* The second parameter defines the single textures name. * have to exist on the first call but will be created automatically.
*
* The second parameter defines the single textures name used in the gui.
* *
* @param _textureGroup Multitexturing group using this texture * @param _textureGroup Multitexturing group using this texture
* @param _name Name of the property which contains the tex coords (double or vec2d) * @param _name Name of the property which contains the tex coords (double or vec2d)
* @param _filename Filename of the texture (either local in OpenFlippers texture dir or global ( "./Textures/<name>") * @param _filename Filename of the texture (either local in OpenFlippers texture dir or global ( "./Textures/<name>")
* @param _id Id of the object which should use that texture * @param _id Id of the object which should use that texture
* @param _textureId The new id of the texture( This id is object related!!) * @param _textureId The new internal id of the texture( This id is object related!!). Use this id in your mesh as the texture index (Use mesh->set_texture_index on the face using this texture).
*/ */
virtual void addMultiTexture( QString /*_textureGroup*/ , QString /*_name*/ , QString /*_filename*/ , int /*_id*/ , int& /*_textureId*/ ) {}; virtual void addMultiTexture( QString /*_textureGroup*/ , QString /*_name*/ , QString /*_filename*/ , int /*_id*/ , int& /*_textureId*/ ) {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment