Click or drag to resize

Internal.Assimp.Configs Namespace

 
Classes
 ClassDescription
Public classACEvaluateSubdivisionConfig Configures whether the AC loader evaluates subdivision surfaces (indicated by the presence of the 'subdiv' attribute in the file). By default, Assimp performs the subdivision using the standard Catmull-Clark algorithm. The default value is true.
Public classACSeparateBackfaceCullConfig Configures the AC loader to collect all surfaces which have the "Backface cull" flag set in separate meshes. The default value is true.
Public classAnimationAccuracyConfig Configuration for the FindInvalidData step that specifies the floating point accuracy for animation values, specifically the episilon during comparisons. The default value is 0.0f.
Public classAppScaleConfig Applies an application-specific scaling to the GlobalScaleConfig to allow for backwards compatibility. Default is 1.0.
Public classASEReconstructNormalsConfig Configures the ASE loader to always reconstruct normal vectors basing on the smoothing groups loaded from the file. Some ASE files carry invalid normals, others don't. The default value is true.
Public classBooleanPropertyConfig Describes a boolean configuration property.
Public classColladaIgnoreUpDirectionConfig Specifies whether the collada loader will ignore the up direction. Default is false.
Public classColladaUseColladaNamesConfig Specifies whether the Collada loader should use Collada names as node names. If this property is set to true, the Collada names will be used as the node name. The behavior is to use the id tag (resp. sid tag, if no id tag is present) instead. Default is false.
Public classDeboneAllOrNoneConfig Configuration that requires all bones to qualify for deboning before any are removed.
Public classDeboneThresholdConfig Configures the Debone threshold that is used to determine what bones are removed.
Public classExportPointCloudsConfig Specifies if the export process should disable a validation step that would remove data that does not contain faces. This will enable point cloud data to be exported, since the 3D data is a collection of vertices without face data.
Public classFavorSpeedConfig Configuration that is a hint to Assimp to favor speed against import quality. Enabling this option may result in faster loading, or it may not. It is just a hint to loaders and post-process steps to use faster code paths if possible. The default value is false.
Public classFBXConvertToMetersConfig Specifies whether the importer shall convert the unit from centimeter (cm) to meter (m). Default value is false.
Public classFBXIgnoreUpDirectionConfig Specifies whether the importer should ignore the embedded axis directions in the FBX file and load it as is. Default value is false.
Public classFBXImportAllGeometryLayersConfig Specifies whether the FBX importer will merge all geometry layers present in the source file or import only the first. Default is true.
Public classFBXImportAllMaterialsConfig Specifies whether the FBX importer will import all materials present in the source file or take only the referenced materials, if the importer is configured to import materials at all. Otherwise this will have no effect. Default is false.
Public classFBXImportAnimationsConfig Specifies whether the FBX importer will import animations. Default is true.
Public classFBXImportCamerasConfig Specifies whether the FBX importer will import cameras. Default is true.
Public classFBXImportEmbeddedTexturesConfig Specifies whether the FBX importer will import embedded textures. Default is true.
Public classFBXImportEmbeddedTexturesLegacyNamingConfig Specifies if the FBX importer should search for embedded loaded textures, where no embedded texture data is provided. Default is false.
Public classFBXImportLightsConfig Specifies whether the FBX importer will import lights. Default is true.
Public classFBXImportMaterialsConfig Specifies whether the FBX importer will import materials. Default is true.
Public classFBXOptimizeEmptyAnimationCurvesConfig Specifies whether the importer will drop empty animation curves or animation curves which match the bind pose transformation over their entire defined range. Default value is true.
Public classFBXPreservePivotsConfig Specifies whether the FBX importer will preserve pivot points for transformations (as extra nodes). If set to false, pivots and offsets will be evaluated whenever possible. Default value is true.
Public classFBXStrictModeConfig Specifies whether the FBX importer will act in strict mode in which only the FBX 2013 format is supported and any other sub formats are rejected. FBX 2013 is the primary target for the importer, so this format is best supported and well-tested. Default is false.
Public classFloatPropertyConfig Describes a float configuration property.
Public classGlobalKeyFrameImportConfig Sets the vertex animation keyframe to be imported. Assimp does not support vertex keyframes (only bone animation is supported). the library reads only one keyframe with vertex animations. By default this is the first frame. This config sets the "global" keyframe that will be imported. There are other configs for specific importers that will override the global setting.
Public classGlobalScaleConfig Configures the GlobalScale step to scale the entire scene by a certain amount. Some importers provide a mechanism to define a scaling unit for the model, which this processing step can utilize. Default is 1.0.
Public classIFCCylindricalTessellationConfig Specifies the tessellation for IFC cylindrical shapes. E.g. the number of segments used to approximate a circle. Accepted range of values is between [3, 180].
Public classIFCSkipSpaceRepresentationsConfig Specifies whether the IFC loader skips over IfcSpace elements. IfcSpace elements (and their geometric representations) are used to represent free space in a building story.
Public classIFCSmoothingAngleConfig Specifies the tessellation conic angle for IFC smoothing curves. Accepted range of values is between [5, 120]
Public classIFCUseCustomTriangulationConfig Specifies whether the IFC loader will use its own, custom triangulation algorithm to triangulate wall and floor meshes. If this is set to false, walls will be either triangulated by the post process triangulation or will be passed through as huge polygons with faked holes (e.g. holes that are connected with the outer boundary using a dummy edge). It is highly recommended to leave this property set to true as the default post process has some known issues with these kind of polygons.
Public classIgnoreTextureCoordinatesConfig Configuration for the FindInvalidData step. Set to true to ignore texture coordinates. This may be useful if you have to assign different kinds of textures, like seasonally variable ones - one for summer and one for winter. Default is false.
Public classIntegerPropertyConfig Describes an integer configuration property.
Public classIRRAnimationFrameRateConfig Defines the output frame rate of the IRR loader.

