aiConfig.h File Reference

Defines constants for configurable properties for the library. More...


Enumerations

enum  aiComponent {
  aiComponent_NORMALS = 0x2u, aiComponent_TANGENTS_AND_BITANGENTS = 0x4u, aiComponent_COLORS = 0x8, aiComponent_TEXCOORDS = 0x10,
  aiComponent_BONEWEIGHTS = 0x20, aiComponent_ANIMATIONS = 0x40, aiComponent_TEXTURES = 0x80, aiComponent_LIGHTS = 0x100,
  aiComponent_CAMERAS = 0x200, aiComponent_MESHES = 0x400, aiComponent_MATERIALS = 0x800, _aiComponent_Force32Bit = 0x9fffffff
}
 Enumerates components of the aiScene and aiMesh data structures that can be excluded from the import using the aiPrpcess_RemoveComponent step. More...


Detailed Description

Defines constants for configurable properties for the library.

Typically these properties are set via Assimp::Importer::SetPropertyFloat, Assimp::Importer::SetPropertyInteger or Assimp::Importer::SetPropertyString, depending on the data type of a property. All properties have a default value. See the doc for the mentioned methods for more details.



The corresponding functions for use with the plain-c API are: aiSetImportPropertyInteger, aiSetImportPropertyFloat, aiSetImportPropertyString


Enumeration Type Documentation

Enumerates components of the aiScene and aiMesh data structures that can be excluded from the import using the aiPrpcess_RemoveComponent step.

See the documentation to aiProcess_RemoveComponent for more details.

Enumerator:
aiComponent_NORMALS  Normal vectors.
aiComponent_TANGENTS_AND_BITANGENTS  Tangents and bitangents go always together .

..

aiComponent_COLORS  ALL color sets Use aiComponent_COLORn(N) to specify the N'th set.
aiComponent_TEXCOORDS  ALL texture UV sets aiComponent_TEXCOORDn(N) to specify the N'th set.
aiComponent_BONEWEIGHTS  Removes all bone weights from all meshes.

The scenegraph nodes corresponding to the bones are NOT removed. use the aiProcess_OptimizeGraph step to do this

aiComponent_ANIMATIONS  Removes all node animations (aiScene::mAnimations).

The corresponding scenegraph nodes are NOT removed. use the aiProcess_OptimizeGraph step to do this

aiComponent_TEXTURES  Removes all embedded textures (aiScene::mTextures).
aiComponent_LIGHTS  Removes all light sources (aiScene::mLights).

The corresponding scenegraph nodes are NOT removed. use the aiProcess_OptimizeGraph step to do this

aiComponent_CAMERAS  Removes all light sources (aiScene::mCameras).

The corresponding scenegraph nodes are NOT removed. use the aiProcess_OptimizeGraph step to do this

aiComponent_MESHES  Removes all meshes (aiScene::mMeshes).

aiComponent_MATERIALS  Removes all materials.

One default material will be generated, so aiScene::mNumMaterials will be 1.

_aiComponent_Force32Bit  This value is not used.

It is just there to force the compiler to map this enum to a 32 Bit integer.


Generated on Sat Apr 17 18:41:24 2010 for Assimp by  doxygen 1.5.8