Class MDLColorMapConfig
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".
Inherited Members
Namespace: SharpAssimp.Configs
Assembly: SharpAssimp.dll
Syntax
public sealed class MDLColorMapConfig : StringPropertyConfig
Constructors
| Edit this page View SourceMDLColorMapConfig(string)
Constructs a new MDLColorMapConfig.
Declaration
public MDLColorMapConfig(string fileName)
Parameters
Type | Name | Description |
---|---|---|
string | fileName | Colormap filename |
Properties
| Edit this page View SourceMDLColorMapConfigName
Gets the string name used by MDLColorMapConfig.
Declaration
public static string MDLColorMapConfigName { get; }
Property Value
Type | Description |
---|---|
string |