IRR animations are difficult to convert for Assimp and there will always be a loss of quality. This setting defines how many keys per second are returned by the converter.

The default value is 100 frames per second.
Public classKeepSceneHierarchyConfig Configuration for the PreTransformVertices step to keep the scene hierarchy. Meshes are moved to worldspace, but no optimization is performed where meshes with the same materials are not joined. This option can be useful if you have a scene hierarchy that contains important additional information which you intend to parse. The default value is false.
Public classLWOImportOneLayerConfig Configures the LWO loader to load just one layer from the model.

LWO files consist of layers and in some cases it could be useful to load only one of them. This property can be either a string - which specifies the name of the layer - or an integer - the index of the layer. If the property is not set then the whole LWO model is loaded. Loading fails if the requested layer is not vailable. The layer index is zero-based and the layer name may not be empty

The default value is false (all layers are loaded).
Public classLWSAnimationEndConfig Defines the ending of the time range for which the LWS loader evaluates animations and computes AiNodeAnim's. The default value is the one taken from the file

Assimp provides full conversion of Lightwave's envelope system, including pre and post conditions. The loader computes linearly subsampled animation channels with the frame rate given in the LWS file. This property defines the end time.

Animation channels are only generated if a node has at least one envelope with more than one key assigned. This property is given in frames where '0' is the first. By default, if this property is not set, the importer takes the animation end from the input LWS file.

Public classLWSAnimationStartConfig Defines the beginning of the time range for which the LWS loader evaluates animations and computes AiNodeAnim's. The default value is the one taken from the file.

Assimp provides full conversion of Lightwave's envelope system, including pre and post conditions. The loader computes linearly subsampled animation channels with the frame rate given in the LWS file. This property defines the start time.

Animation channels are only generated if a node has at least one envelope with more than one key assigned. This property is given in frames where '0' is the first. By default, if this property is not set, the importer takes the animation start from the input LWS file ('FirstFrame' line)

