From 393b5cd1dc438872af89d334ef6e5fcc59f27d47 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 13 Jan 2013 17:24:39 +1000 Subject: Added Irrlicht 1.8, but without all the Windows binaries. --- ...lassirr_1_1scene_1_1_i_collada_mesh_writer.html | 666 +++++++++++++++++++++ 1 file changed, 666 insertions(+) create mode 100644 libraries/irrlicht-1.8/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer.html (limited to 'libraries/irrlicht-1.8/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer.html') diff --git a/libraries/irrlicht-1.8/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer.html b/libraries/irrlicht-1.8/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer.html new file mode 100644 index 0000000..51b3439 --- /dev/null +++ b/libraries/irrlicht-1.8/doc/html/classirr_1_1scene_1_1_i_collada_mesh_writer.html @@ -0,0 +1,666 @@ + + + + +Irrlicht 3D Engine: irr::scene::IColladaMeshWriter Class Reference + + + + + + + + + + + + + + +
+ + +
+ + + + + + + + + + + + + + + + + +
+
Irrlicht 3D Engine + +
+ +
+ + + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+
+ +
+
irr::scene::IColladaMeshWriter Class Reference
+
+
+ +

Interface for writing meshes. + More...

+ +

#include <IColladaMeshWriter.h>

+
+ + Inheritance diagram for irr::scene::IColladaMeshWriter:
+
+
+ + +

List of all members.

+

+Public Member Functions

+ +

+Protected Member Functions

+ +

Detailed Description

+

Interface for writing meshes.

+ +

Definition at line 201 of file IColladaMeshWriter.h.

+

Constructor & Destructor Documentation

+ +
+
+ + + + + + + +
irr::scene::IColladaMeshWriter::IColladaMeshWriter () [inline]
+
+
+ +

Definition at line 205 of file IColladaMeshWriter.h.

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

Destructor.

+ +

Definition at line 213 of file IColladaMeshWriter.h.

+ +

References irr::IReferenceCounted::drop().

+ +
+
+

Member Function Documentation

+ +
+
+ + + + + + + +
virtual video::SColorf irr::scene::IColladaMeshWriter::getAmbientLight () const [inline, virtual]
+
+
+ +

Return ambient light of the scene which is written.

+ +

Definition at line 264 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + +
IColladaMeshWriterNames* irr::scene::IColladaMeshWriter::getDefaultNameGenerator () const [inline]
+
+
+ +

Return the original default name generator of the writer.

+

You can use this pointer in your own generator to access and return default values.

+ +

Definition at line 353 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + +
IColladaMeshWriterProperties* irr::scene::IColladaMeshWriter::getDefaultProperties () const [inline]
+
+
+ +

Return the original default properties of the writer.

+

You can use this pointer in your own properties to access and return default values.

+ +

Definition at line 328 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + +
virtual bool irr::scene::IColladaMeshWriter::getExportSMaterialsOnlyOnce () const [inline, virtual]
+
+
+ +

Definition at line 301 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + +
virtual E_COLLADA_GEOMETRY_WRITING irr::scene::IColladaMeshWriter::getGeometryWriting () const [inline, virtual]
+
+
+ +

Get the current style of geometry writing.

+ +

Definition at line 283 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + +
virtual IColladaMeshWriterNames* irr::scene::IColladaMeshWriter::getNameGenerator () const [inline, virtual]
+
+
+ +

Get currently used name generator.

+ +

Definition at line 346 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + +
virtual IColladaMeshWriterProperties* irr::scene::IColladaMeshWriter::getProperties () const [inline, virtual]
+
+
+ +

Get properties which are currently used.

+ +

Definition at line 321 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + +
virtual bool irr::scene::IColladaMeshWriter::getWriteDefaultScene () const [inline, virtual]
+
+
+ +

Get if a default scene should be written.

+ +

Definition at line 252 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + +
virtual bool irr::scene::IColladaMeshWriter::getWriteTextures () const [inline, virtual]
+
+
+ +

Get if texture information should be written.

+ +

Definition at line 236 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + + +
virtual void irr::scene::IColladaMeshWriter::setAmbientLight (const video::SColorfambientColor) [inline, virtual]
+
+
+ +

Sets ambient color of the scene to write.

+ +

