Click or drag to resize

OgreTextureTypeFromFilenameConfig Class

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.
Inheritance Hierarchy
SystemObject
  Internal.Assimp.ConfigsPropertyConfig
    Internal.Assimp.ConfigsBooleanPropertyConfig
      Internal.Assimp.ConfigsOgreTextureTypeFromFilenameConfig

Namespace: Internal.Assimp.Configs
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public sealed class OgreTextureTypeFromFilenameConfig : BooleanPropertyConfig

The OgreTextureTypeFromFilenameConfig type exposes the following members.

Constructors
 NameDescription
Public methodOgreTextureTypeFromFilenameConfig Constructs a new OgreTextureTypeFromFilenameConfig.
Top
Properties
 NameDescription
Public propertyDefaultValue Gets the default property value.
(Inherited from BooleanPropertyConfig)
Public propertyName Gets the property name.
(Inherited from PropertyConfig)
Public propertyStatic memberOgreTextureTypeFromFilenameConfigName Gets the string name used by OgreTextureTypeFromFilenameConfig.
Public propertyValue Gets the property value.
(Inherited from BooleanPropertyConfig)
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodSetDefaultValue Sets the current value to the default value.
(Inherited from BooleanPropertyConfig)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also