Public classMaterialExcludeListConfig Configuration for the the RemoveRedundantMaterials step to determine what materials to keep. If a material matches one of these names it will not be modified or removed by the post processing step. Default is an empty string.
Public classMatrixPropertyConfig Describes a Matrix4x4 configuration property.
Public classMaxBoneCountConfig Configures the maximum bone count per mesh for the SplitByBoneCount step. Meshes are split until the maximum number of bones is reached.
Public classMD2KeyFrameImportConfig Sets the vertex animation keyframe to be imported. Assimp does not support vertex keyframes (only bone animation is supported). the library reads only one keyframe with vertex animations. By default this is the first frame. This config sets the global override for the MD2 format.
Public classMD3HandleMultiPartConfig Configures the M3D loader to detect and process multi-part Quake player models. These models usually consit of three files, lower.md3, upper.md3 and head.md3. If this propery is set to true, Assimp will try to load and combine all three files if one of them is loaded. The default value is true.
Public classMD3KeyFrameImportConfig Sets the vertex animation keyframe to be imported. Assimp does not support vertex keyframes (only bone animation is supported). the library reads only one keyframe with vertex animations. By default this is the first frame. This config sets the global override for the MD3 format.
Public classMD3ShaderSourceConfig Specifies the Quake 3 shader file to be used for a particular MD3 file. This can be a full path or relative to where all MD3 shaders reside. the default string value is an empty string.
Public classMD3SkinNameConfig Tells the MD3 loader which skin files to load. When loading MD3 files, Assimp checks whether a file named "md3_file_name"_"skin_name".skin exists. These files are used by Quake III to be able to assign different skins (e.g. red and blue team) to models. 'default', 'red', 'blue' are typical skin names. The default string value is "default".
Public classMD5NoAnimationAutoLoadConfig Configures the MD5 loader to not load the MD5ANIM file for a MD5MESH file automatically. The default value is false.

The default strategy is to look for a file with the same name but with the MD5ANIm extension in the same directory. If it is found it is loaded and combined with the MD5MESH file. This configuration option can be used to disable this behavior.

Public classMDLColorMapConfig Configuration to set the colormap (palette) to be used to decode embedded textures in MDL (Quake or 3DG5) files. This must be a valid path to a file. The file is 768 (256 * 3) bytes alrge and contains RGB triplets for each of the 256 palette entries. If the file is not found, a default palette (from Quake 1) is used. The default value is "colormap.lmp".
Public classMDLKeyFrameImportConfig Sets the vertex animation keyframe to be imported. Assimp does not support vertex keyframes (only bone animation is supported). the library reads only one keyframe with vertex animations. By default this is the first frame. This config sets the global override for the MDL format.
Public classMeasureTimeConfig Configuration to enable time measurements. If enabled, each part of the loading process is timed and logged. Default value is false.
Public classMeshTriangleLimitConfig Configuration for the SplitLargeMeshes step that specifies the maximum number of triangles a mesh can contain. The default value is MeshTriangleLimitConfigDefaultValue.
Public classMeshVertexLimitConfig Configuration for the SplitLargeMeshes step that specifies the maximum number of vertices a mesh can contain. The default value is MeshVertexLimitConfigDefaultValue.
Public classMultithreadingConfig Configuration to set Assimp's multithreading policy. Possible values are -1 to let Assimp decide, 0 to disable multithreading, or any number larger than zero to force a specific number of threads. This is only a hint and may be ignored by Assimp. Default value is -1.
Public classNodeExcludeListConfig Configuration for the OptimizeGraph step to preserve nodes matching a name in the given list. Nodes that match the names in the list will not be modified or removed. Identifiers containing whitespaces must be enclosed in single quotation marks. The default value is an empty string.
Public classNormalizeVertexComponentsConfig Configuration for the PreTransformVertices step to normalize all vertex components into the -1...1 range. The default value is false.
Public classNormalSmoothingAngleConfig Configuration to set the maximum angle between two face normals at a vertex when they are smoothed during the step to calculate smooth normals. This is frequently called the "crease angle". The maximum and default value is 175 degrees.
Public classNoSkeletonMeshesConfig Global setting to disable generation of skeleton dummy meshes. These are generated as a visualization aid in cases which the input data contains no geometry, but only animation data. So the geometry are visualizing the bones. Default value is false.
Public classOgreMaterialFileConfig The Ogre importer will try to load this MaterialFile. Ogre meshes reference with material names, this does not tell Assimp where the file is located. Assimp will try to find the source file in the following order: [material-name].material, [mesh-filename-base].material, and lastly the material name defined by this config property. The default value is "Scene.Material".
Public classOgreTextureTypeFromFilenameConfig The Ogre importer will detect the texture usage from the filename. Normally a texture is loaded as a color map, if no target is specified in the material file. If this is enabled, then Assimp will try to detect the type from the texture filename postfix:
  • Normal Maps: _n, _nrm, _nrml, _normal, _normals, _normalmap
  • Specular Maps: _s, _spec, _specular, _specularmap
  • Light Maps: _l, _light, _lightmap, _occ, _occlusion
  • Displacement Maps: _dis, _displacement
