From 7028cbe09c688437910a25623098762bf0fa592d Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Mon, 28 Mar 2016 22:28:34 +1000 Subject: Move Irrlicht to src/others. --- ...r_1_1scene_1_1_i_collada_mesh_writer_names.html | 277 +++++++++++++++++++++ 1 file changed, 277 insertions(+) create mode 100644 src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer_names.html (limited to 'src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer_names.html') diff --git a/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer_names.html b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer_names.html new file mode 100644 index 0000000..85ee2b1 --- /dev/null +++ b/src/others/irrlicht-1.8.1/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer_names.html @@ -0,0 +1,277 @@ + + + + +Irrlicht 3D Engine: irr::scene::IColladaMeshWriterNames Class Reference + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + +
+
Irrlicht 3D Engine + +
+ +
+ + + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+
+ +
+
irr::scene::IColladaMeshWriterNames Class Reference
+
+
+ +

Callback interface to use custom names on collada writing. + More...

+ +

#include <IColladaMeshWriter.h>

+
+ + Inheritance diagram for irr::scene::IColladaMeshWriterNames:
+
+
+ + +

List of all members.

+

+Public Member Functions

+ +

Detailed Description

+

Callback interface to use custom names on collada writing.

+

You can either modify names and id's written to collada or you can use this interface to just find out which names are used on writing.

+ +

Definition at line 158 of file IColladaMeshWriter.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + +
virtual irr::scene::IColladaMeshWriterNames::~IColladaMeshWriterNames () [inline, virtual]
+
+
+ +

Definition at line 162 of file IColladaMeshWriter.h.

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
virtual irr::core::stringw irr::scene::IColladaMeshWriterNames::nameForMaterial (const video::SMaterialmaterial,
int materialId,
const scene::IMeshmesh,
const scene::ISceneNodenode 
) [pure virtual]
+
+
+ +

Return a name for the material.

+

There is one material created in the writer for each unique name. So you can use this to control the number of materials which get written. For example Irrlicht does by default write one material for each material instanced by a node. So if you know that in your application material instances per node are identical between different nodes you can reduce the number of exported materials using that knowledge by using identical names for such shared materials. Names must follow the xs::NCName standard to be valid, you can run them through IColladaMeshWriter::toNCName to ensure that.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual irr::core::stringw irr::scene::IColladaMeshWriterNames::nameForMesh (const scene::IMeshmesh,
int instance 
) [pure virtual]
+
+
+ +

Return a unique name for the given mesh.

+

Note that names really must be unique here per mesh-pointer, so mostly it's a good idea to return the nameForMesh from IColladaMeshWriter::getDefaultNameGenerator(). Also names must follow the xs::NCName standard to be valid, you can run them through IColladaMeshWriter::toNCName to ensure that.

+
Parameters:
+ + + +
meshPointer to the mesh which needs a name
instanceWhen E_COLLADA_GEOMETRY_WRITING is not ECGI_PER_MESH then several instances of the same mesh can be written and this counts them.
+
+
+ +
+
+ +
+
+ + + + + + + + +
virtual irr::core::stringw irr::scene::IColladaMeshWriterNames::nameForNode (const scene::ISceneNodenode) [pure virtual]
+
+
+ +

Return a unique name for the given node.

+

Note that names really must be unique here per node-pointer, so mostly it's a good idea to return the nameForNode from IColladaMeshWriter::getDefaultNameGenerator(). Also names must follow the xs::NCName standard to be valid, you can run them through IColladaMeshWriter::toNCName to ensure that.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + + -- cgit v1.1