Class OgreMaterialFileConfig
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".
Inherited Members
Namespace: SharpAssimp.Configs
Assembly: SharpAssimp.dll
Syntax
public sealed class OgreMaterialFileConfig : StringPropertyConfig
Constructors
| Edit this page View SourceOgreMaterialFileConfig(string)
Constructs a new OgreMaterialFileConfig.
Declaration
public OgreMaterialFileConfig(string materialFileName)
Parameters
Type | Name | Description |
---|---|---|
string | materialFileName | Material file name to load. |
Properties
| Edit this page View SourceOgreMaterialFileConfigName
Gets the string name used by OgreMaterialFileConfig.
Declaration
public static string OgreMaterialFileConfigName { get; }
Property Value
Type | Description |
---|---|
string |