The matching is case insensitive. Postfix is taken between the last "_" and last ".". The default behavior is to detect type from lower cased texture unit name by matching against: normalmap, specularmap, lightmap, and displacementmap. For both cases if no match is found then, Diffuse is used. The default value is false.
Public classPropertyConfig Base property config.
Public classRemoveComponentConfig Configuration for the RemoveComponent step that specifies which parts of the data structure is to be removed. If no valid mesh remains after the step, the import fails. The default value i None.
Public classRemoveDegeneratePrimitivesCheckAreaConfig Configuration for the FindDegenerates step. If true, the area of the triangles are checked to see if they are greater than 1e-6. If so, the triangle is removed if RemoveDegeneratePrimitivesConfig is set to true.
Public classRemoveDegeneratePrimitivesConfig Configuration for the FindDegenerates step to remove degenerted primitives from the import immediately. The default value is false, where degenerated triangles are converted to lines, and degenerated lines to points.
Public classRemoveEmptyBonesConfig Specifies whether the importer removes empty bones or not. Empty bones are often used to define connections for other models (e.g. attachment points). Default value is true.
Public classRootTransformationConfig Configuration for PreTransformVertices that sets a user defined matrix as the scene root node transformation before transforming vertices. Default value is the identity matrix.
Public classSMDKeyFrameImportConfig Sets the vertex animation keyframe to be imported. Assimp does not support vertex keyframes (only bone animation is supported). the library reads only one keyframe with vertex animations. By default this is the first frame. This config sets the global override for the SMD format.
Public classSmdLoadAnimationListConfig Specifies whether the importer will load multiple animations. Default value is true.
Public classSortByPrimitiveTypeConfig Configuration for the SortByPrimitiveType step that specifies which primitive types are to be removed by the step. Specifying all primitive types is illegal. The default value is zero specifying none.
Public classStringPropertyConfig Describes a string configuration property.
Public classTangentSmoothingAngleConfig Configuration to set the maximum angle that may be between two vertex tangents/bitangents when they are smoothed during the step to calculate the tangent basis. The default value is 45 degrees.
Public classTangentTextureChannelIndexConfig Configures which texture channel is used for tangent space computations. The channel must exist or an error will be raised.
Public classTerragenComputeTexCoordsConfig Configures the terragen import plugin to compute UV's for terrains, if they are not given. Furthermore, a default texture is assigned. The default value is false.

UV coordinates for terrains are so simple to compute that you'll usually want to compute them on your own, if you need them. This option is intended for model viewers which want to offer an easy way to apply textures to terrains.

Public classTransformUVConfig Configuration for the TransformUVCoords step that specifies which UV transformations are to be evaluated. The default value is for all combinations (scaling, rotation, translation).
Public classUnrealHandleFlagsConfig Configures the UNREAL 3D loader to separate faces with different surface flags (e.g. two-sided vs single-sided). The default value is true.
Public classUnrealKeyFrameImportConfig Sets the vertex animation keyframe to be imported. Assimp does not support vertex keyframes (only bone animation is supported). the library reads only one keyframe with vertex animations. By default this is the first frame. This config sets the global override for the Unreal format.
Public classVertexBoneWeightLimitConfig Configuration for the LimitBoneWeights step that specifies the maximum number of bone weights per vertex. The default value is VertexBoneWeightLimitConfigDefaultValue.
Public classVertexCacheSizeConfig Configuration for the ImproveCacheLocality step that specifies the size of the post-transform vertex cache. The size is given in number of vertices and the default value is VertexCacheSizeConfigDefaultValue.
Public classXFileUseDoublesConfig Specifies if the X-file exporter should use 64-bit doubles rather than 32-bit floats.