Definition at line 258 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + + +
virtual void irr::scene::IColladaMeshWriter::setDefaultNameGenerator (IColladaMeshWriterNamesp) [inline, protected, virtual]
+
+
+ +

Definition at line 377 of file IColladaMeshWriter.h.

+ +

References irr::IReferenceCounted::drop(), and irr::IReferenceCounted::grab().

+ +
+
+ +
+
+ + + + + + + + +
virtual void irr::scene::IColladaMeshWriter::setDefaultProperties (IColladaMeshWriterPropertiesp) [inline, protected, virtual]
+
+
+ +

Definition at line 365 of file IColladaMeshWriter.h.

+ +

References irr::IReferenceCounted::drop(), and irr::IReferenceCounted::grab().

+ +
+
+ +
+
+ + + + + + + + +
virtual void irr::scene::IColladaMeshWriter::setExportSMaterialsOnlyOnce (bool exportOnce) [inline, virtual]
+
+
+ +

Make certain there is only one collada material generated per Irrlicht material.

+

Checks before creating a collada material-name if an identical irr:::video::SMaterial has been exported already. If so don't export it with another name. This is set by default and leads to way smaller .dae files. Note that if you need to disable this flag for some reason you can still get a similar effect using the IColladaMeshWriterNames::nameForMaterial by returning identical names for identical materials there.

+ +

Definition at line 296 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + + +
virtual void irr::scene::IColladaMeshWriter::setGeometryWriting (E_COLLADA_GEOMETRY_WRITING writeStyle) [inline, virtual]
+
+
+ +

Control when and how often a mesh is written.

+

Optimally ECGI_PER_MESH would be always sufficent - writing geometry once per mesh. Unfortunately many tools (at the time of writing this nearly all of them) have trouble on import when different materials are used per node. So when you override materials per node and importing the resuling collada has materials problems in other tools try using other values here.

+
Parameters:
+ + +
writeStyleOne of the E_COLLADA_GEOMETRY_WRITING settings.
+
+
+ +

Definition at line 277 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + + +
virtual void irr::scene::IColladaMeshWriter::setNameGenerator (IColladaMeshWriterNamesnameGenerator) [inline, virtual]
+
+
+ +

Install a generator to create custom names on export.

+ +

Definition at line 334 of file IColladaMeshWriter.h.

+ +

References irr::IReferenceCounted::drop(), and irr::IReferenceCounted::grab().

+ +
+
+ +
+
+ + + + + + + + +
virtual void irr::scene::IColladaMeshWriter::setProperties (IColladaMeshWriterPropertiesp) [inline, virtual]
+
+
+ +

Set properties to use by the meshwriter instead of it's default properties.

+

Overloading properties with an own class allows modifying the writing process in certain ways. By default properties are set to the DefaultProperties.

+ +

Definition at line 309 of file IColladaMeshWriter.h.

+ +

References irr::IReferenceCounted::drop(), and irr::IReferenceCounted::grab().

+ +
+
+ +
+
+ + + + + + + + +
virtual void irr::scene::IColladaMeshWriter::setWriteDefaultScene (bool write) [inline, virtual]
+
+
+ +

Set if a default scene should be written when writing meshes.

+

Many collada readers fail to read a mesh if the collada files doesn't contain a scene as well. The scene is doing an instantiation of the mesh. When using writeScene this flag is ignored (as we have scene there already)

+ +

Definition at line 246 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + + +
virtual void irr::scene::IColladaMeshWriter::setWriteTextures (bool write) [inline, virtual]
+
+
+ +

Set if texture information should be written.

+ +

Definition at line 230 of file IColladaMeshWriter.h.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual irr::core::stringw irr::scene::IColladaMeshWriter::toNCName (const irr::core::stringwoldString,
const irr::core::stringwprefix = irr::core::stringw(L"_NC_") 
) const [pure virtual]
+
+
+ +

Restrict the characters of oldString a set of allowed characters in xs::NCName and add the prefix.

+

A tool function to help when using a custom name generator to generative valid names for collada names and id's.

+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
virtual bool irr::scene::IColladaMeshWriter::writeScene (io::IWriteFilefile,
scene::ISceneNoderoot 
) [pure virtual]
+
+
+ +

writes a scene starting with the given node

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